8000 rp2/boards: Rename Wavgat to WeAct. · micropython/micropython@47d4267 · GitHub
[go: up one dir, main page]

Skip to content

Commit 47d4267

Browse files
committed
rp2/boards: Rename Wavgat to WeAct.
1 parent 10428f6 commit 47d4267

File tree

10 files changed

+27
-23
lines changed

10 files changed

+27
-23
lines changed

ports/rp2/boards/WAVGAT_16MB/README.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

ports/rp2/boards/WAVGAT_16MB/mpconfigboard.h

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# WeAct Studio RP2040
2+
The WeAct Studio RP2040 Board is based on the Raspberry Pi RP2040 and can be
3+
purchased with 2/4/8/16 MB of flash.
4+
5+
These boards are available from a number of resellers and often have the name
6+
"Pico Board RP2040". WeAct maintain the [WeActStudio.RP2040CoreBoard](https://github.com/WeActTC/WeActStudio.RP2040CoreBoard/tree/master)
7+
repository containing information on the board.
8+
9+
## Board-specific modules
10+
The `board` module contains definitions for the onboard LED and user button.
11+
12+
Example:
13+
14+
```python
15+
> import board
16+
> board.led.toggle() # Turns LED on
17+
> board.key.value() # Returns 0 or 1 depending whether the user key is pressed
18+
```

ports/rp2/boards/WAVGAT_16MB/board.json renamed to ports/rp2/boards/WEACTSTUDIO_16MB/board.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"USB-C"
1010
],
1111
"images": [
12-
"wavgat_rp2040.jpg"
12+
"weact_rp2040.jpg"
1313
],
1414
"mcu": "rp2040",
15-
"product": "Pico Board RP2040 (16MiB)",
16-
"url": "https://www.aliexpress.com/item/1005003843712530.html",
17-
"vendor": "Wavgat"
15+
"product": "WeAct RP2040 (16MiB)",
16+
"url": "https://github.com/WeActTC/WeActStudio.RP2040CoreBoard/tree/master",
17+
"vendor": "WeAct"
1818
}

ports/rp2/boards/WAVGAT_16MB/mpconfigboard.cmake renamed to ports/rp2/boards/WEACTSTUDIO_16MB/mpconfigboard.cmake

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
# cmake file for Wavgat Pico 16MB
1+
# cmake file for WeAct Studio RP2040 16MB
22

3-
# The Wavgat boards don't have official pico-sdk support so we define it here.
3+
# The WeAct Studio boards don't have official pico-sdk support so we define it
4+
# here in weactstudio_16mb.h.
45
# See also: https://github.com/raspberrypi/pico-sdk/tree/master/src/boards/include/boards
56
set(PICO_BOARD_HEADER_DIRS ${MICROPY_PORT_DIR}/boards/${MICROPY_BOARD})
67

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#define MICROPY_HW_BOARD_NAME "WeAct Studio RP2040 16MB"
2+
#define MICROPY_HW_FLASH_STORAGE_BYTES (15 * 1024 * 1024)

0 commit comments

Comments
 (0)
0