_UART_USB undefined in one memory configuration for Giga R1

I am working with a Giga R1 WiFi board using Arduino IDE 2.3.6 on Windows 11.

I'm getting undefined references to _UART_USB when attempting to build the following sketch, but only when building for M7 and only when the memory is configured for 1.5MB for M7, 0.5MB for M4:

void setup() {
  Serial.begin(9600);
}

void loop() {
}

The error message is

C:\Users\james\AppData\Local\arduino\sketches\79A517882582C2CD13D5B0648DF7D94D\sketch\sketch_may19a.ino.cpp.o: In function `setup':
C:\Users\james\AppData\Local\Temp\.arduinoIDE-unsaved2025419-27076-5o8nx0.afh8v\sketch_may19a/sketch_may19a.ino:2: undefined reference to `_UART_USB_'
collect2.exe: error: ld returned 1 exit status
exit status 1

Compilation error: exit status 1

Building for M4 or for M7 with other configurations of the flash memory works fine.

I've just recently switched to IDE 2.3.6 from 2.3.5, but I'm not sure I can pin this problem on the new IDE; in any case, I've been working with code that's built for the two cores for a while now with no problems.

Thanks in advance for any help with this (I'd like to use that 1.5/0.5 flash configuration, but 1.0/1.0 would likely be alright).

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.