Skip to content

new board definition #8986

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

Open
mr-sm1th opened this issue Sep 9, 2023 · 3 comments
Open

new board definition #8986

mr-sm1th opened this issue Sep 9, 2023 · 3 comments

Comments

@mr-sm1th
Copy link

mr-sm1th commented Sep 9, 2023

new board definition for the boards.txt.py to support ESP-07 - didnt work out how to build it yet - so untested


( 'nodemcu7', {
    'name': 'NodeMCU 0.7 (ESP-07 Module)',
    'opts': {
        '.build.board': 'ESP8266_NODEMCU_ESP07',
        '.build.variant': 'nodemcu7',
        },
    'macro': [
        'resetmethod_nodemcu',
        'flashmode_qio',
        'flashfreq_40',
        '1M', '16M',
        'led216',
        ],
    'desc': [ 'LED is on GPIO2',
              ],
}),

@d-a-v
Copy link
Collaborator

d-a-v commented Sep 11, 2023

You must read tools/boards.txt.py

@mr-sm1th
Copy link
Author

thanks - i did,
got it to build with slight changes - still not 100% clear though - it's like something is being cached so changes arent always being mirrored in the boards.txt
very infuriating.

the biggest problem is a lot of people change the flash on the modules and the board definitions all have fixed size.
and the generic option just breaks most projects because something isnt defined - i think i²c.

@d-a-v
Copy link
Collaborator

d-a-v commented Nov 4, 2023

We tried to do our best with the board definition.
You can try and make a very generic board with

  • flashmode as "dout" which is the most compatible.
  • option "flashsize" set to experimental "Mapping defined by Hardware and Sketch" as default helps when flash chip size are unknown in advance.

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

No branches or pull requests

2 participants