Skip to content

Commit 0dd25a3

Browse files
committed
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 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]>
1 parent 95c19e0 commit 0dd25a3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ports/rp2/boards/WEACTSTUDIO/board.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
"product": "WeAct Studio RP2040",
1616
"url": "https://github.com/WeActTC/WeActStudio.RP2040CoreBoard",
1717
"variants": {
18-
"FLASH_2MB": "2 MiB Flash",
19-
"FLASH_4MB": "4 MiB Flash",
20-
"FLASH_8MB": "8 MiB Flash"
18+
"FLASH_2M": "2 MiB Flash",
19+
"FLASH_4M": "4 MiB Flash",
20+
"FLASH_8M": "8 MiB Flash"
2121
},
2222
"vendor": "WeAct"
2323
}

0 commit comments

Comments
 (0)