Skip to content

Commit

Permalink
[stable1.12] Port m bit hw fixes (#6100)
Browse files Browse the repository at this point in the history
* enable n4 hardware (#6090)

* port hardware options to targetconfig (#6089)

* port hardware options to targetconfig

* add variant for micro:bit shield entries, reorder based off usage

* add image for rpi 2040 entry (#6091)
  • Loading branch information
jwunderl authored Oct 5, 2023
1 parent 5867343 commit d00078d
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 2 deletions.
Binary file added docs/static/hardware/rpi-pico.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 0 additions & 1 deletion libs/hw---n4/pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"DEVICE_WEBUSB": 0
}
},
"experimentalHw": true,
"dalDTS": {
"corePackage": "../core---nrf52"
}
Expand Down
3 changes: 2 additions & 1 deletion libs/hw---rp2040/pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"name": "R2",
"description": "Board based on Raspberry Pi RP2040",
"learnMoreUrl": "https://arcade.makecode.com/hardware#r2",
"cardType": "hw"
"cardType": "hw",
"imageUrl": "/static/hardware/rpi-pico.jpg"
},
"compileServiceVariant": "rp2040",
"cppDependencies": {
Expand Down
1 change: 1 addition & 0 deletions pxtarget.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
"base": [
"libs/hw",
"libs/hw---n3",
"libs/hw---n4",
"libs/hw---samd51",
"libs/hw---stm32f401"
],
Expand Down
93 changes: 93 additions & 0 deletions targetconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,99 @@
}
]
},
"hardwareOptions": [
{
"name": "Meowbit",
"description": "A retro game console for STEM education from Kittenbot team",
"imageUrl": "/static/hardware/meowbit.png",
"url": "https://www.kittenbot.cc/collections/frontpage/products/meowbit-codable-console-for-microsoft-makecode-arcade",
"variant": "hw---stm32f401"
},
{
"name": "Retro Arcade for Education",
"description": "The Retro has a big screen, colorful protective case, d-pad and vibration motor",
"imageUrl": "/static/hardware/elecfreaksarcade.jpg",
"url": "https://shop.elecfreaks.com/products/elecfreaks-retro-makecode-arcade-for-education",
"variant": "hw---stm32f401"
},
{
"name": "TinkerGen GameGo",
"description": "A fun-sized console to play the games you code.",
"imageUrl": "/static/hardware/gamego.jpg",
"url": "https://www.tinkergen.com/gamego",
"variant": "hw---stm32f401"
},
{
"name": "Kitronik ARCADE",
"description": "ARCADE is a programmable gamepad for use with MakeCode Arcade.",
"imageUrl": "/static/hardware/kitronik.jpg",
"url": "https://www.kitronik.co.uk/arcade",
"variant": "hw---samd51"
},
{
"name": "Adafruit PyBadge",
"description": "It's a badge, it's an arcade, it's a PyBadge",
"imageUrl": "/static/hardware/pybadge.jpg",
"url": "https://www.adafruit.com/product/4200",
"variant": "hw---samd51"
},
{
"name": "BrainPad Arcade",
"description": "Learn how BrainPad Arcade lets you run games on a small handheld console.",
"imageUrl": "/static/hardware/ghiarcade.jpg",
"url": "https://brainpad.com/arcade",
"variant": "hw---stm32f401"
},
{
"name": "Adafruit PyGamer",
"description": "The upgraded PyBadge",
"imageUrl": "/static/hardware/pygamer.jpg",
"url": "https://www.adafruit.com/product/4242",
"variant": "hw---samd51"
},
{
"name": "Ovobot Xtron Pro",
"description": "A programmable modular console to create games, design wearables and make creative projects.",
"imageUrl": "/static/hardware/xtronpro.png",
"url": "https://www.ovobot.cc/en/product/detail/xtron-pro/",
"variant": "hw---stm32f401"
},
{
"name": "Adafruit EdgeBadge",
"description": "It's the PyBadge with a zest of Machine learning",
"imageUrl": "/static/hardware/edgebadge.jpg",
"url": "https://www.adafruit.com/product/4400",
"variant": "hw---samd51"
},
{
"name": "Adafruit M4",
"description": "Learn how to run your games on micro-controllers from Adafruit",
"imageUrl": "/static/hardware/adafruitm4.jpg",
"url": "https://learn.adafruit.com/makecode-arcade-m4",
"variant": "hw---samd51"
},
{
"name": "micro:bit Newbit Shield",
"description": "Use the micro:bit with an expansion board from Kittenbot",
"imageUrl": "/static/hardware/newbit.png",
"url": "https://www.kittenbot.cc/products/newbit-arcade-shield",
"variant": "hw---n4"
},
{
"name": "micro:bit Retro Shield",
"description": "Use the micro:bit with an expansion board from Elecfreaks",
"imageUrl": "/static/hardware/retro-shield.jpg",
"url": "https://shop.elecfreaks.com/products/micro-bit-retro-programming-arcade",
"variant": "hw---n4"
},
{
"name": "micro:bit Game:Bit Shield",
"description": "Use the micro:bit with an expansion board from iCShop",
"imageUrl": "/static/hardware/bit-shield.png",
"url": "https://www.icshop.com.tw/products/368112100137",
"variant": "hw---n4"
}
],
"galleries": {
"Skillmaps": "skillmaps",
"Tutorials": "tutorials",
Expand Down

0 comments on commit d00078d

Please sign in to comment.