pxt-calliope/pxtarget.json

370 lines
11 KiB
JSON
Raw Normal View History

2016-03-10 23:01:04 +01: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.",
"corepkg": "core",
2016-03-10 23:01:04 +01:00
"bundleddirs": [
"libs/core",
"libs/radio",
"libs/devices",
"libs/bluetooth"
],
"cloud": {
"workspace": false,
"packages": true,
2017-02-04 00:23:46 +01:00
"sharing": true,
"publishing": true,
"preferredPackages": [
"Microsoft/pxt-neopixel"
2016-10-07 11:53:18 +02:00
],
2016-11-04 19:25:05 +01:00
"githubPackages": true
},
"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",
"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]",
"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
},
{
"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)"
}
},
{
"type": "blockId",
"map": {
"device_get_acceleration": "device_acceleration"
}
},
{
"type": "blockValue",
"map": {
"device_print_message.message": "text"
}
}
]
},
2016-04-22 07:46:40 +02:00
"runtime": {
2016-05-11 20:39:45 +02:00
"mathBlocks": true,
"loopsBlocks": true,
"logicBlocks": true,
"variablesBlocks": true,
2017-02-06 22:36:24 +01:00
"textBlocks": true,
"onStartColor": "#0078D7",
2017-01-17 20:18:22 +01:00
"onStartNamespace": "basic",
"onStartWeight": 54
2016-04-22 07:46:40 +02:00
},
"simulator": {
2016-05-05 07:44:11 +02:00
"autoRun": true,
2016-10-29 00:43:43 +02:00
"streams": false,
"aspectRatio": 1.22,
2016-09-09 10:39:52 +02:00
"parts": true,
"partsAspectRatio": 0.69,
"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",
"buttonpair",
"ledmatrix",
2016-09-29 17:15:58 +02:00
"speaker",
"bluetooth",
"thermometer",
"compass"
],
"useCrocClips": true,
"marginWhenBreadboarding": [
0,
0,
80,
0
]
}
},
"compileService": {
"yottaTarget": "bbc-microbit-classic-gcc",
"yottaCorePackage": "microbit",
"githubCorePackage": "lancaster-university/microbit",
2017-03-01 23:57:40 +01:00
"gittag": "v2.0.0-rc8",
"serviceId": "microbit"
},
"serial": {
"manufacturerFilter": "^mbed$",
2016-04-09 10:27:08 +02:00
"nameFilter": "^mbed Serial Port",
"log": true
},
"appTheme": {
2016-05-19 20:59:57 +02:00
"accentColor": "#5C005C",
"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",
"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-04-12 16:49:05 +02:00
"shareUrl": "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",
"driveDisplayName": "MICROBIT",
2017-01-02 03:52:22 +01:00
"sideDoc": "tutorials/getting-started",
"feedbackUrl": "https://www.research.net/r/MCmicro",
2017-03-29 18:08:04 +02:00
"appStoreID": "1092687276",
"mobileSafariDownloadProtocol": "microbithex://?data",
"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"
}
],
"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
},
{
"name": "Getting started",
"tutorial": true,
"path": "/tutorials/getting-started"
},
2016-11-12 00:06:41 +01:00
{
"name": "Projects",
"path": "/projects"
},
{
2016-06-15 20:04:06 +02:00
"name": "Reference",
"path": "/reference"
2016-06-14 17:58:01 +02:00
},
{
2016-06-15 12:31:13 +02:00
"name": "Blocks",
"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-05-18 20:15:00 +02:00
],
"hasReferenceDocs": true,
"usbDocs": "/device/usb",
"usbHelp": [
{
"name": "connection",
"os": "*",
"browser": "*",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-generic.jpg"
},
{
"name": "connection",
"os": "mac",
"browser": "*",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-mac.jpg"
},
{
"name": "save",
"os": "windows",
"browser": "firefox",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-windows-firefox-1.png"
},
{
"name": "save",
"os": "mac",
"browser": "firefox",
2016-09-15 07:43:59 +02:00
"path": "/static/mb/device/usb-osx-firefox-1.jpg"
},
{
"name": "save",
"os": "mac",
"browser": "chrome",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-osx-chrome.png"
},
{
"name": "save",
"os": "windows",
"browser": "edge",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-windows-edge-1.png"
},
{
"name": "save",
"os": "windows",
"browser": "ie",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-windows-ie11-1.png"
},
{
"name": "save",
"os": "windows",
"browser": "chrome",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-windows-chrome.png"
},
{
"name": "copy",
"os": "mac",
"browser": "*",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-osx-dnd.png"
},
{
"name": "copy",
"os": "windows",
"browser": "*",
2016-09-15 07:18:01 +02:00
"path": "/static/mb/device/usb-windows-sendto.jpg"
}
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-01-19 18:24:03 +01:00
}