mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-23 05:21:44 +00:00
The section is NOLOAD and startup_CH56x.S zeroes it, so an object placed there WITH an initialiser silently loses it: the bytes never reach the .bin and the zero-fill runs over them, with no diagnostic from the compiler, linker or objcopy. That is reachable by ordinary code because CFG_TUSB_MEM_SECTION is defined to .dmadata for this family. Nothing currently relies on an initialiser there, so this documents the contract rather than changing behaviour, and drops the AT>FLASH load region, which is meaningless for a section that is never loaded (the ELF now reports LMA == VMA instead of a flash address).