Using ESPFS_POS in espFsInit in user_main.c
This commit is contained in:
+3
-3
@@ -79,9 +79,9 @@ void user_init(void) {
|
||||
stdoutInit();
|
||||
ioInit();
|
||||
|
||||
// 0x40200000 is the base address for spi flash memory mapping, 0x12000 is the position
|
||||
// where image is written in flash
|
||||
espFsInit((void*)(0x40200000 + 0x12000));
|
||||
// 0x40200000 is the base address for spi flash memory mapping, ESPFS_POS is the position
|
||||
// where image is written in flash that is defined in Makefile.
|
||||
espFsInit((void*)(0x40200000 + ESPFS_POS));
|
||||
httpdInit(builtInUrls, 80);
|
||||
os_printf("\nReady\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user