mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
The vendor and product fields in the `board.json` files were somewhat
inconsistent. Remove any duplication of the vendor name in the product
field so that `f"{vendor} {product}"` reads well.
In addition to that, update most of the URL's for `board.json` files that
are modified here, and match case and spacing used by the manufacturers for
the vendor and product names.
Signed-off-by: Matt Trentini <matt.trentini@gmail.com>
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