Replies: 4 comments 4 replies
-
We discussed this here as well: https://forums.adafruit.com/viewtopic.php?p=1042733#p1042733 Were you able to try gcc 13.2.1? |
Beta Was this translation helpful? Give feedback.
-
Not yet. I use homebrew. So not straightforward, at least for me. lol. |
Beta Was this translation helpful? Give feedback.
-
The compiler error may indeed indicate a problem with the |
Beta Was this translation helpful? Give feedback.
-
Interesting result... downloaded and installed the 13.2.1 tool chain. building with 13.2.1.... √ 15:59:mike@MACBookPro22 atmel-samd gmake -j BOARD=feather_m0_rfm9x
185228 bytes used, 2932 bytes free in flash firmware space out of 188160 bytes (183.75kB). Converted to uf2, output size: 370688, start address: 0x2000 |
Beta Was this translation helpful? Give feedback.
-
I don't know if this is the correct place to post this, so apologies up front....
I am attempting to build the latest version of circuit python for the feather_m0_rfm9x board and I get an error message that seems to point to tinyusb...
I am using a current version of the arm-none-eabi compiler that is producing a cryptic error message... I have pulled the latest version for tinyusb into the build.
Any guidance would be appreciated on where to go next...
X2 12:52:mike@MACBookPro22 atmel-samd gmake BOARD=feather_m0_rfm9x
make V=...
or env var BUILD_VERBOSEMKMANIFEST ../../frozen/Adafruit_CircuitPython_RFM9x
In function 'proc_write10_new_data',
inlined from 'mscd_xfer_cb' at ../../lib/tinyusb/src/class/msc/msc_device.c:460:9:
../../lib/tinyusb/src/class/msc/msc_device.c:840:9: error: 'memmove' reading 1 or more bytes from a region of size 0 [-Werror=stringop-overread]
840 | memmove(_mscd_epbuf.buf, _mscd_epbuf.buf + nbytes, left_over);
| ^
../../lib/tinyusb/src/class/msc/msc_device.c: In function 'mscd_xfer_cb':
../../lib/tinyusb/src/class/msc/msc_device.c:79:3: note: at offset 512 into source object '_mscd_epbuf' of size 512
79 | } _mscd_epbuf;
| ^
lto1: all warnings being treated as errors
make[1]: *** [/var/folders/8r/n7d2n0d95q18cdr9nlv_7r540000gn/T//ccChUvDK.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/Applications/ArmGNUToolchain/14.2.rel1/arm-none-eabi/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
gmake: *** [Makefile:358: build-feather_m0_rfm9x/firmware.elf] Error 1
Beta Was this translation helpful? Give feedback.
All reactions