Skip to content

Commit d07db5a

Browse files
committed
Derp
1 parent 72acd8f commit d07db5a

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/platform/esp32/MeshtasticOTA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#include "MeshtasticOTA.h"
22
#include "configuration.h"
3-
#ifdef ARCH_ESP32
3+
#ifdef ESP_PLATFORM
44
#include <Preferences.h>
55
#include <esp_ota_ops.h>
66
#endif

src/platform/esp32/MeshtasticOTA.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include "mesh-pb-constants.h"
55
#include <Arduino.h>
6-
#ifdef ARCH_ESP32
6+
#ifdef ESP_PLATFORM
77
#include <esp_ota_ops.h>
88
#endif
99

variants/esp32c6/m5stack_unitc6l/platformio.ini

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ custom_meshtastic_tags = M5Stack
1010

1111
extends = esp32c6_base
1212
board = esp32-c6-devkitc-1
13+
board_upload.flash_size = 16MB
14+
board_build.partitions = default_16MB.csv
1315
;OpenOCD flash method
1416
;upload_protocol = esp-builtin
1517
;Normal method

0 commit comments

Comments
 (0)