Skip to content

Commit

Permalink
rp2/boards/WEACTSTUDIO: Fix variant names in board.json.
Browse files Browse the repository at this point in the history
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 5dff78f,
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 <[email protected]>
  • Loading branch information
dpgeorge committed Jun 28, 2024
1 parent 95c19e0 commit 0dd25a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ports/rp2/boards/WEACTSTUDIO/board.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 0dd25a3

Please sign in to comment.