biemster / st17h66_blinky

Minimal code to blink the LED on Lenze st17h66 based tags
6 stars 1 forks source link

Implement jump_table and global_config #1

Closed biemster closed 1 year ago

biemster commented 1 year ago

Commit fff5e68 introduced the jump table and the global config. It turned out that using the proper way, with reserving space in memory in the linker script and main.c just added zeros to the hex file. Writing directly to memory using JUMPTABLE_BASE_ADDR and CONFIG_BASE_ADDR has the same effect (at least for the jump table), so the lines generating the extra zeros are commented out for now. I need to investigate if this hacky way is actually working as intended, otherwise revert to the proper way.

biemster commented 1 year ago

seems to work properly