micropython/ports/rp2/boards/WEACTSTUDIO
Jim Mussared 45845acf6d rp2: Use uppercase variant names.
This is to support a future change to add the variant name to the build
directory and therefore should be the same style as the board name.

This only affects the WEACTSTUDIO board. Also standardises on a convention
for naming flash-size variants. Normally we would write e.g. 2MiB, but in
uppercase, it's awkward to write 2MIB, so instead use 2M, 512K, etc for
variant names, but use 2MiB when not constrained by case (e.g. a regular
filename).

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-08-23 13:54:37 +10:00
..
modules rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
README.md rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
board.json rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
deploy.md rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
manifest.py rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
mpconfigboard.cmake rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
mpconfigboard.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
pins.csv rp2/boards: Add pin CSV files to board definitions. 2023-01-16 11:44:28 +11:00
weactstudio_2MiB.h rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
weactstudio_4MiB.h rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
weactstudio_8MiB.h rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
weactstudio_16MiB.h rp2: Use uppercase variant names. 2023-08-23 13:54:37 +10:00
weactstudio_common.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00

README.md

WeAct Studio RP2040

The WeAct Studio RP2040 Board is based on the Raspberry Pi RP2040 and can be purchased with 2/4/8/16 MiB of flash.

These boards are available from a number of resellers and often have the name "Pico Board RP2040". WeAct maintain the WeActStudio.RP2040CoreBoard repository containing information on the board.

Build notes

By default the firmware supports boards with 16MiB flash. This can be configured using the BOARD_VARIANT parameter. The valid options are FLASH_2M, 'FLASH_4M', and 'FLASH_8M'.

> cd ports/rp2
> make BOARD=WEACTSTUDIO BOARD_VARIANT=FLASH_8M submodules all  # Build the 8 MiB variant

Board-specific modules

The board module contains definitions for the onboard LED and user button.

Example:

> import board
> board.led.toggle()  # Toggles the state of the on-board LED
> board.key.value()  # Returns 0 or 1 corresponding to the state of the user key