Firmware buffers 200-byte chunks into 4 KiB blocks for esp_ota_write; goTool uploads with per-block ACK flow control and larger UART buffers to avoid stalls. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
306 B
C
18 lines
306 B
C
#ifndef APP_CONFIG_H
|
|
#define APP_CONFIG_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
#define APP_RUNNING_PARTITION_LABEL_MAX 17
|
|
|
|
typedef struct {
|
|
bool master;
|
|
uint8_t network;
|
|
char running_partition[APP_RUNNING_PARTITION_LABEL_MAX];
|
|
} app_config_t;
|
|
|
|
const app_config_t *app_config_get(void);
|
|
|
|
#endif
|