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",
|
2016-10-21 19:49:04 +02:00
|
|
|
"name": "pxt.microbit.org",
|
|
|
|
"title": "pxt.microbit.org - Blocks / Javascript editor for micro:bit",
|
2016-08-12 12:37:27 +02:00
|
|
|
"description": "A Blocks / JavaScript code editor for the micro:bit.",
|
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]",
|
2016-10-11 01:21:50 +02: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 19:49:04 +02:00
|
|
|
},
|
2016-12-12 19:42:02 +01:00
|
|
|
{
|
|
|
|
"type": "missingPackage",
|
|
|
|
"map": {
|
|
|
|
"radio\\s*\\.": "radio",
|
|
|
|
"bluetooth\\s*\\.": "bluetooth",
|
|
|
|
"devices\\s*\\.": "devices"
|
|
|
|
}
|
|
|
|
},
|
2016-10-19 06:36:42 +02:00
|
|
|
{
|
|
|
|
"type": "api",
|
|
|
|
"map": {
|
2016-12-12 19:42:02 +01:00
|
|
|
"bluetooth\\s*\\.uartRead\\s*\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
|
|
|
"bluetooth\\s*\\.uartWrite\\s*\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
|
2016-10-19 06:36:42 +02:00
|
|
|
}
|
2016-12-19 23:09:35 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockId",
|
|
|
|
"map": {
|
|
|
|
"device_get_acceleration": "device_acceleration"
|
|
|
|
}
|
2017-03-15 17:24:59 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "blockValue",
|
|
|
|
"map": {
|
|
|
|
"device_print_message.message": "text"
|
|
|
|
}
|
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,
|
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,
|
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,
|
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
|
|
|
],
|
|
|
|
"useCrocClips": true,
|
|
|
|
"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-03-01 23:57:40 +01:00
|
|
|
"gittag": "v2.0.0-rc8",
|
2016-11-30 00:06:34 +01:00
|
|
|
"serviceId": "microbit"
|
2016-04-05 03:03:52 +02:00
|
|
|
},
|
|
|
|
"serial": {
|
|
|
|
"manufacturerFilter": "^mbed$",
|
2016-04-09 10:27:08 +02:00
|
|
|
"nameFilter": "^mbed Serial Port",
|
2016-04-05 03:03:52 +02:00
|
|
|
"log": true
|
|
|
|
},
|
|
|
|
"appTheme": {
|
2016-05-19 20:59:57 +02:00
|
|
|
"accentColor": "#5C005C",
|
2017-03-08 12:23:37 +01:00
|
|
|
"logoUrl": "https://microbit.org/",
|
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",
|
2016-10-21 19:49:04 +02:00
|
|
|
"homeUrl": "https://pxt.microbit.org/",
|
|
|
|
"embedUrl": "https://pxt.microbit.org/",
|
2017-03-09 16:05:41 +01:00
|
|
|
"legacyDomain": "pxt.microbit.org",
|
|
|
|
"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",
|
2017-04-05 19:16:47 +02:00
|
|
|
"galleries": {
|
|
|
|
"Projects": "projects",
|
|
|
|
"Examples": "examples"
|
|
|
|
},
|
2016-11-10 17:37:13 +01:00
|
|
|
"projectGallery": "projects",
|
2017-02-09 23:44:56 +01:00
|
|
|
"exampleGallery": "examples",
|
2016-11-29 22:12:32 +01:00
|
|
|
"crowdinProject": "kindscript",
|
2016-10-21 19:49:04 +02:00
|
|
|
"boardName": "micro:bit",
|
2017-03-24 15:39:59 +01:00
|
|
|
"driveDisplayName": "MICROBIT",
|
2017-01-02 03:52:22 +01:00
|
|
|
"sideDoc": "tutorials/getting-started",
|
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",
|
2016-09-13 19:33:06 +02:00
|
|
|
"browserSupport": [
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "*",
|
|
|
|
"path": "/browsers"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "mac",
|
|
|
|
"path": "/browsers/mac"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "linux",
|
|
|
|
"path": "browsers/linux"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "rpi",
|
|
|
|
"path": "/raspberry-pi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "windows",
|
|
|
|
"path": "/browsers/windows"
|
|
|
|
}
|
|
|
|
],
|
2016-04-05 03:03:52 +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
|
|
|
},
|
2017-03-07 01:27:57 +01:00
|
|
|
{
|
|
|
|
"name": "Getting started",
|
|
|
|
"tutorial": true,
|
|
|
|
"path": "/tutorials/getting-started"
|
|
|
|
},
|
2016-11-12 00:06:41 +01:00
|
|
|
{
|
|
|
|
"name": "Projects",
|
|
|
|
"path": "/projects"
|
|
|
|
},
|
2016-04-05 03:03:52 +02:00
|
|
|
{
|
2016-06-15 20:04:06 +02:00
|
|
|
"name": "Reference",
|
2016-04-05 03:03:52 +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",
|
2016-06-14 23:20:45 +02:00
|
|
|
"path": "/blocks"
|
2016-06-15 12:31:13 +02:00
|
|
|
},
|
|
|
|
{
|
2016-06-17 18:01:29 +02:00
|
|
|
"name": "JavaScript",
|
|
|
|
"path": "/javascript"
|
2016-06-25 01:37:05 +02:00
|
|
|
},
|
|
|
|
{
|
2016-08-11 20:41:07 +02:00
|
|
|
"name": "Hardware",
|
2016-07-15 20:47:22 +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",
|
|
|
|
"usbHelp": [
|
|
|
|
{
|
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
2016-04-05 03:03:52 +02:00
|
|
|
}
|
2017-01-19 18:24:03 +01:00
|
|
|
}
|