Browse Source

increased partition size

wifitest
phail 4 years ago
parent
commit
d8a981d9fc
  1. 2
      include/config.h
  2. 1
      include/serialbridge.h
  3. 7
      min_spiffs.csv
  4. 4
      platformio.ini

2
include/config.h

@ -10,7 +10,7 @@ extern bool debug;
#define BLE
//#define WIFI
#define WIFI
#ifdef WIFI
/*********************************************************************/
/****************************** Wifi *********************************/

1
include/serialbridge.h

@ -19,6 +19,7 @@
void setupSerialbridge();
void setupOTA();
void bridge();
void ota();
extern uint8_t buf1[NUM_COM][bufferSize];
extern uint16_t i1[NUM_COM];

7
min_spiffs.csv

@ -0,0 +1,7 @@
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x1E0000,
app1, app, ota_1, 0x1F0000,0x1E0000,
eeprom, data, 0x99, 0x3F0000,0x1000,
spiffs, data, spiffs, 0x3F1000,0xF000,
1 # Name Type SubType Offset Size Flags
2 nvs data nvs 0x9000 0x5000
3 otadata data ota 0xe000 0x2000
4 app0 app ota_0 0x10000 0x1E0000
5 app1 app ota_1 0x1F0000 0x1E0000
6 eeprom data 0x99 0x3F0000 0x1000
7 spiffs data spiffs 0x3F1000 0xF000

4
platformio.ini

@ -15,7 +15,9 @@ board = nodemcu-32s
;board = featheresp32
framework = arduino
board_build.partitions = min_spiffs.csv
monitor_speed = 115000
upload_port = 192.168.4.1
;upload_port = 192.168.4.1
build_flags =
-Iinclude

Loading…
Cancel
Save