Okay, it seems extern after the first code is just no possible anymore some.c uint8_t my_var; bad.S (linking fails with "Duplicate symbol" error) MY_CODE code extern _my_var iorwf _my_var, w .. good.S (linking fails with "Duplicate symbol" error) extern _my_var MY_CODE code iorwf _my_var, w .. Maybe it was just working by accident until now (- ~2y)..
Hello Everyone, After a long time (>2y) I tried to compile my old USB bootloader code again, but it always fails with "Duplicate symbol" errors for all the goto functions. My boot_goto_table looks like this, all the functions are defined in different c-files #pragma code boot_goto_table 0x1c void boot_goto_table(void) __naked { __asm extern _do_something .. goto _do_something .. __endasm; } Can someone please point me in the right direction? Cheers, Oli PS: I am using the official release binary...
Hello Everyone, After a long time (>2y) I tried to compile my old USB bootloader code again, but it always fails with "Duplicate symbol" errors for all the goto functions. My boot_goto_table looks like this, all the functions are defined in different c-files #pragma code boot_goto_table 0x1c void boot_goto_table(void) __naked { __asm extern _do_something .. goto _do_something .. __endasm; } Can someone please point me in the right direction? Cheers, Oli
Cool, thanks a lot!
Windows 8/8.1 support
wrong position of banksel