Thundercat
Well-known member
Hi all,
I've got a weird one - I'm just trying to export a compiled binary, and there's no error messages shown, but "exit status 1", and no compiled binary appears.
If I just try to compile with the check mark, it compiles fine, no exit 1 code. In fact I can also upload to a Teensy 4.0 no problem, and it flashes fine.
I just can't export the compiled binary.
Here's the exact error message:
This has occurred with the sketch getting larger, and I had to change from the "Faster" compilation to "Fast" or the code wouldn't fit.
Any ideas how I can chase this down, with no error messages?
Oh, I should mention if it's relevant, if I try to compile with the "Fast with LTO" option, I do get an error about having changed a name, but I don't think it's a blocking error:
Thanks for any insights.
Mike
I've got a weird one - I'm just trying to export a compiled binary, and there's no error messages shown, but "exit status 1", and no compiled binary appears.
If I just try to compile with the check mark, it compiles fine, no exit 1 code. In fact I can also upload to a Teensy 4.0 no problem, and it flashes fine.
I just can't export the compiled binary.
Here's the exact error message:
Code:
Memory Usage on Teensy 4.0:
FLASH: code:395052, data:1619176, headers:9192 free for files:8196
RAM1: variables:49504, code:392852, padding:364 free for local variables:81568
RAM2: variables:31008 free for malloc/new:493280
exit status 1
Compilation error: exit status 1
This has occurred with the sketch getting larger, and I had to change from the "Faster" compilation to "Fast" or the code wouldn't fit.
Any ideas how I can chase this down, with no error messages?
Oh, I should mention if it's relevant, if I try to compile with the "Fast with LTO" option, I do get an error about having changed a name, but I don't think it's a blocking error:
Code:
/Users/Mikey/Library/Arduino15/packages/teensy/hardware/avr/1.59.0/cores/teensy4/usb_desc.c:2724:44: warning: size of 'usb_string_product_name' differ from the size of original declaration [-Wlto-type-mismatch]
2724 | extern struct usb_string_descriptor_struct usb_string_product_name
| ^
/Users/Mikey/Documents/Arduino/Fader_Pro_Premium_V6_00/name.c:15:37: note: 'usb_string_product_name' was previously declared here
15 | struct usb_string_descriptor_struct usb_string_product_name = {
| ^
Memory Usage on Teensy 4.0:
FLASH: code:379952, data:1618128, headers:8956 free for files:24580
RAM1: variables:48512, code:377972, padding:15244 free for local variables:82560
RAM2: variables:31008 free for malloc/new:493280
Thanks for any insights.
Mike