File tree Expand file tree Collapse file tree 3 files changed +214
-354
lines changed
m5stack/components/m5things Expand file tree Collapse file tree 3 files changed +214
-354
lines changed Original file line number Diff line number Diff line change 1
- ## M5Things
1
+ ## M5Things
2
+
3
+ 1 . res.json 增加 ** domain** 字段,云项目的文件是 ** "domain":"project"** ,用户通过文件管理器上传的文件是 ** "domain":"user"** .
Original file line number Diff line number Diff line change 24
24
#include "extmod/vfs_lfs.h"
25
25
#include "lib/littlefs/lfs2.h"
26
26
27
+ /** configurations */
28
+ #define M5THINGS_MQTT_RECONNECT_WAIT_MS (15000)
29
+ #define M5THINGS_MQTT_PING_REPORT_INTERVAL_US (30 * 1000 * 1000) // 30 seconds
30
+ /** configurations */
31
+
27
32
#define OTA_UPDATE_FILE_NAME "main_ota_temp.py" // Fixed name!!!
28
33
29
34
#define M5THINGS_OTA_TOPIC_TEMPLATE \
30
35
"$m5/uiflow/v1/%s/%02x%02x%02x%02x%02x%02x/%s"
31
36
32
- #define FILE_RECORD_PATH "res/res.json"
37
+ #define FILE_RECORD_PATH "/flash/ res/res.json"
33
38
34
39
#define BOOT_OPT_NOTHING 0 // Run main.py(after download code to device set to this)
35
40
#define BOOT_OPT_MENU_NET 1 // Show startup menu and network setup
You can’t perform that action at this time.
0 commit comments