Arduino IDE is still open source. They're saying "Our 20-year commitment to open-source is unwavering".
https://blog.arduino.cc/2025/11/21/the-arduino-terms-of-service-and-privacy-policy-update-setting-the-record-straight/
I believe Arduino is...
This is a very interesting discussion, I think it's possibly time to add my 2p (2¢ or equivalent in your local currency...)
I think there's another point missing here, which strikes to the heart of the issue:
3) any code, whether foreground or...
How do you get double? Ken's is $5.95 assembled, whereas Sparkfun is $6.95 (board $4.95, ribbon cable $1.50, 2x3 header $0.50). The mounting holes are a nice addition.
@Rezo I confirmed the allocations in PSRAM with sm_malloc_stats_pool(). Now it should be worth a try in your project. It would be great if it helps with your project. :)
It is ok to ask for better bags for ESD protection.
But be consistant. At home, who use antistatic carpet, wear antistatic shoes, antistatic bracelet connected to antistatic mat on the desk ???? ;)
SparkFun uses a machine to automate the bagging process. I'm pretty sure they use the same pink material for all their other products. Whether their equipment can use the metalized ESD shielding material, I'm not sure. I'll ask next time we...
Is it possible to track memory allocated by extmem_malloc?
I have allocated 1024 bytes with EXTMEM and 1024 bytes with extmem_malloc in setup, but I only get 1024 from "_extram_end - _extram_start".
Thanks for hints in advance. (:
Hello,
I am working on a library for SQLite for Teensy (Arduino), see this thread. I added the ability for SQLite to use extmem. SQLite needs to know the size of allocations. I use the following call to get the size...
I created a new repository, because I switched (sometime ago) from Platform IO to Visual Micro, here is the repo.
I think I got SQLite to allocate on EXTMEM. By printing memory info (like this, see MemoryInfo.hpp/.cpp in repo) I see no...
I tried to implement EXTMEM support today. I can init SQLite, but got a crash at the first SQL statement execution. I will continue my effort at the weekend.
I did not test either yours nor mine. Just used your code as starting point. Think your version won't work. My version could work, but I do not have a Teensy at hand at the moment. Maybe I can test it tomorrow.
That is my first attempt, though not tested.
sqlite3_use_extmem() must be called before T41SQLite::getInstance().begin(...)! (If this works, I will integrate sqlite3_use_extmem() as opt-in into begin().)
#include "Arduino.h" // for: Teensy...
Looks like we have to supply this struct with "extmem functions" and set it as the current allocation interface for SQLite. xMalloc, xFree and xRealloc should be set to the extmem variants, but I do not know to what we should set the other...
Main display is now ALIVE!
Powered by a Devboard v5, an 800x480px IPS display at 16 bit color depth, capacitive touch screen
PCM5102A DAC
And an Adafruit backlight driver hotwired as my original design has some flaws in the driver components...
If you want to look into, before I have time to do it, you could start here: https://sqlite.org/malloc.html
There they explain, how to add custom allocators for SQLite. We should be able to supply the custom allocators with the extmen allocators.
At the moment it is not possible. But I have planned to add this feature.
Maybe I will have time to look into this. Some day I want to explore SQLite on Teensy more and refactor/rewrite my SQLite port. Then I will add extmen support.
The reality of today's situation doesn't neatly fit into a simple Yes-No / True-False answer.
But at least business-wise the answer is simple. PJRC isn't financially connected with Arduino. PJRC is owned entirely by me & Robin.
Today our only...
Exactly, it doesn't take much to see that the MPU has no open code now and doesn't look like it will in the future.
The linked datasheet is just electrical specifications, not a programming guide with register descriptions and such.
Qualcomm's...
I'm trying to keep an open mind about Arduino's future, but it's not so easy with a company like Qualcomm.
Until just a couple weeks ago, I was feeling... well, going to hold my tongue.
Good news is SparkFun made huge improvements starting...
Done some work on this, and it appears a limited version of the pre-fetch code could be used to get a 7% speed improvement even with the ISSI chip. The original PSRAM can get to 15% faster, so maybe detection at startup would be the way to go...
I've used std::function (and lambdas) extensively with Teensy 4.x and Teensyduino 1.59+ (which enabled C++17 for Teensy 3.x/4.x), it should work fine as long as dynamic memory is supported.
AFAIK the Arduino platform requires yield(), so any...
I commented out the "wfi" statement used for CORE_TEENSY as shown below, and the Blink example now runs correctly. I assume this means the processor spins in an idle task rather than actually sleeping. With this change, the Blink example runs...
I cannot test the library immediately but want to try it next week.
I have seen the define _TASK_SLEEP_ON_IDLE_RUN in the example code, you could comment out the line with this define and try the blink example again, if you want to.
Thanks for your response!
I will make a PR for TaskScheduler with the define TEENSYDUINO. I think use of this define here is appropriate and the easiest opposed to defines like ARDUINO_TEENSY41 and so on...
Hello,
I would like to use the library TaskScheduler in my project, but I think the library could support Teensyduino better.
I would like to make a PR for the library, but beforehand I would like to ask for advice:
The library supports...