pxt-calliope/pxtarget.json

429 lines
13 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",
"name": "makecode.microbit.org",
"title": "Microsoft MakeCode for micro:bit",
"description": "A Blocks / JavaScript code editor for the micro:bit powered by Microsoft MakeCode.",
"corepkg": "core",
2016-03-10 23:01:04 +01:00
"bundleddirs": [
"libs/core",
"libs/radio",
"libs/devices",
"libs/bluetooth",
"libs/servo"
],
"cloud": {
"workspace": false,
"packages": true,
2017-02-04 00:23:46 +01:00
"sharing": true,
"publishing": true,
2018-07-31 23:59:30 +02:00
"importing": 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]",
"flashUsableEnd": 242688,
"flashEnd": 242688,
"flashCodeAlign": 1024,
2018-04-21 20:10:43 +02:00
"floatingPoint": true,
"taggedInts": true,
"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"
}
}
]
},
"hidSelectors": [
{
"usagePage": "0xFF00",
"usageId": "0x0001",
"vid": "0x0d28",
"pid": "0x0204"
}
],
"webUSB": true
},
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,
2017-05-17 21:12:13 +02:00
"listsBlocks": true,
2017-06-19 22:59:27 +02:00
"functionBlocks": true,
"onStartColor": "#1E90FF",
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"
],
2018-06-12 14:41:12 +02:00
"pinStyles": {
"P0": "croc",
"P1": "croc",
"P2": "croc",
"GND": "croc",
"+3v3": "croc"
},
"marginWhenBreadboarding": [
0,
0,
80,
0
]
}
},
"compileService": {
"yottaTarget": "bbc-microbit-classic-gcc",
"yottaCorePackage": "microbit",
"githubCorePackage": "lancaster-university/microbit",
2018-09-18 19:30:19 +02:00
"gittag": "v2.1.0",
"serviceId": "microbit",
"dockerImage": "pext/yotta:latest"
},
"serial": {
"nameFilter": "^(mbed Serial Port|DAPLink CMSIS-DAP)",
"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
},
"chromeExtension": "hjcflblhjoglmjjkecamiegdigfkgeni",
"vendorId": "0x0d28",
"productId": "0x0204",
"rawHID": true
},
2018-04-21 21:25:19 +02:00
"ignoreDocsErrors": true,
"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",
"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",
"homeScreenHero": "./static/hero.png",
"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",
"driveDisplayName": "MICROBIT",
"feedbackUrl": "https://www.research.net/r/MCmicro",
2017-03-29 18:08:04 +02:00
"appStoreID": "1092687276",
"mobileSafariDownloadProtocol": "microbithex://?data",
"extendEditor": true,
"extendFieldEditors": true,
"enableTrace": true,
"experiments": [
"greenScreen",
"print",
"allowPackageExtensions",
"instructions",
"debugger"
],
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-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-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-05-18 20:15:00 +02:00
],
"hasReferenceDocs": true,
"usbDocs": "/device/usb",
2018-03-29 21:00:26 +02:00
"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
}
},
"blockColors": {
"logic": "#00A4A6",
"loops": "#00AA00",
"math": "#9400D3",
"variables": "#DC143C",
"text": "#B8860B",
"advanced": "#00272B",
"functions": "#3455DB",
"arrays": "#E65722"
},
"highContrast": true,
"greenScreen": false,
"selectLanguage": true,
2018-03-29 21:00:26 +02:00
"availableLocales": [
"en",
"ar",
"cs",
"da",
"de",
"el",
"es-ES",
"fi",
"fr",
"hu",
"is",
2018-03-29 21:00:26 +02:00
"it",
"ja",
"ko",
"nl",
"no",
"pt-BR",
"pt-PT",
"ru",
"si-LK",
2018-06-20 07:55:06 +02:00
"sk",
2018-03-29 21:00:26 +02:00
"sv-SE",
"tr",
"uk",
"zh-CN",
"zh-TW"
],
"monacoColors": {
"editor.background": "#ecf0f1"
},
"browserDbPrefixes": {
"1": "v1"
}
}
}