devanlai / dapboot

DFU Bootloader for STM32 chips
Other
339 stars 111 forks source link

l1: avoid warnings on "abuse" of .data subsections #29

Closed karlp closed 4 years ago

karlp commented 4 years ago

Somewhere, gcc probably has a footnote about how .data* is treated specially, but I can't find it. Introduce a special section that doesn't start with .data and presto, the assembler warnings go away.

anyway, this fixes the warnings...

devanlai commented 4 years ago

Looks good to me, thanks!