Closed drewhamiltonasdf closed 1 year ago
I solved this by changing the compiler in platform.txt following the same procedure laid out here: https://github.com/patrickmoffitt/Adafruit-Feather-M0-Motion-Camera
Changing: ${INSTALL_FOLDER}/Arduino15/packages/adafruit/hardware/samd/1.2.1/platform.txt
Locate this line:
compiler.c.elf.cmd=arm-none-eabi-gcc
Change the line to:
compiler.c.elf.cmd=arm-none-eabi-g++
I'm trying to port some MsgPacketizer based code over for a Adafruit Feather type board based using the nrF52 chips, and I am getting quite a few compile errors. If I #define ARDUINO_ARCH_SAMD, I get past the pgmspace errors, but I end up with a whole load of errors along the lines of undefined reference to `std::_Rb_tree_decrement(std::_Rb_tree_node_base*)'
This looks like a standard library issue. Wondering if you could shed any light on this and save me a bit of time reworking things. This library is so incredibly useful, I'd be willing to put a little elbow grease in to make it compatible.
Thanks! Drew Hamilton