mirror of
https://github.com/cesanta/mongoose.git
synced 2026-12-04 21:58:22 +00:00
Add initial LFS support for IMXRT
This commit is contained in:
1 parent
f3189519d8
commit
cdd6681f40
5 files changed
+114
-8
No files matched your search
@@ -3,6 +3,12 @@
|
||||
#define MG_ENABLE_TCPIP 1
|
||||
#define MG_ENABLE_DRIVER_NETC 1
|
||||
#define MG_OTA MG_OTA_RT1180
|
||||
|
||||
#define MG_ENABLE_LFS 1
|
||||
#define MG_LFS_SIZE (128 * 1024) // Multiple of the 4 KiB flash sector size
|
||||
#define MG_LFS_BUF_SIZE 256 // Match the RT1180 flash write alignment
|
||||
// LittleFS shares the OTA staging area; files may be lost after an update.
|
||||
|
||||
// Keep the Mongoose PHY address aligned with NETC switch link binding
|
||||
#include "board_config.h"
|
||||
#define MG_TCPIP_PHY_ADDR BOARD_ETH_PHY_ADDR
|
||||
|
||||
Reference in new issue
Block a user