-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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
boards generator: updates #5103
Conversation
d-a-v
commented
Sep 3, 2018
•
edited
Loading
edited
- simplified mapping description: only flash and spiffs sizes
- flash description - almost no more magic len or addresses
- some ldscripts are renamed due to autogenerated names
- verbose when generating
-
- 2M / no spiffs
-
- 2M / 512K spiffs
-
- 4M / no spiffs
* simplified mapping description: only flash and spiffs sizes * flash description - almost no more magic len or addresses * some ldscripts are renamed due to autogenerated names * + 2M / no spiffs * + 2M / 512K spiffs
To try this PR, |
tools/boards.txt.py
Outdated
( '.menu.CpuFrequency.80.build.f_cpu', '80000000L' ), | ||
( '.menu.CpuFrequency.160', '160 MHz' ), | ||
( '.menu.CpuFrequency.160.build.f_cpu', '160000000L' ), | ||
( '.menu.cpuHz.80', '80 MHz' ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that if you change names here, you also need to update
Lines 47 to 55 in c33ef89
cmd += '-fqbn=esp8266com:esp8266:{board_name}:' \ | |
'CpuFrequency={cpu_freq},' \ | |
'FlashFreq={flash_freq},' \ | |
'FlashMode={flash_mode},' \ | |
'UploadSpeed=921600,' \ | |
'FlashSize={flash_size},' \ | |
'ResetMethod=nodemcu'.format(**vars(args)) | |
if args.debug_port and args.debug_level: | |
cmd += 'Debug={debug_port},DebugLevel={debug_level}'.format(**vars(args)) |
tools/boards.txt.py
Outdated
# | flash | reserved | empty | spiffs | eeprom | rf | ||
|
||
eeprom_size_kb = 4 | ||
rf_size_kb = 16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rfcal (4kB) + sdk (wifi) settings (12kB)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Just merged new flash layout: esp8266/Arduino#5103 So as a test, using the staged version.