Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ESP8266_RTOS_SDK bulid configuration #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

QB4-dev
Copy link

@QB4-dev QB4-dev commented Mar 5, 2021

Hello.
This is default configuration for https://github.com/espressif/ESP8266_RTOS_SDK
I am using this config to craete spiffs images for ESP8266

@TranPhucVinh
Copy link

TranPhucVinh commented Nov 20, 2021

Thanks @QB4-dev, that works perfectly. I'm now able to flash the binary file built from mkspiffs ESP8266 RTOS SDK to ESP8266 board. Here are my steps:

With partitions.csv:

# Name,   Type, SubType, Offset,  Size, Flags
# Note: if you change the phy_init or app partition offset, make sure to change the offset in Kconfig.projbuild
nvs,      data, nvs,     0x9000,  0x6000,
phy_init, data, phy,     0xf000,  0x1000,
factory,  app,  factory, 0x10000, 0xF0000,
storage,  data, spiffs,  0x210000, 1M,

Run this command to generate bin file data_output from all files inside folder data:

./mkspiffs -c data/ -b 4096 -p 256 -s 0x100000 data_output

Then flash

esptool.py -p /dev/ttyUSB0 write_flash 0x210000 data_output

All file inside folder data now can be read and written with ESP8266 RTOS SDK.

@WicherW WicherW mentioned this pull request Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants