PaulStoffregen
Well-known member
EDIT: quick recap from msg #24: working to solve these 3 issues:
1: Clear & easy to understand documentation is needed
2: Arduino's size info doesn't fit the memory model
3: PROGMEM can't be used for both code & data in the same file
-------------------------------
I've added a "Memory Layout" section to the Teensy 4.0 product page.
I tried to explain it from the programming point of view, with some notes near the end about the hardware considerations. I mentioned the DMA issues briefly, but I'm feeling like DMA usage wants to be another page (and those words will become a link to it).
I shied away from discussing the low-level details of FlexRAM config, other than mentioning 32K round up and small unused space. Hopefully emphasizing how you actually use the memory from code, and de-emphasizing the hardware config, will help the most people?
Please let me know what you think?
1: Clear & easy to understand documentation is needed
2: Arduino's size info doesn't fit the memory model
3: PROGMEM can't be used for both code & data in the same file
-------------------------------
I've added a "Memory Layout" section to the Teensy 4.0 product page.
I tried to explain it from the programming point of view, with some notes near the end about the hardware considerations. I mentioned the DMA issues briefly, but I'm feeling like DMA usage wants to be another page (and those words will become a link to it).
I shied away from discussing the low-level details of FlexRAM config, other than mentioning 32K round up and small unused space. Hopefully emphasizing how you actually use the memory from code, and de-emphasizing the hardware config, will help the most people?
Please let me know what you think?
Last edited by a moderator: