Prep ESP32S2

This commit is contained in:
Theo Arends 2021-02-03 15:42:47 +01:00
parent 91cec3cb46
commit e0711567a4
4 changed files with 13 additions and 7 deletions

View File

@ -2,7 +2,7 @@
#define RECITERTABS_H #define RECITERTABS_H
#include <pgmspace.h> #include <pgmspace.h>
#include "debug.h" #include "samdebug.h"
#if sam_debug #if sam_debug
#define PROGMEM #define PROGMEM
#endif #endif

View File

@ -2,7 +2,7 @@
#include <string.h> // strlen() #include <string.h> // strlen()
//#include <stdlib.h> //#include <stdlib.h>
#include <stddef.h> // define NULL #include <stddef.h> // define NULL
#include "debug.h" #include "samdebug.h"
#include "sam.h" #include "sam.h"
#include "render.h" #include "render.h"
#include "SamTabs.h" #include "SamTabs.h"

View File

@ -16,6 +16,7 @@
// limitations under the License. // limitations under the License.
#if defined(ARDUINO_ARCH_ESP32) #if defined(ARDUINO_ARCH_ESP32)
#if CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
@ -494,5 +495,5 @@ size_t i2sWrite(uint8_t bus_num, uint8_t* data, size_t len, bool copy, bool free
return index; return index;
} }
#endif // CONFIG_IDF_TARGET_ESP32 // ESP32/PICO-D4
#endif #endif

View File

@ -182,6 +182,11 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
platformio/tool-esptoolpy @ ~1.30000.0 platformio/tool-esptoolpy @ ~1.30000.0
build_unflags = ${esp32_defaults.build_unflags} build_unflags = ${esp32_defaults.build_unflags}
build_flags = ${common32.build_flags} build_flags = ${common32.build_flags}
lib_ignore =
cc1101
NimBLE-Arduino
Micro-RTSP
ESP32 Ethernet
; *** Debug version used for PlatformIO Home Project Inspection ; *** Debug version used for PlatformIO Home Project Inspection
[env:tasmota-debug] [env:tasmota-debug]