-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Closed as not planned
Labels
Area: LibrariesIssue is related to Library support.Issue is related to Library support.Chip: ESP32-C3Issue is related to support of ESP32-C3 ChipIssue is related to support of ESP32-C3 ChipResolution: ExpiredMore info wasn't providedMore info wasn't provided
Description
Board
ESP32 C3
Device Description
Lolin ESP32 C3 Mini
Hardware Configuration
No
Version
latest master
IDE Name
PlatformIO
Operating System
Mac OS
Flash frequency
40MHz
PSRAM enabled
yes
Upload speed
921600
Description
When compiling missing some definition of XTOS_DISABLE_ALL_INTERRUPTS
or XTOS_RESTORE_INTLEVEL
it's defined for ESP32, ESP32-S2 and ESP32-S3 in xtruntime.h
but can't find them for C3
Sketch
void setup() {
XTOS_DISABLE_ALL_INTERRUPTS;
}
Debug Message
Compiling /Users/charles/piobuild/esp32-c3-mini/src/test.ino.cpp.o
/Users/charles/Library/CloudStorage/OneDrive-Personnel/devt/esp32/_Tests/test_pio/src/test.ino: In function 'void setup()':
/Users/charles/Library/CloudStorage/OneDrive-Personnel/devt/esp32/_Tests/test_pio/src/test.ino:5:3: error: 'XTOS_DISABLE_ALL_INTERRUPTS' was not declared in this scope
XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/charles/Library/CloudStorage/OneDrive-Personnel/devt/esp32/_Tests/test_pio/src/test.ino:5:3: note: suggested alternative: 'taskDISABLE_INTERRUPTS'
XTOS_DISABLE_ALL_INTERRUPTS;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
taskDISABLE_INTERRUPTS
*** [/Users/charles/piobuild/esp32-c3-mini/src/test.ino.cpp.o] Error 1
============================================================ [FAILED] Took 1.00 seconds
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
- I confirm I have checked existing issues, online documentation and Troubleshooting guide.
Metadata
Metadata
Assignees
Labels
Area: LibrariesIssue is related to Library support.Issue is related to Library support.Chip: ESP32-C3Issue is related to support of ESP32-C3 ChipIssue is related to support of ESP32-C3 ChipResolution: ExpiredMore info wasn't providedMore info wasn't provided