pxt-calliope/pxtarget.json

431 lines
13 KiB
JSON
Raw Normal View History

2016-03-10 23:01:04 +01:00
{
"id": "calliopemini",
2016-10-10 23:43:33 +02:00
"nickname": "mini",
"name": "makecode.calliope.cc",
"title": "Microsoft MakeCode for Calliope mini",
"description": "A Blocks / JavaScript code editor for the Calliope mini powered by Microsoft MakeCode.",
"corepkg": "core",
2016-03-10 23:01:04 +01:00
"bundleddirs": [
"libs/core",
"libs/radio",
"libs/devices",
"libs/bluetooth",
"libs/radio-broadcast"
],
"cloud": {
"workspace": false,
"packages": true,
"sharing": true,
"thumbnails": true,
"publishing": true,
"importing": true,
"preferredPackages": [
"Microsoft/pxt-neopixel"
],
2019-12-17 17:13:39 +01:00
"githubPackages": true,
"cloudProviders": {
"github": {}
}
},
"compile": {
2017-02-02 12:18:18 +01:00
"isNative": true,
2016-04-08 19:49:43 +02:00
"hasHex": true,
2016-09-30 01:13:33 +02:00
"deployDrives": "MINI",
"driveName": "MINI",
2016-10-11 18:08:31 +02:00
"hexMimeType": "application/x-calliope-hex",
2017-12-14 18:57:49 +01:00
"openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]",
"flashUsableEnd": 245760,
"flashEnd": 245760,
"flashCodeAlign": 1024,
"floatingPoint": true,
"taggedInts": true,
"utf8": false,
"gc": true,
"imageRefTag": 9,
"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*\\.\\s*uartRead\\s*\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
"bluetooth\\s*\\.\\s*uartWrite\\s*\\((.*?)\\)": "bluetooth.uartWriteUntil($1)",
"input\\s*\\.\\s*calibrate\\s*\\(": "input.calibrateCompass(",
"radio\\s*\\.\\s*onDataPacketReceived\\(\\s*\\(\\{\\s*receivedNumber\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedNumber(function (receivedNumber) {",
"radio\\s*\\.\\s*onDataPacketReceived\\(\\s*\\(\\{\\s*receivedString: name, receivedNumber: value\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedValue(function (name, value) {",
"radio\\s*\\.\\s*onDataPacketReceived\\(\\s*\\(\\{\\s*receivedString\\s*\\}\\)\\s*=>\\s*\\{": "radio.onReceivedString(function (receivedString) {",
"Math\\s*\\.\\s*random\\s*\\(": "Math.randomRange(0, "
}
},
{
"type": "blockId",
"map": {
"device_get_acceleration": "device_acceleration"
}
},
{
"type": "blockValue",
"map": {
"device_print_message.message": "text"
}
}
],
"0.0.0 - 1.4.12": [
{
"type": "api",
"map": {
"DisplayMode\\s*\\.\\s*BackAndWhite": "DisplayMode.BlackAndWhite"
}
}
]
},
"hidSelectors": [
{
"usagePage": "0xFF00",
"usageId": "0x0001",
"vid": "0x0d28",
"pid": "0x0204"
}
],
"webUSB": true,
"useNewFunctions": true
},
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-23 08:17:39 +01:00
"variablesBlocks": true,
2017-02-07 07:28:44 +01:00
"textBlocks": true,
2017-12-14 17:59:39 +01:00
"listsBlocks": true,
2019-11-15 15:21:31 +01:00
"functionBlocks": true,
"functionsOptions": {
"useNewFunctions": true,
"extraFunctionEditorTypes": [
{
"typeName": "game.LedSprite",
"label": "LedSprite",
"icon": "send",
"defaultName": "sprite"
}
]
},
2016-12-23 08:17:39 +01:00
"onStartColor": "#54C9C9",
2017-12-14 19:34:04 +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,
2017-12-14 18:53:08 +01:00
"enableTrace": true,
2016-09-09 18:59:07 +02:00
"streams": true,
2016-10-13 07:44:05 +02:00
"aspectRatio": 1.13,
2016-11-10 19:06:38 +01:00
"parts": false,
"partsAspectRatio": 0.69,
"boardDefinition": {
2016-09-27 00:05:06 +02:00
"visual": "calliope",
"gpioPinBlocks": [
[
2016-10-25 08:17:16 +02:00
"EDGE_P0"
],
[
2016-10-25 08:17:16 +02:00
"EDGE_P1"
],
[
2016-10-25 08:17:16 +02:00
"EDGE_P2"
],
[
2016-10-25 08:17:16 +02:00
"EDGE_P3"
],
[
2016-10-25 08:17:16 +02:00
"C_P4",
"C_P5",
"C_P6",
"C_P7"
],
[
2016-10-25 08:17:16 +02:00
"C_P8",
"C_P9",
"C_P10",
"C_P11",
"C_P12"
],
[
2016-10-25 08:17:16 +02:00
"C_P16"
]
],
"gpioPinMap": {
2016-10-25 08:17:16 +02:00
"P0": "EDGE_P0",
"P1": "EDGE_P1",
"P2": "EDGE_P2",
"P3": "EDGE_P3",
2016-11-10 21:00:03 +01:00
"C4": "C_P4",
"C5": "C_P5",
"C6": "C_P6",
"C7": "C_P7",
"C8": "C_P8",
"C9": "C_P9",
"C10": "C_P10",
"C11": "C_P11",
"C12": "C_P12",
"C13": "C_P13",
"C14": "C_P14",
"C15": "C_P15",
"C19": "C_P19",
"C20": "C_P20",
"EXT_PWR":"EXT_PWR",
"SPKR":"SPKR",
"BTN_A": "BTN_A",
2016-10-14 15:46:56 +02:00
"BTN_B": "BTN_B",
2016-11-10 21:20:48 +01:00
"MOTOR1": "M_OUT1",
"MOTOR2": "M_OUT2"
},
"spiPins": {
2016-11-14 10:12:35 +01:00
"MOSI": "C_P15",
"MISO": "C_P14",
"SCK": "C_P13"
},
"i2cPins": {
2016-11-10 21:20:48 +01:00
"SDA": "C_P20",
"SCL": "C_P19"
},
"analogInPins": [
"P1",
"P2",
2016-11-10 21:00:03 +01:00
"C4",
"C5",
2017-02-01 09:58:49 +01:00
"C6"
],
"groundPins": [
2016-10-25 08:17:16 +02:00
"EDGE_GND"
],
"threeVoltPins": [
2016-10-25 08:17:16 +02:00
"EDGE_VCC"
],
"attachPowerOnRight": true,
"onboardComponents": [
2016-09-30 01:13:33 +02:00
"accelerometer",
"buttonpair",
"ledmatrix",
2016-09-27 00:05:06 +02:00
"speaker",
2016-09-30 01:13:33 +02:00
"bluetooth",
"thermometer",
"compass",
"speaker",
2016-09-27 00:05:06 +02:00
"microphone",
"rgbled"
],
"useCrocClips": true,
"marginWhenBreadboarding": [
0,
0,
80,
0
]
}
},
"compileService": {
"yottaTarget": "calliope-mini-classic-gcc",
"yottaCorePackage": "microbit",
"githubCorePackage": "calliope-mini/microbit",
"gittag": "pxtgc-0",
2017-02-06 19:10:42 +01:00
"serviceId": "calliope"
2019-11-15 15:21:31 +01:00
},
"serial": {
"nameFilter": "^(mbed Serial Port|DAPLink CMSIS-DAP)",
"log": true,
"useEditor": true,
"editorTheme": {
"graphBackground": "#d9d9d9",
"lineColors": [
"#6633cc",
"#3891A6",
"#3454D1",
"#EF767A",
"#F46197",
"#107C10"
]
},
"vendorId": "0x0d28",
"productId": "0x0204",
"rawHID": true
},
"appTheme": {
2016-10-04 03:54:07 +02:00
"accentColor": "#249899",
2016-10-13 19:21:56 +02:00
"defaultLocale": "de",
2016-11-03 06:48:34 +01:00
"logoUrl": "https://calliope.cc/",
2016-10-14 17:00:34 +02:00
"logo": "./static/Calliopeminieditor.svg",
2016-11-03 16:43:25 +01:00
"docsLogo": "./static/Logo_Calliope_Woman.svg",
2016-09-30 01:23:37 +02:00
"portraitLogo": "./static/Logo_Calliope_Woman.svg",
2016-10-14 17:00:34 +02:00
"footerLogo": "./static/Calliopeminieditor.svg",
2016-11-03 06:48:34 +01:00
"cardLogo": "./static/icons/apple-touch-icon.png",
"appLogo": "./static/icons/apple-touch-icon.png",
"organization": "Microsoft MakeCode",
"organizationUrl": "https://makecode.com/",
"organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
"organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
"homeScreenHero": "./static/hero.png",
"homeUrl": "https://makecode.calliope.cc/",
"embedUrl": "https://makecode.calliope.cc/",
"shareUrl": "https://makecode.calliope.cc/",
2016-05-11 15:45:45 +02:00
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
2016-09-27 00:05:06 +02:00
"githubUrl": "https://github.com/Microsoft/pxt-calliope",
2016-11-13 22:09:57 +01:00
"boardName": "Calliope mini",
"driveDisplayName": "MINI",
"appStoreID": "1309545545",
"mobileSafariDownloadProtocol": "microbithex://?data",
"crowdinProject": "kindscript",
"extendEditor": true,
"extendFieldEditors": true,
"enableTrace": true,
"ignoreDocsErrors": true,
"experiments": [
"allowPackageExtensions",
"instructions",
"debugger",
"debugExtensionCode",
"bluetoothUartConsole",
"bluetoothPartialFlashing",
"simScreenshot",
"simGif",
"qrCode",
"githubBlocksDiff"
],
"bluetoothUartFilters": [
{
"namePrefix": "Calliope mini"
}
],
"docMenu": [
{
"name": "Support",
"path": "https://calliope.cc/faq"
},
{
"name": "Reference",
"path": "/reference"
},
{
"name": "Blocks",
"path": "/blocks"
},
{
"name": "JavaScript",
"path": "/javascript"
},
{
"name": "Hardware",
"path": "/device"
},
{
"name": "Buy",
"path": "https://shop.calliope.cc/"
}
],
"hasReferenceDocs": false,
"invertedMenu": true,
"coloredToolbox": true,
"monacoToolbox": true,
2019-11-15 15:21:31 +01:00
"hasAudio": true,
"blocklyOptions": {
2016-12-23 07:36:06 +01:00
"grid": {
"spacing": 45,
"length": 7,
"colour": "rgba(189, 195, 199, 0.30)",
"snap": false
}
2017-08-23 16:48:06 +02:00
},
"blockColors": {
"basic": "#54C9C9",
"input": "#C94600",
"music": "#DF4600",
"led": "#8169E6",
"radio": "#E3008C",
"motors": "#008272",
"logic": "#006970",
"loops": "#107C10",
"math": "#712672",
"variables": "#A80000",
"text": "#996600",
"advanced": "#DDDDDD",
"functions": "#005A9E",
"arrays": "#E65722"
},
"highContrast": true,
"greenScreen": true,
"print": true,
2018-04-18 00:02:13 +02:00
"selectLanguage": true,
2018-03-30 00:43:44 +02:00
"availableLocales": [
2018-04-18 00:02:13 +02:00
"en",
"ar",
"cs",
"da",
2018-03-30 00:43:44 +02:00
"de",
2018-04-18 00:02:13 +02:00
"el",
"es-ES",
"fi",
2018-04-18 00:02:13 +02:00
"fr",
"hu",
"is",
2018-04-18 00:02:13 +02:00
"it",
"ja",
2018-04-18 00:02:13 +02:00
"ko",
"nl",
"no",
"pl",
"pt-BR",
"pt-PT",
"ru",
"si-LK",
"sk",
2018-04-18 00:02:13 +02:00
"sv-SE",
"tr",
"uk",
"zh-CN",
"zh-TW"
2019-11-15 15:21:31 +01:00
],
"monacoColors": {
"editor.background": "#ecf0f1"
},
2019-11-15 15:21:31 +01:00
"browserDbPrefixes": {
"1": "v1",
2019-11-15 15:21:31 +01:00
"2": "v2"
},
"editorVersionPaths": {
"0": "v0"
},
"showProjectSettings": true,
"scriptManager": true,
"simGifTransparent": "rgba(0,0,0,0)",
"simGifMaxFrames": 44,
"simScreenshotMaxUriLength": 300000,
"importExtensionFiles": true
},
"queryVariants": {
"hidemenu": {
"appTheme": {
"hideMenuBar": true
}
}
}
2019-11-15 15:21:31 +01:00
}