samd: Three small changes.#12212
Conversation
Making it compatible to the other ports. Signed-off-by: robert-hh <[email protected]>
Enabling Pin.cpu by default only for SAMD51. Enabling Pin.board by default for both SAMD21 and SAMD51. Saves ~650 bytes for SAMD21. Signed-off-by: robert-hh <[email protected]>
- Rename make-pins-table.py to make-pins.py - Name the input arguments --board-csv, --af-csv and --output-source. - Use matching names for the internal symbols. Signed-off-by: robert-hh <[email protected]>
|
I have implemented make-pins.py for SAMD (using the common boardgen library) in #12211 (including the reordering of pins.csv and some other changes). I'm not sure we should remove Pin.cpu... or if we do we should consider doing it for all ports. The code size reduction is definitely worth considering though. |
Not only that. You digged up quite a bit of the code, which was grown over time and may have needed some clean-up. I made a trial build for a SAMD51 board and noticed, that the the element |
|
Closing, because the changes were incorporated in PR #12211. |
Uh oh!
There was an error while loading. Please reload this page.