I am using the platform xdot_l151cc and trying to include a lib:
build_flags = -L./lib -lxDot-GCC_ARM
This lib is from the mBed site and it compiles and works fine in the online compiler. But, once I add it to pio:
bin/ld: .pioenvs/xdot_l151cc/firmware.elf section
.text' will not fit in regionFLASH’
bin/ld: region `FLASH’ overflowed by 25720 bytes
It doesn’t seem to be stripping anything. I added a extra_scripts.py
That doesnt seem to change anything.