circuitpython/ports/rp2/boards/WEACTSTUDIO
iabdalkader d02f089058 rp2/boards: Add pin CSV files to board definitions.
Pin defines are:
- For Pico define board pins and the default LED pin (WL_GPIO25).
- For Pico-W define board pins, external pins and the default
  LED pin (WL_GPIO0).
- For the Nano-RP2040, define board pins, external pins and
  the default LED pin (GPIO25)
- For all other boards, the pins.csv defines the LED pin (if any)
  for backwards compatibility with code that assumes there's always
  an LED pin.
2023-01-16 11:44:28 +11:00
..
modules rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
board.json rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +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/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +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
README.md rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
weactstudio_2mb.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
weactstudio_4mb.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
weactstudio_8mb.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
weactstudio_16mb.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00
weactstudio_common.h rp2/boards/WEACTSTUDIO: Add WEACTSTUDIO with multiple variants. 2022-09-26 12:40:14 +10:00

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