Skip to content

Debug tracing menu items not shown for NodeMCU board #1969

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

Closed
innesm opened this issue Apr 24, 2016 · 8 comments
Closed

Debug tracing menu items not shown for NodeMCU board #1969

innesm opened this issue Apr 24, 2016 · 8 comments

Comments

@innesm
Copy link

innesm commented Apr 24, 2016

If NodeMCU board is selected in the IDE, no debug menus (for configuring debug serial output) are shown.

Hardware

Hardware: NodeMCP v1.0
Core Version: latest esp8266 from github?

Description

The required menu defs are just missing from the NodeMCU section of boards.txt. It was possible to get these added with some copy and pasting.

Settings in IDE

Module: NodeMCU v1.0

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@tkerby
Copy link

tkerby commented Jan 30, 2017

Likewise for the Wemos boards

@davisonja
Copy link

davisonja commented Jan 31, 2017 via email

@igrr
Copy link
Member

igrr commented Jan 31, 2017

Generating boards.txt during build phase (i.e. building boards manager package or bootstrapping a version cloned from git) is the way to go, I think. This also dovetails with your suggestion to keep all flash geometry info in boards.txt. Maybe we can keep it in the linker scripts, and generate boards.txt automatically? Or have another file with all the flash sizes data and generate boards.txt and linker scripts from it.

@davisonja
Copy link

davisonja commented Jan 31, 2017 via email

@igrr
Copy link
Member

igrr commented Jan 31, 2017

We already employ some amount of Python (tools/get.py, and the unit test runner), so writing this in Python wouldn't add more dependencies.

Another possibile option is to define all the input data in XML and use a couple of XSLT scripts to generate boards.txt and linker script files. I can't immediately tell if this will work well as I don't remember if it is possible to do the equivalent of nested loops in XSLT.

@davisonja
Copy link

davisonja commented Jan 31, 2017 via email

@igrr
Copy link
Member

igrr commented Jan 31, 2017

This script would allow us to handle both the linker scripts issue and this one, so I would vote for writing the script. In the past, we had some bugs due to incomplete/inconsistent updates to boards.txt, and such a script could help as well. It will also make adding new options and boards easier.
Input data for this script can also be given directly in Python source code, to avoid defining another format, parsing it, and so on.

@devyte
Copy link
Collaborator

devyte commented Oct 17, 2017

The Menus are undergoing a full rework, which is tracked in #3582 . Closing.

@devyte devyte closed this as completed Oct 17, 2017
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

5 participants