diff options
| author | Damien George <damien@micropython.org> | 2024-06-28 22:32:11 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-06-28 22:48:46 +1000 |
| commit | 0dd25a369e70118829b3f176151c50440286e3fe (patch) | |
| tree | fe36b32c662892907786f69b8f2394baa34b4a87 | |
| parent | 95c19e05ffd204f8f375b6e04e4ae45770ec0dbc (diff) | |
rp2/boards/WEACTSTUDIO: Fix variant names in board.json.
It looks like the variants for this board were never being built properly,
because the auto-build system used the variant name from `board.json` which
did not match the variant names in the original `mpconfigboard.mk`. Eg
`FLASH_2MB` in `board.json` but `FLASH_2M` in `mpconfigboard.mk`.
This mistake is apparent since 5dff78f38edc0354e854e6c73af61c5064afe9d3,
which made it a build error to specify an invalid variant.
Fix this by using the correct variant names in `board.json`.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/rp2/boards/WEACTSTUDIO/board.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ports/rp2/boards/WEACTSTUDIO/board.json b/ports/rp2/boards/WEACTSTUDIO/board.json index 223bbdc07..8881b40e7 100644 --- a/ports/rp2/boards/WEACTSTUDIO/board.json +++ b/ports/rp2/boards/WEACTSTUDIO/board.json @@ -15,9 +15,9 @@ "product": "WeAct Studio RP2040", "url": "https://github.com/WeActTC/WeActStudio.RP2040CoreBoard", "variants": { - "FLASH_2MB": "2 MiB Flash", - "FLASH_4MB": "4 MiB Flash", - "FLASH_8MB": "8 MiB Flash" + "FLASH_2M": "2 MiB Flash", + "FLASH_4M": "4 MiB Flash", + "FLASH_8M": "8 MiB Flash" }, "vendor": "WeAct" } |
