2016-03-10 23:01:04 +01:00
|
|
|
{
|
2016-04-05 03:03:52 +02:00
|
|
|
"id": "microbit",
|
2016-10-07 11:53:18 +02:00
|
|
|
"nickname": "microbit",
|
2017-06-13 21:56:55 +02: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-11 01:21:50 +02:00
|
|
|
"corepkg": "core",
|
2016-03-10 23:01:04 +01:00
|
|
|
"bundleddirs": [
|
2016-10-11 01:21:50 +02:00
|
|
|
"libs/core",
|
|
|
|
"libs/radio",
|
|
|
|
"libs/devices",
|
2016-11-30 13:06:15 +01:00
|
|
|
"libs/bluetooth"
|
2016-04-05 03:03:52 +02:00
|
|
|
],
|
|
|
|
"cloud": {
|
|
|
|
"workspace": false,
|
2016-08-09 20:02:23 +02:00
|
|
|
"packages": true,
|
2017-02-04 00:23:46 +01:00
|
|
|
"sharing": true,
|
|
|
|
"publishing": true,
|
2016-08-09 20:02:23 +02:00
|
|
|
"preferredPackages": [
|
2017-03-20 19:37:54 +01:00
|
|
|
"Microsoft/pxt-neopixel"
|
2016-10-07 11:53:18 +02:00
|
|
|
],
|
2016-11-04 19:25:05 +01:00
|
|
|
"githubPackages": true
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"compile": {
|
|
|
|
"isNative": false,
|
2016-04-08 19:49:43 +02:00
|
|
|
"hasHex": true,
|
2016-07-28 19:22:05 +02:00
|
|
|
"deployDrives": "(MICROBIT|MBED)",
|
2016-06-03 18:47:06 +02:00
|
|
|
"driveName": "MICROBIT",
|
2016-10-11 01:21:50 +02:00
|
|
|
"hexMimeType": "application/x-microbit-hex",
|
2017-01-19 18:24:03 +01:00
|
|
|
"openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]",
|
2018-05-30 00:55:58 +02:00
|
|
|
"flashUsableEnd": 242688,
|
|
|
|
"flashEnd": 242688,
|
2017-12-12 14:00:09 +01:00
|
|
|
"flashCodeAlign": 1024,
|
2018-04-21 20:10:43 +02:00
|
|
|
"floatingPoint": true,
|
2018-05-30 00:55:58 +02:00
|
|
|
"taggedInts": true,
|
2018-05-14 22:18:19 +02:00
|
|
|
"patches": {
|
|
|
|
"0.0.0 - 1.0.0": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"map": {
|
|
|
|
"microbit": "core",
|
|
|
|
"microbit-bluetooth": "bluetooth",
|
|
|
|
"microbit-radio": "radio",
|
|
|
|
"microbit-devices": "devices",
|
|
|
|
"microbit-led": "",
|
|
|
|
"microbit-music": "",
|
|
|
|
"microbit-game": "",
|
|
|
|
"microbit-pins": "",
|
|
|
|
"microbit-serial": ""
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "missingPackage",
|
|
|
|
"map": {
|
|
|
|
"radio\\s*\\.": "radio",
|
|
|
|
"bluetooth\\s*\\.": "bluetooth",
|
|
|
|
"devices\\s*\\.": "devices"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "api",
|
|
|
|
"map": {
|
|
|
|
"bluetooth\\s*\\.uartRead\\s*\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
|
|
|
"bluetooth\\s*\\.uartWrite\\s*\\((.*?)\\)": "bluetooth.uartWriteUntil($1)",
|
|
|
|
"input\\s*\\.calibrate\\s*\\(": "input.calibrateCompass(",
|
|
|
|
"radio\\s*\\.onDataPacketReceived\\(\\s*\\(\\{\\s*receivedNumber\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedNumber(function (receivedNumber) {",
|
|
|
|
"radio\\s*\\.onDataPacketReceived\\(\\s*\\(\\{\\s*receivedString: name, receivedNumber: value\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedValue(function (name, value) {",
|
|
|
|
"radio\\s*\\.onDataPacketReceived\\(\\s*\\(\\{\\s*receivedString\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedString(function (receivedString) {"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockId",
|
|
|
|
"map": {
|
|
|
|
"device_get_acceleration": "device_acceleration"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockValue",
|
|
|
|
"map": {
|
|
|
|
"device_print_message.message": "text"
|
|
|
|
}
|
2016-10-19 06:36:42 +02:00
|
|
|
}
|
2018-05-14 22:18:19 +02:00
|
|
|
]
|
|
|
|
},
|
2017-10-05 07:37:13 +02:00
|
|
|
"hidSelectors": [
|
|
|
|
{
|
|
|
|
"usagePage": "0xFF00",
|
|
|
|
"usageId": "0x0001",
|
|
|
|
"vid": "0x0d28",
|
|
|
|
"pid": "0x0204"
|
|
|
|
}
|
2016-10-11 01:21:50 +02:00
|
|
|
]
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
2016-04-22 07:46:40 +02:00
|
|
|
"runtime": {
|
2016-05-11 20:39:45 +02:00
|
|
|
"mathBlocks": true,
|
|
|
|
"loopsBlocks": true,
|
|
|
|
"logicBlocks": true,
|
2016-12-19 23:09:35 +01:00
|
|
|
"variablesBlocks": true,
|
2017-02-06 22:36:24 +01:00
|
|
|
"textBlocks": true,
|
2017-05-17 21:12:13 +02:00
|
|
|
"listsBlocks": true,
|
2017-06-19 22:59:27 +02:00
|
|
|
"functionBlocks": true,
|
2016-12-19 23:09:35 +01:00
|
|
|
"onStartColor": "#0078D7",
|
2017-01-17 20:18:22 +01:00
|
|
|
"onStartNamespace": "basic",
|
|
|
|
"onStartWeight": 54
|
2016-04-22 07:46:40 +02:00
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
"simulator": {
|
2016-05-05 07:44:11 +02:00
|
|
|
"autoRun": true,
|
2017-04-14 04:31:36 +02:00
|
|
|
"enableTrace": true,
|
2016-10-29 00:43:43 +02:00
|
|
|
"streams": false,
|
2016-08-31 02:18:03 +02:00
|
|
|
"aspectRatio": 1.22,
|
2016-09-09 10:39:52 +02:00
|
|
|
"parts": true,
|
2018-05-18 18:43:03 +02:00
|
|
|
"instructions": true,
|
2016-08-31 02:18:03 +02:00
|
|
|
"partsAspectRatio": 0.69,
|
2016-09-14 00:32:12 +02: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 17:15:58 +02:00
|
|
|
"accelerometer",
|
2016-09-14 00:32:12 +02:00
|
|
|
"buttonpair",
|
|
|
|
"ledmatrix",
|
2016-09-29 17:15:58 +02:00
|
|
|
"speaker",
|
|
|
|
"bluetooth",
|
|
|
|
"thermometer",
|
|
|
|
"compass"
|
2016-09-14 00:32:12 +02:00
|
|
|
],
|
2018-06-12 14:41:12 +02:00
|
|
|
"pinStyles": {
|
|
|
|
"P0": "croc",
|
|
|
|
"P1": "croc",
|
|
|
|
"P2": "croc",
|
|
|
|
"GND": "croc",
|
|
|
|
"+3v3": "croc"
|
|
|
|
},
|
2016-09-14 00:32:12 +02:00
|
|
|
"marginWhenBreadboarding": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
80,
|
|
|
|
0
|
|
|
|
]
|
2016-08-31 02:18:03 +02:00
|
|
|
}
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"compileService": {
|
2016-05-24 18:46:33 +02:00
|
|
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
2016-11-30 00:06:34 +01:00
|
|
|
"yottaCorePackage": "microbit",
|
|
|
|
"githubCorePackage": "lancaster-university/microbit",
|
2017-05-30 08:00:33 +02:00
|
|
|
"gittag": "v2.0.0-rc11",
|
2016-11-30 00:06:34 +01:00
|
|
|
"serviceId": "microbit"
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"serial": {
|
2017-12-02 00:11:44 +01:00
|
|
|
"nameFilter": "^(mbed Serial Port|DAPLink CMSIS-DAP)",
|
2017-08-08 07:33:59 +02:00
|
|
|
"log": true,
|
2017-10-20 19:27:43 +02:00
|
|
|
"useEditor": true,
|
|
|
|
"editorTheme": {
|
|
|
|
"graphBackground": "#d9d9d9",
|
2018-03-29 21:00:26 +02:00
|
|
|
"lineColors": [
|
|
|
|
"#6633cc",
|
|
|
|
"#3891A6",
|
|
|
|
"#3454D1",
|
|
|
|
"#EF767A",
|
|
|
|
"#F46197",
|
|
|
|
"#107C10"
|
|
|
|
]
|
2017-10-20 19:27:43 +02:00
|
|
|
},
|
2017-09-18 18:45:27 +02:00
|
|
|
"chromeExtension": "hjcflblhjoglmjjkecamiegdigfkgeni",
|
|
|
|
"vendorId": "0x0d28",
|
|
|
|
"productId": "0x0204",
|
|
|
|
"rawHID": true
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
2018-04-21 21:25:19 +02:00
|
|
|
"ignoreDocsErrors": true,
|
2016-04-05 03:03:52 +02:00
|
|
|
"appTheme": {
|
2016-05-19 20:59:57 +02:00
|
|
|
"accentColor": "#5C005C",
|
2017-06-16 18:50:46 +02:00
|
|
|
"logoUrl": "https://microbit.org/code/",
|
2016-12-02 03:35:10 +01:00
|
|
|
"logo": "./static/logo.portrait.white.svg",
|
2016-10-21 19:49:04 +02:00
|
|
|
"docsLogo": "./static/logo.square.white.svg",
|
2016-12-02 03:35:10 +01:00
|
|
|
"portraitLogo": "./static/logo.square.white.svg",
|
2016-10-21 19:49:04 +02:00
|
|
|
"footerLogo": "./static/logo.portrait.black.svg",
|
2016-11-02 23:14:06 +01:00
|
|
|
"cardLogo": "./static/icons/apple-touch-icon.png",
|
|
|
|
"appLogo": "./static/icons/apple-touch-icon.png",
|
2017-03-08 12:22:29 +01:00
|
|
|
"organization": "Microsoft MakeCode",
|
|
|
|
"organizationUrl": "https://makecode.com/",
|
2017-02-17 05:36:20 +01:00
|
|
|
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
|
2016-12-02 03:35:10 +01:00
|
|
|
"organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
|
2018-04-21 19:25:43 +02:00
|
|
|
"homeScreenHero": "./static/hero.png",
|
2017-06-13 21:56:55 +02:00
|
|
|
"homeUrl": "https://makecode.microbit.org/",
|
|
|
|
"embedUrl": "https://makecode.microbit.org/",
|
|
|
|
"shareUrl": "https://makecode.microbit.org/",
|
2017-03-09 16:05:41 +01:00
|
|
|
"privacyUrl": "https://makecode.com/privacy",
|
|
|
|
"termsOfUseUrl": "https://makecode.com/termsofuse",
|
2016-09-07 11:33:36 +02:00
|
|
|
"githubUrl": "https://github.com/Microsoft/pxt-microbit",
|
2016-10-21 19:49:04 +02:00
|
|
|
"boardName": "micro:bit",
|
2017-03-24 15:39:59 +01:00
|
|
|
"driveDisplayName": "MICROBIT",
|
2017-03-07 01:27:57 +01:00
|
|
|
"feedbackUrl": "https://www.research.net/r/MCmicro",
|
2017-03-29 18:08:04 +02:00
|
|
|
"appStoreID": "1092687276",
|
2017-03-29 20:41:38 +02:00
|
|
|
"mobileSafariDownloadProtocol": "microbithex://?data",
|
2017-04-19 01:26:13 +02:00
|
|
|
"extendEditor": true,
|
2018-04-21 19:25:43 +02:00
|
|
|
"extendFieldEditors": true,
|
2018-03-29 21:00:26 +02:00
|
|
|
"docMenu": [
|
|
|
|
{
|
2016-10-21 19:49:04 +02:00
|
|
|
"name": "Support",
|
2016-10-21 20:42:29 +02:00
|
|
|
"path": "https://support.microbit.org/"
|
2016-10-21 19:49:04 +02:00
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
{
|
2016-06-15 20:04:06 +02:00
|
|
|
"name": "Reference",
|
2018-05-29 20:22:41 +02:00
|
|
|
"path": "/reference"
|
2016-06-14 17:58:01 +02:00
|
|
|
},
|
2016-06-14 23:20:45 +02:00
|
|
|
{
|
2016-06-15 12:31:13 +02:00
|
|
|
"name": "Blocks",
|
2018-05-29 20:22:41 +02:00
|
|
|
"path": "/blocks"
|
2016-06-15 12:31:13 +02:00
|
|
|
},
|
|
|
|
{
|
2016-06-17 18:01:29 +02:00
|
|
|
"name": "JavaScript",
|
2018-05-29 20:22:41 +02:00
|
|
|
"path": "/javascript"
|
2016-06-25 01:37:05 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-11 20:41:07 +02:00
|
|
|
"name": "Hardware",
|
2018-05-29 20:22:41 +02:00
|
|
|
"path": "/device"
|
2017-03-08 14:01:11 +01:00
|
|
|
},
|
|
|
|
{
|
2017-03-08 19:13:51 +01:00
|
|
|
"name": "Buy",
|
2017-03-08 14:01:11 +01:00
|
|
|
"path": "https://microbit.org/resellers"
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
2016-05-18 20:15:00 +02:00
|
|
|
],
|
2016-11-29 23:53:26 +01:00
|
|
|
"hasReferenceDocs": true,
|
2016-09-12 20:10:30 +02:00
|
|
|
"usbDocs": "/device/usb",
|
2018-03-29 21:00:26 +02:00
|
|
|
"usbHelp": [
|
|
|
|
{
|
2016-09-12 20:10:30 +02:00
|
|
|
"name": "connection",
|
|
|
|
"os": "*",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-generic.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-mac.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "firefox",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-firefox-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "firefox",
|
2016-09-15 07:43:59 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-firefox-1.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "chrome",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-chrome.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "edge",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-edge-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "ie",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-ie11-1.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "chrome",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-chrome.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-osx-dnd.png"
|
2016-09-12 20:10:30 +02:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "*",
|
2016-09-15 07:18:01 +02:00
|
|
|
"path": "/static/mb/device/usb-windows-sendto.jpg"
|
2016-09-12 20:10:30 +02:00
|
|
|
}
|
2016-12-02 03:35:10 +01:00
|
|
|
],
|
|
|
|
"invertedMenu": true,
|
|
|
|
"coloredToolbox": true,
|
2016-12-10 21:01:08 +01:00
|
|
|
"monacoToolbox": true,
|
2017-01-22 01:25:46 +01:00
|
|
|
"hasAudio": true,
|
2017-02-28 00:26:45 +01:00
|
|
|
"blocklyOptions": {
|
2016-12-02 03:35:10 +01:00
|
|
|
"grid": {
|
|
|
|
"spacing": 45,
|
|
|
|
"length": 7,
|
|
|
|
"colour": "rgba(189, 195, 199, 0.30)",
|
|
|
|
"snap": false
|
|
|
|
}
|
2017-04-20 08:44:47 +02:00
|
|
|
},
|
2017-04-29 03:35:36 +02:00
|
|
|
"highContrast": true,
|
2018-06-05 18:44:20 +02:00
|
|
|
"greenScreen": false,
|
2017-07-11 11:01:40 +02:00
|
|
|
"selectLanguage": true,
|
2018-03-29 21:00:26 +02:00
|
|
|
"availableLocales": [
|
|
|
|
"en",
|
|
|
|
"ar",
|
|
|
|
"cs",
|
|
|
|
"da",
|
|
|
|
"de",
|
|
|
|
"el",
|
|
|
|
"es-ES",
|
|
|
|
"fi",
|
|
|
|
"fr",
|
|
|
|
"hu",
|
2018-04-24 18:16:13 +02:00
|
|
|
"is",
|
2018-03-29 21:00:26 +02:00
|
|
|
"it",
|
|
|
|
"ja",
|
|
|
|
"ko",
|
|
|
|
"nl",
|
|
|
|
"no",
|
|
|
|
"pt-BR",
|
|
|
|
"pt-PT",
|
|
|
|
"ru",
|
|
|
|
"si-LK",
|
|
|
|
"sv-SE",
|
|
|
|
"tr",
|
|
|
|
"uk",
|
|
|
|
"zh-CN",
|
|
|
|
"zh-TW"
|
|
|
|
],
|
2017-07-11 11:01:40 +02:00
|
|
|
"monacoColors": {
|
|
|
|
"editor.background": "#ecf0f1"
|
|
|
|
}
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
2018-06-05 18:44:20 +02:00
|
|
|
}
|