1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-04-22 04:51:20 +02:00

Compare commits

..

3 Commits

Author SHA1 Message Date
chatelao
adb0878b77
Merge 53f598192cdfb7003a118647a1f85acabb9a86c9 into 4e491a1e56b5509db9d00ab63b9a86ba4bd901ca 2024-09-27 07:33:33 +00:00
Harald Barth
4e491a1e56 Typo 2024-06-02 21:17:30 +02:00
Harald Barth
430161ef60 ESP32: Refuse IDF5 2024-06-02 21:14:46 +02:00

View File

@ -76,8 +76,13 @@ int DCCTimer::freeMemory() {
#endif
////////////////////////////////////////////////////////////////////////
#ifdef ARDUINO_ARCH_ESP32
#include "esp_idf_version.h"
#if ESP_IDF_VERSION_MAJOR > 4
#error "DCC-EX does not support compiling with IDF version 5.0 or later. Downgrade your ESP32 library to a version that contains IDF version 4. Arduino ESP32 library 3.0.0 is too new. Use 2.0.9 to 2.0.17"
#endif
#include <driver/adc.h>
#include <soc/sens_reg.h>
#include <soc/sens_struct.h>