diff options
| author | Damien George <damien@micropython.org> | 2025-03-11 13:23:50 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-13 18:30:21 +1100 |
| commit | d5aeca2e83a03657ee2b5b21225d5a10aba10f56 (patch) | |
| tree | 7287e077cb4f597b61f503c6aea85b7c525e8ea1 /ports/esp8266/modesp.c | |
| parent | bf9cdd21891d30807ad6e0e229774d589cd5709f (diff) | |
esp8266: Rename ROMFS partition config variables to include "part0".
For consistency with the stm32 port.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'ports/esp8266/modesp.c')
| -rw-r--r-- | ports/esp8266/modesp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/esp8266/modesp.c b/ports/esp8266/modesp.c index c88022945..e1f9d3968 100644 --- a/ports/esp8266/modesp.c +++ b/ports/esp8266/modesp.c @@ -165,13 +165,13 @@ static MP_DEFINE_CONST_FUN_OBJ_0(esp_flash_size_obj, esp_flash_size); extern byte _firmware_size[]; #if MICROPY_VFS_ROM_IOCTL -extern uint8_t _micropy_hw_romfs_size; +extern uint8_t _micropy_hw_romfs_part0_size; #endif static mp_obj_t esp_flash_user_start(void) { uint32_t flash_user_start = (uint32_t)_firmware_size; #if MICROPY_VFS_ROM_IOCTL - flash_user_start += (uint32_t)&_micropy_hw_romfs_size; + flash_user_start += (uint32_t)&_micropy_hw_romfs_part0_size; #endif return MP_OBJ_NEW_SMALL_INT(flash_user_start); } |
