wearyhacker
Well-known member
The question is in the title.
I have a sketch I am trying to link and upload under platformio using a GNU gcc toolchain. The sketch uses the ArduinoMenu and the Teensy Audio libraries. Building a version of the sketch that only uses one of the two libraries works perfectly. Build with both linked in crashes on upload and needs a full reset of the teensy to get usb conectivity back.
Examining the elf output of the full sketch show that it has a .ARM.exidx (scatter loading) section present that is not present in the working sketches.
This section might be a result of corruption of the ELF file by overflow etc., or it might be valid.
My knowledge of ARM scatter loading is zero!
If the answer to the actual question is yes. Then any further suggestions will be gratefully received.
Roger
I have a sketch I am trying to link and upload under platformio using a GNU gcc toolchain. The sketch uses the ArduinoMenu and the Teensy Audio libraries. Building a version of the sketch that only uses one of the two libraries works perfectly. Build with both linked in crashes on upload and needs a full reset of the teensy to get usb conectivity back.
Examining the elf output of the full sketch show that it has a .ARM.exidx (scatter loading) section present that is not present in the working sketches.
This section might be a result of corruption of the ELF file by overflow etc., or it might be valid.
My knowledge of ARM scatter loading is zero!
If the answer to the actual question is yes. Then any further suggestions will be gratefully received.
Roger