micropython/ports/rp2/boards/WEACTSTUDIO
Jim Mussared 24a6e951ec ports: Simplify board feature tags in board.json.
This commit:
- Finds a common set of board feature tags and maps existing features to
  that reduced set.
- Removes some less-useful board feature tags.
- Ensures all MCUs are specified correctly.
- Ensures all boards have a vendor (and fixes some vendor names).

This is to make the downloads page show a less intimidating set of filters.

Work done in conjunction with Matt Trentini <matt.trentini@gmail.com>.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-08-10 14:54:03 +10:00
..
modules
README.md
board.json
deploy.md
manifest.py
mpconfigboard.cmake
mpconfigboard.h
pins.csv
weactstudio_2mb.h
weactstudio_4mb.h
weactstudio_8mb.h
weactstudio_16mb.h
weactstudio_common.h

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

Builds can be configured with the BOARD_VARIANT parameter. Valid variants can be displayed with the query-variant target. An example:

> cd ports/rp2
> make BOARD=WEACTSTUDIO query-variants
VARIANTS: flash_2mb flash_4mb flash_8mb flash_16mb
> make BOARD=WEACTSTUDIO BOARD_VARIANT=flash_8mb submodules all  # Build the 8 MiB variant

flash_16mb is the default if BOARD_VARIANT is not supplied.

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