-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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 support for the Arduino Nano ESP32 on 3.x branch #8909
Conversation
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.
@pillo79 PTAL on my comments, I have review the board addition part for now.
63b57d1
to
d1c378b
Compare
@P-R-O-C-H-Y thanks for the review notes, I updated the PR accordingly. |
d1c378b
to
5ca0aca
Compare
"touch" would create the file if not present, but not delete its contents if a previous run left the file in the build dir.
"debug.toolchain.prefix" must end with a dash, since only the tool name is appended to this string. The reason this is not a major issue is that the "debug_custom.json" file (copied in the sketch directory when debugging is enabled) forces its own prefix. And to make things more interesting, the "toolchainPrefix" entry in that file should _not_ end with a dash.
5ca0aca
to
ea46fe9
Compare
Added a few missing debug related one-liners that had been already merged in 2.x as part of #8567 and rebased to current |
I see the latest commits in master added a few more perimap-related calls - I will shortly provide an appropriate update to the |
Previously all libraries invoked either high-level APIs (transparently remapped, like the user sketch) or low-level ESP-IDF calls (where the remap to GPIO numbers had to be added manually). Since 3.x, some of these are mixed (for example, periman* APIs are remapped, while soc* are not). This must be handled by disabling the automatic API remapping and making sure all calls use GPIO numbers.
|
@pillo79 Can you please take a look at the function |
@P-R-O-C-H-Y thanks for pointing that out, very useful feature! When pin remapping is active, I have added a separate column with digital pin numbers and tested it formats nicely:
[edit] Force-push made the double column active if the selected board has pin remapping, regardless of the user's choice of numbering, as it's useful in both cases. |
d6a8fa1
to
0d360bd
Compare
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 for adding that :)
This adds pin remapping and support for the Arduino Nano ESP32 board to the master (3.x) branch.