circuitpython/ports/silabs/boards/explorerkit_xg24_brd2703a
Scott Shawcroft 792def24f3
A few silabs improvements
* Fix watchdog code crash.
* Define status LEDs for all boards.
* Add flash target to Makefile.
* Reduce build verbosity.
2023-10-17 11:10:03 -07:00
..
README.md Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874) 2023-04-18 12:42:16 -04:00
board.c Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874) 2023-04-18 12:42:16 -04:00
custom_brd2703a_cp_support.slcc Fix ble bonding fail 2023-05-16 09:46:15 +07:00
mpconfigboard.h A few silabs improvements 2023-10-17 11:10:03 -07:00
mpconfigboard.mk Fix ble bonding fail 2023-05-16 09:46:15 +07:00
pin_functions.csv Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874) 2023-04-18 12:42:16 -04:00
pins.csv Silabs' new Pull Request for submoduling the ports/silabs/tools/slc_cli_linux/ (#7874) 2023-04-18 12:42:16 -04:00

README.md

Gen Pin instructions

Input File

pins.csv : contain pin name, port number ,pin number pin_functions.csv : contain list of pin support for peripheral make_pins.py : python script to gen pin

Run make_pins.py

Copy above input file to folder boards/brd2601b/ Run CMD: $ cd boards/brd2601b/ $ python make_pins.py -s pins.c -e pin_functions.h pins.csv pin_functions.csv

    -s: name/directory of output source file
    -e: name/directory of output header file

Output

pins.c : register pin to board_module_globals_table generate array contains supported function of pin pin_functions.h : define index of functions Example: pin_pa0_functions[FN_EUSART0_RX] == 1 // Can assign pin pa0 for EUSART0_RX pin_pa0_functions[FN_EUSART0_RX] == 255 // Can't assign pin pa0 for EUSART0_RX

Read pin define on REPL

import board dir(board)