#avr Logs

Nov 30 2019

#avr Calendar

11:20 AM Posterdati: hi
11:25 AM Posterdati: please I have a problem compiling a simple test project on stm32f407vgt (stm32f4-discovery revision D). Arrays and structures are not allocated correctly
11:27 AM Maya-sama is now known as Miyu
11:41 AM polprog: can you show us some code?
12:33 PM Posterdati: polprog: now I changed the link script and it fails enter __libc_init_array
12:34 PM Posterdati: seems that inside __libc_init_array it jumps to 0x7fffxxxx which is not in flash memory
12:44 PM Posterdati: seems that __libc_init_array is correctly assembled just seen from the .lst file, but it not corresponds in the flashed .bin
02:18 PM rue_bed2: is the code C?
02:21 PM rue_bed2: ok, well, hmm, I have software slave i2c code to test
03:08 PM polprog: Posterdati: check the linker script
03:08 PM polprog: if its autogenerated, you might have to pass some extra args
03:08 PM polprog: iirc opencm3 uses some python to generate the linker script
03:20 PM Posterdati: rue_bed2: ues, I removed bl __libc_init_array
03:20 PM Posterdati: rue_bed2: and it is working
11:17 PM rue_shop1: hmm
11:18 PM rue_shop1: the breakages in stm32 toolry are interesting
11:18 PM rue_shop1: especially cause everyone insists nothing is broken
11:39 PM day__ is now known as day