Hello
I want to use lua language for teensy to use scripts from sd card. So i use lua libraries.
To use "print" function from lua to Serial in lua libraries used this one
void lua_compat_printf(char *fmt, ... );
void lua_compat_print(const char...
Thank you!!! In Arduino IDE i found the option - Optimize. I set "Smallest code" and got an additional 50KB RAM1. But I am not sure that this will not affect the work of the entire project. Please give an explanation of what this optimization...
One more question, is it possible to use RAM2 for some variables?
for example i have some struct and want to put instance of it to RAM2
struct TTuyaDevice {
byte Type;
String AccessKey;
String SecretKey;
String Category_id;
String...
Thanks a lot for your answer and examples. Of course i tried to make a little examle to reproduce the problem, but everything worked correctly, as in your example. I can`t post my big project, it is very big, with more then 30 files and many...
This is example. I clean all code from setup and loop section. After it i uncomment few strings in setup section and then make 1st screenshot. After it i add FLASHMEM and make 2nd screenshot.
Full project now is on 3rd screenshot.
Hi,
Please explain, how to work with memory on T4.1. I have one big project and suddenly I noticed, that i have very little RAM1. I started experiments on memory optimization, read about memory organization, but some things I can't explain.
I...