2016-03-10 14:01:04 -08:00
|
|
|
{
|
2016-04-04 18:03:52 -07:00
|
|
|
"id": "microbit",
|
2016-10-07 02:53:18 -07:00
|
|
|
"nickname": "microbit",
|
2017-06-13 12:56:55 -07:00
|
|
|
"name": "makecode.microbit.org",
|
|
|
|
"title": "Microsoft MakeCode for micro:bit",
|
|
|
|
"description": "A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.",
|
2016-10-10 16:21:50 -07:00
|
|
|
"corepkg": "core",
|
2016-03-10 14:01:04 -08:00
|
|
|
"bundleddirs": [
|
2016-10-10 16:21:50 -07:00
|
|
|
"libs/core",
|
|
|
|
"libs/radio",
|
|
|
|
"libs/devices",
|
2016-11-30 04:06:15 -08:00
|
|
|
"libs/bluetooth"
|
2016-04-04 18:03:52 -07:00
|
|
|
],
|
|
|
|
"cloud": {
|
|
|
|
"workspace": false,
|
2016-08-09 11:02:23 -07:00
|
|
|
"packages": true,
|
2017-02-03 15:23:46 -08:00
|
|
|
"sharing": true,
|
|
|
|
"publishing": true,
|
2016-08-09 11:02:23 -07:00
|
|
|
"preferredPackages": [
|
2017-03-20 11:37:54 -07:00
|
|
|
"Microsoft/pxt-neopixel"
|
2016-10-07 02:53:18 -07:00
|
|
|
],
|
2016-11-04 11:25:05 -07:00
|
|
|
"githubPackages": true
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
|
|
|
"compile": {
|
|
|
|
"isNative": false,
|
2016-04-08 10:49:43 -07:00
|
|
|
"hasHex": true,
|
2016-07-28 10:22:05 -07:00
|
|
|
"deployDrives": "(MICROBIT|MBED)",
|
2016-06-03 09:47:06 -07:00
|
|
|
"driveName": "MICROBIT",
|
2016-10-10 16:21:50 -07:00
|
|
|
"hexMimeType": "application/x-microbit-hex",
|
2017-01-19 17:24:03 +00:00
|
|
|
"openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]",
|
2016-10-10 16:21:50 -07:00
|
|
|
"upgrades": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"map": {
|
|
|
|
"microbit": "core",
|
|
|
|
"microbit-bluetooth": "bluetooth",
|
|
|
|
"microbit-radio": "radio",
|
|
|
|
"microbit-devices": "devices",
|
|
|
|
"microbit-led": "",
|
|
|
|
"microbit-music": "",
|
|
|
|
"microbit-game": "",
|
|
|
|
"microbit-pins": "",
|
|
|
|
"microbit-serial": ""
|
|
|
|
}
|
2016-10-21 10:49:04 -07:00
|
|
|
},
|
2016-12-12 10:42:02 -08:00
|
|
|
{
|
|
|
|
"type": "missingPackage",
|
|
|
|
"map": {
|
|
|
|
"radio\\s*\\.": "radio",
|
|
|
|
"bluetooth\\s*\\.": "bluetooth",
|
|
|
|
"devices\\s*\\.": "devices"
|
|
|
|
}
|
|
|
|
},
|
2016-10-18 21:36:42 -07:00
|
|
|
{
|
|
|
|
"type": "api",
|
|
|
|
"map": {
|
2016-12-12 10:42:02 -08:00
|
|
|
"bluetooth\\s*\\.uartRead\\s*\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
2017-04-25 10:46:25 -07:00
|
|
|
"bluetooth\\s*\\.uartWrite\\s*\\((.*?)\\)": "bluetooth.uartWriteUntil($1)",
|
|
|
|
"input\\s*\\.calibrate\\s*\\(": "input.calibrateCompass("
|
2016-10-18 21:36:42 -07:00
|
|
|
}
|
2016-12-19 14:09:35 -08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockId",
|
|
|
|
"map": {
|
|
|
|
"device_get_acceleration": "device_acceleration"
|
|
|
|
}
|
2017-03-15 09:24:59 -07:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockValue",
|
|
|
|
"map": {
|
|
|
|
"device_print_message.message": "text"
|
|
|
|
}
|
2016-10-10 16:21:50 -07:00
|
|
|
}
|
|
|
|
]
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
2016-04-21 22:46:40 -07:00
|
|
|
"runtime": {
|
2016-05-11 11:39:45 -07:00
|
|
|
"mathBlocks": true,
|
|
|
|
"loopsBlocks": true,
|
|
|
|
"logicBlocks": true,
|
2016-12-19 14:09:35 -08:00
|
|
|
"variablesBlocks": true,
|
2017-02-06 13:36:24 -08:00
|
|
|
"textBlocks": true,
|
2017-05-17 12:12:13 -07:00
|
|
|
"listsBlocks": true,
|
2017-06-19 13:59:27 -07:00
|
|
|
"functionBlocks": true,
|
2016-12-19 14:09:35 -08:00
|
|
|
"onStartColor": "#0078D7",
|
2017-01-17 11:18:22 -08:00
|
|
|
"onStartNamespace": "basic",
|
|
|
|
"onStartWeight": 54
|
2016-04-21 22:46:40 -07:00
|
|
|
},
|
2016-04-04 18:03:52 -07:00
|
|
|
"simulator": {
|
2016-05-04 22:44:11 -07:00
|
|
|
"autoRun": true,
|
2017-04-13 19:31:36 -07:00
|
|
|
"enableTrace": true,
|
2016-10-28 15:43:43 -07:00
|
|
|
"streams": false,
|
2016-08-30 17:18:03 -07:00
|
|
|
"aspectRatio": 1.22,
|
2016-09-09 01:39:52 -07:00
|
|
|
"parts": true,
|
2016-08-30 17:18:03 -07:00
|
|
|
"partsAspectRatio": 0.69,
|
2016-09-13 15:32:12 -07:00
|
|
|
"boardDefinition": {
|
|
|
|
"visual": "microbit",
|
|
|
|
"gpioPinBlocks": [
|
|
|
|
[
|
|
|
|
"P0"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P1"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P2"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P3"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P4",
|
|
|
|
"P5",
|
|
|
|
"P6",
|
|
|
|
"P7"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P8",
|
|
|
|
"P9",
|
|
|
|
"P10",
|
|
|
|
"P11",
|
|
|
|
"P12"
|
|
|
|
],
|
|
|
|
[
|
|
|
|
"P16"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"gpioPinMap": {
|
|
|
|
"P0": "P0",
|
|
|
|
"P1": "P1",
|
|
|
|
"P2": "P2",
|
|
|
|
"P3": "P3",
|
|
|
|
"P4": "P4",
|
|
|
|
"P5": "P5",
|
|
|
|
"P6": "P6",
|
|
|
|
"P7": "P7",
|
|
|
|
"P8": "P8",
|
|
|
|
"P9": "P9",
|
|
|
|
"P10": "P10",
|
|
|
|
"P11": "P11",
|
|
|
|
"P12": "P12",
|
|
|
|
"P13": "P13",
|
|
|
|
"P14": "P14",
|
|
|
|
"P15": "P15",
|
|
|
|
"P16": "P16",
|
|
|
|
"P19": "P19",
|
|
|
|
"P20": "P20"
|
|
|
|
},
|
|
|
|
"spiPins": {
|
|
|
|
"MOSI": "P15",
|
|
|
|
"MISO": "P14",
|
|
|
|
"SCK": "P13"
|
|
|
|
},
|
|
|
|
"i2cPins": {
|
|
|
|
"SDA": "P20",
|
|
|
|
"SCL": "P19"
|
|
|
|
},
|
|
|
|
"analogInPins": [
|
|
|
|
"P0",
|
|
|
|
"P1",
|
|
|
|
"P2",
|
|
|
|
"P3",
|
|
|
|
"P10"
|
|
|
|
],
|
|
|
|
"groundPins": [
|
|
|
|
"GND"
|
|
|
|
],
|
|
|
|
"threeVoltPins": [
|
|
|
|
"+3v3"
|
|
|
|
],
|
|
|
|
"attachPowerOnRight": true,
|
|
|
|
"onboardComponents": [
|
2016-09-29 08:15:58 -07:00
|
|
|
"accelerometer",
|
2016-09-13 15:32:12 -07:00
|
|
|
"buttonpair",
|
|
|
|
"ledmatrix",
|
2016-09-29 08:15:58 -07:00
|
|
|
"speaker",
|
|
|
|
"bluetooth",
|
|
|
|
"thermometer",
|
|
|
|
"compass"
|
2016-09-13 15:32:12 -07:00
|
|
|
],
|
|
|
|
"useCrocClips": true,
|
|
|
|
"marginWhenBreadboarding": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
80,
|
|
|
|
0
|
|
|
|
]
|
2016-08-30 17:18:03 -07:00
|
|
|
}
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
|
|
|
"compileService": {
|
2016-05-24 09:46:33 -07:00
|
|
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
2016-11-29 15:06:34 -08:00
|
|
|
"yottaCorePackage": "microbit",
|
|
|
|
"githubCorePackage": "lancaster-university/microbit",
|
2017-05-29 23:00:33 -07:00
|
|
|
"gittag": "v2.0.0-rc11",
|
2016-11-29 15:06:34 -08:00
|
|
|
"serviceId": "microbit"
|
2016-04-04 18:03:52 -07:00
|
|
|
},
|
|
|
|
"serial": {
|
2017-06-12 15:28:44 -07:00
|
|
|
"productFilter": "0x0204",
|
|
|
|
"vendorFilter": "0x0d28",
|
2016-04-09 01:27:08 -07:00
|
|
|
"nameFilter": "^mbed Serial Port",
|
2016-04-04 18:03:52 -07:00
|
|
|
"log": true
|
|
|
|
},
|
|
|
|
"appTheme": {
|
2016-05-19 11:59:57 -07:00
|
|
|
"accentColor": "#5C005C",
|
2017-06-16 09:50:46 -07:00
|
|
|
"logoUrl": "https://microbit.org/code/",
|
2016-12-01 18:35:10 -08:00
|
|
|
"logo": "./static/logo.portrait.white.svg",
|
2016-10-21 10:49:04 -07:00
|
|
|
"docsLogo": "./static/logo.square.white.svg",
|
2016-12-01 18:35:10 -08:00
|
|
|
"portraitLogo": "./static/logo.square.white.svg",
|
2016-10-21 10:49:04 -07:00
|
|
|
"footerLogo": "./static/logo.portrait.black.svg",
|
2016-11-02 15:14:06 -07:00
|
|
|
"cardLogo": "./static/icons/apple-touch-icon.png",
|
|
|
|
"appLogo": "./static/icons/apple-touch-icon.png",
|
2017-03-08 03:22:29 -08:00
|
|
|
"organization": "Microsoft MakeCode",
|
|
|
|
"organizationUrl": "https://makecode.com/",
|
2017-02-16 20:36:20 -08:00
|
|
|
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
|
2016-12-01 18:35:10 -08:00
|
|
|
"organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
|
2017-06-13 12:56:55 -07:00
|
|
|
"homeUrl": "https://makecode.microbit.org/",
|
|
|
|
"embedUrl": "https://makecode.microbit.org/",
|
|
|
|
"shareUrl": "https://makecode.microbit.org/",
|
2017-03-09 07:05:41 -08:00
|
|
|
"privacyUrl": "https://makecode.com/privacy",
|
|
|
|
"termsOfUseUrl": "https://makecode.com/termsofuse",
|
2016-09-07 10:33:36 +01:00
|
|
|
"githubUrl": "https://github.com/Microsoft/pxt-microbit",
|
2017-06-13 13:29:35 -07:00
|
|
|
"legacyDomain": "pxt.microbit.org",
|
2017-04-05 10:16:47 -07:00
|
|
|
"galleries": {
|
|
|
|
"Projects": "projects",
|
|
|
|
"Examples": "examples"
|
|
|
|
},
|
2016-11-10 08:37:13 -08:00
|
|
|
"projectGallery": "projects",
|
2017-02-09 14:44:56 -08:00
|
|
|
"exampleGallery": "examples",
|
2016-11-29 13:12:32 -08:00
|
|
|
"crowdinProject": "kindscript",
|
2016-10-21 10:49:04 -07:00
|
|
|
"boardName": "micro:bit",
|
2017-03-24 07:39:59 -07:00
|
|
|
"driveDisplayName": "MICROBIT",
|
2017-01-01 18:52:22 -08:00
|
|
|
"sideDoc": "tutorials/getting-started",
|
2017-03-06 16:27:57 -08:00
|
|
|
"feedbackUrl": "https://www.research.net/r/MCmicro",
|
2017-03-29 09:08:04 -07:00
|
|
|
"appStoreID": "1092687276",
|
2017-03-29 11:41:38 -07:00
|
|
|
"mobileSafariDownloadProtocol": "microbithex://?data",
|
2017-04-18 16:26:13 -07:00
|
|
|
"extendEditor": true,
|
2016-04-04 18:03:52 -07:00
|
|
|
"docMenu": [
|
2016-10-21 10:49:04 -07:00
|
|
|
{
|
|
|
|
"name": "Support",
|
2016-10-21 11:42:29 -07:00
|
|
|
"path": "https://support.microbit.org/"
|
2016-10-21 10:49:04 -07:00
|
|
|
},
|
2017-03-06 16:27:57 -08:00
|
|
|
{
|
|
|
|
"name": "Getting started",
|
|
|
|
"tutorial": true,
|
|
|
|
"path": "/tutorials/getting-started"
|
|
|
|
},
|
2016-11-11 15:06:41 -08:00
|
|
|
{
|
|
|
|
"name": "Projects",
|
|
|
|
"path": "/projects"
|
|
|
|
},
|
2016-04-04 18:03:52 -07:00
|
|
|
{
|
2016-06-15 14:04:06 -04:00
|
|
|
"name": "Reference",
|
2016-04-04 18:03:52 -07:00
|
|
|
"path": "/reference"
|
2016-06-14 11:58:01 -04:00
|
|
|
},
|
2016-06-14 17:20:45 -04:00
|
|
|
{
|
2016-06-15 06:31:13 -04:00
|
|
|
"name": "Blocks",
|
2016-06-14 17:20:45 -04:00
|
|
|
"path": "/blocks"
|
2016-06-15 06:31:13 -04:00
|
|
|
},
|
|
|
|
{
|
2016-06-17 09:01:29 -07:00
|
|
|
"name": "JavaScript",
|
|
|
|
"path": "/javascript"
|
2016-06-24 19:37:05 -04:00
|
|
|
},
|
|
|
|
{
|
2016-08-11 11:41:07 -07:00
|
|
|
"name": "Hardware",
|
2016-07-15 11:47:22 -07:00
|
|
|
"path": "/device"
|
2017-03-08 05:01:11 -08:00
|
|
|
},
|
|
|
|
{
|
2017-03-08 10:13:51 -08:00
|
|
|
"name": "Buy",
|
2017-03-08 05:01:11 -08:00
|
|
|
"path": "https://microbit.org/resellers"
|
2016-04-04 18:03:52 -07:00
|
|
|
}
|
2016-05-18 11:15:00 -07:00
|
|
|
],
|
2016-11-29 14:53:26 -08:00
|
|
|
"hasReferenceDocs": true,
|
2016-09-12 19:10:30 +01:00
|
|
|
"usbDocs": "/device/usb",
|
|
|
|
"usbHelp": [
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "*",
|
|
|
|
"browser": "*",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-generic.jpg"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-mac.jpg"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "firefox",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-windows-firefox-1.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "firefox",
|
2016-09-14 22:43:59 -07:00
|
|
|
"path": "/static/mb/device/usb-osx-firefox-1.jpg"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "chrome",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-osx-chrome.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "edge",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-windows-edge-1.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "ie",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-windows-ie11-1.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "chrome",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-windows-chrome.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-osx-dnd.png"
|
2016-09-12 19:10:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "*",
|
2016-09-14 22:18:01 -07:00
|
|
|
"path": "/static/mb/device/usb-windows-sendto.jpg"
|
2016-09-12 19:10:30 +01:00
|
|
|
}
|
2016-12-01 18:35:10 -08:00
|
|
|
],
|
|
|
|
"invertedMenu": true,
|
|
|
|
"coloredToolbox": true,
|
2016-12-11 09:01:08 +13:00
|
|
|
"monacoToolbox": true,
|
2017-01-21 16:25:46 -08:00
|
|
|
"hasAudio": true,
|
2017-02-27 15:26:45 -08:00
|
|
|
"blocklyOptions": {
|
2016-12-01 18:35:10 -08:00
|
|
|
"grid": {
|
|
|
|
"spacing": 45,
|
|
|
|
"length": 7,
|
|
|
|
"colour": "rgba(189, 195, 199, 0.30)",
|
|
|
|
"snap": false
|
|
|
|
}
|
2017-04-19 23:44:47 -07:00
|
|
|
},
|
2017-04-28 18:35:36 -07:00
|
|
|
"highContrast": true,
|
2017-07-11 12:01:40 +03:00
|
|
|
"selectLanguage": true,
|
|
|
|
"monacoColors": {
|
|
|
|
"editor.background": "#ecf0f1"
|
|
|
|
}
|
2016-04-04 18:03:52 -07:00
|
|
|
}
|
2017-01-19 17:24:03 +00:00
|
|
|
}
|