Skip to content

Commit

Permalink
ports: Simplify board feature tags in board.json.
Browse files Browse the repository at this point in the history
This commit:
- Finds a common set of board feature tags and maps existing features to
  that reduced set.
- Removes some less-useful board feature tags.
- Ensures all MCUs are specified correctly.
- Ensures all boards have a vendor (and fixes some vendor names).

This is to make the downloads page show a less intimidating set of filters.

Work done in conjunction with Matt Trentini <matt.trentini@gmail.com>.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
  • Loading branch information
jimmo authored and dpgeorge committed Aug 10, 2023
1 parent 4bbe879 commit 24a6e95
Show file tree
Hide file tree
Showing 92 changed files with 279 additions and 313 deletions.
7 changes: 3 additions & 4 deletions ports/cc3200/boards/WIPY/board.json
Expand Up @@ -5,11 +5,10 @@
"docs": "https://docs.pycom.io/datasheets/development/wipy3/",
"features": [
"BLE",
"Breadboard Friendly",
"MicroSD",
"External Flash",
"RGB LED",
"SPI Flash",
"WiFi"
"WiFi",
"microSD"
],
"id": "wipy",
"images": [
Expand Down
5 changes: 3 additions & 2 deletions ports/esp32/boards/ARDUINO_NANO_ESP32/board.json
Expand Up @@ -5,9 +5,10 @@
"docs": "",
"features": [
"BLE",
"WiFi",
"External Flash",
"RGB LED",
"USB-C",
"RGB LED"
"WiFi"
],
"images": [
"ABX00092_01.iso_1000x750.jpg"
Expand Down
3 changes: 2 additions & 1 deletion ports/esp32/boards/ESP32_S2_WROVER/board.json
Expand Up @@ -5,7 +5,8 @@
"docs": "",
"features": [
"BLE",
"SPIRAM",
"External Flash",
"External RAM",
"WiFi"
],
"images": [
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_C3/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32c3",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_C3_USB/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32c3-usb",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_D2WD/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32-d2wd",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_OTA/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32-ota",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_S2/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"images": [
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_S3/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"images": [
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"images": [
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_S3_SPIRAM_OCT/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"images": [
Expand Down
3 changes: 2 additions & 1 deletion ports/esp32/boards/GENERIC_SPIRAM/board.json
Expand Up @@ -5,7 +5,8 @@
"docs": "",
"features": [
"BLE",
"SPIRAM",
"External Flash",
"External RAM",
"WiFi"
],
"id": "esp32spiram",
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/GENERIC_UNICORE/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"WiFi"
],
"id": "esp32-unicore",
Expand Down
5 changes: 3 additions & 2 deletions ports/esp32/boards/LILYGO_TTGO_LORA32/board.json
Expand Up @@ -5,10 +5,11 @@
"docs": "",
"features": [
"BLE",
"Display",
"External Flash",
"LoRa",
"OLED",
"SDCard",
"USB-MICRO",
"USB",
"WiFi"
],
"images": [
Expand Down
1 change: 1 addition & 0 deletions ports/esp32/boards/LOLIN_C3_MINI/board.json
Expand Up @@ -5,6 +5,7 @@
"docs": "",
"features": [
"BLE",
"External Flash",
"USB-C",
"WiFi"
],
Expand Down
3 changes: 2 additions & 1 deletion ports/esp32/boards/LOLIN_S2_MINI/board.json
Expand Up @@ -4,7 +4,8 @@
],
"docs": "",
"features": [
"SPIRAM",
"External Flash",
"External RAM",
"USB-C",
"WiFi"
],
Expand Down
8 changes: 4 additions & 4 deletions ports/esp32/boards/LOLIN_S2_PICO/board.json
Expand Up @@ -4,10 +4,10 @@
],
"docs": "",
"features": [
"Breadboard Friendly",
"OLED",
"SPIRAM",
"STEMMA QT/QWIIC",
"Display",
"External Flash",
"External RAM",
"JST-SH",
"USB-C",
"WiFi"
],
Expand Down
4 changes: 2 additions & 2 deletions ports/esp32/boards/M5STACK_ATOM/board.json
Expand Up @@ -4,9 +4,9 @@
],
"docs": "",
"features": [
"Grove",
"External Flash",
"IMU",
"Infrared",
"JST-PH",
"RGB LED",
"USB-C",
"WiFi"
Expand Down
6 changes: 3 additions & 3 deletions ports/esp32/boards/OLIMEX_ESP32_POE/board.json
Expand Up @@ -5,12 +5,12 @@
"docs": "",
"features": [
"BLE",
"WiFi",
"MicroSD",
"Battery Charging",
"Ethernet",
"External Flash",
"PoE",
"Breadboard friendly"
"WiFi",
"microSD"
],
"images": [
"ESP32-POE-ISO-1.jpg"
Expand Down
3 changes: 2 additions & 1 deletion ports/esp32/boards/SIL_WESP32/board.json
Expand Up @@ -6,6 +6,7 @@
"features": [
"BLE",
"Ethernet",
"External Flash",
"PoE",
"WiFi"
],
Expand All @@ -18,5 +19,5 @@
"product": "SIL WESP32",
"thumbnail": "",
"url": "https://wesp32.com/",
"vendor": "Silicognition LLC"
"vendor": "Silicognition"
}
5 changes: 3 additions & 2 deletions ports/esp32/boards/UM_FEATHERS2/board.json
Expand Up @@ -5,10 +5,11 @@
"docs": "",
"features": [
"Battery Charging",
"External Flash",
"External RAM",
"Feather",
"JST-SH",
"RGB LED",
"SPIRAM",
"STEMMA QT/QWIIC",
"USB-C",
"WiFi"
],
Expand Down
5 changes: 3 additions & 2 deletions ports/esp32/boards/UM_FEATHERS2NEO/board.json
Expand Up @@ -5,10 +5,11 @@
"docs": "",
"features": [
"Battery Charging",
"External Flash",
"External RAM",
"Feather",
"JST-SH",
"RGB LED",
"SPIRAM",
"STEMMA QT/QWIIC",
"USB-C",
"WiFi"
],
Expand Down
14 changes: 7 additions & 7 deletions ports/esp32/boards/UM_FEATHERS3/board.json
Expand Up @@ -4,17 +4,17 @@
],
"docs": "",
"features": [
"BLE",
"Battery Charging",
"External Flash",
"External RAM",
"Feather",
"JST-SH",
"RGB LED",
"SPIRAM",
"USB-C",
"WiFi",
"BLE",
"STEMMA QT/QWIIC",
"Feather"
],
"features_non_filterable": [
"WiFi"
],
"features_non_filterable": [],
"id": "feathers3",
"images": [
"unexpectedmaker_feathers3.jpg"
Expand Down
14 changes: 7 additions & 7 deletions ports/esp32/boards/UM_PROS3/board.json
Expand Up @@ -4,17 +4,17 @@
],
"docs": "",
"features": [
"BLE",
"Battery Charging",
"External Flash",
"External RAM",
"Feather",
"JST-SH",
"RGB LED",
"SPIRAM",
"USB-C",
"WiFi",
"BLE",
"STEMMA QT/QWIIC",
"Feather"
],
"features_non_filterable": [
"WiFi"
],
"features_non_filterable": [],
"id": "pros3",
"images": [
"unexpectedmaker_pros3.jpg"
Expand Down
5 changes: 3 additions & 2 deletions ports/esp32/boards/UM_TINYPICO/board.json
Expand Up @@ -4,10 +4,11 @@
],
"docs": "",
"features": [
"Battery Charging",
"BLE",
"Battery Charging",
"External Flash",
"External RAM",
"RGB LED",
"SPIRAM",
"USB-C",
"WiFi"
],
Expand Down
5 changes: 3 additions & 2 deletions ports/esp32/boards/UM_TINYS2/board.json
Expand Up @@ -5,9 +5,10 @@
"docs": "",
"features": [
"Battery Charging",
"External Flash",
"External RAM",
"JST-SH",
"RGB LED",
"SPIRAM",
"STEMMA QT/QWIIC",
"USB-C",
"WiFi"
],
Expand Down
7 changes: 4 additions & 3 deletions ports/esp32/boards/UM_TINYS3/board.json
Expand Up @@ -4,12 +4,13 @@
],
"docs": "",
"features": [
"BLE",
"Battery Charging",
"External Flash",
"External RAM",
"RGB LED",
"SPIRAM",
"USB-C",
"WiFi",
"BLE"
"WiFi"
],
"features_non_filterable": [
"TinyPICO Compatible"
Expand Down
1 change: 1 addition & 0 deletions ports/esp8266/boards/GENERIC/board.json
Expand Up @@ -4,6 +4,7 @@
],
"docs": "",
"features": [
"External Flash",
"WiFi"
],
"id": "esp8266",
Expand Down
1 change: 1 addition & 0 deletions ports/esp8266/boards/GENERIC_1M/board.json
Expand Up @@ -4,6 +4,7 @@
],
"docs": "",
"features": [
"External Flash",
"WiFi"
],
"id": "esp8266-1m",
Expand Down
1 change: 1 addition & 0 deletions ports/esp8266/boards/GENERIC_512K/board.json
Expand Up @@ -4,6 +4,7 @@
],
"docs": "",
"features": [
"External Flash",
"WiFi"
],
"id": "esp8266-512k",
Expand Down
14 changes: 5 additions & 9 deletions ports/mimxrt/boards/ADAFRUIT_METRO_M7/board.json
Expand Up @@ -4,16 +4,12 @@
],
"docs": "",
"features": [
"USB-C",
"SPI",
"I2C",
"UART",
"BLE",
"External Flash",
"JST-SH",
"RGB LED",
"QSPI Flash",
"QWIIC",
"JLink",
"WiFi",
"BLE"
"USB-C",
"WiFi"
],
"images": [
"Metro_M7.jpg"
Expand Down

0 comments on commit 24a6e95

Please sign in to comment.