a4f86fb7ac
* change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button
434 lines
13 KiB
JSON
434 lines
13 KiB
JSON
{
|
|
"id": "calliopemini",
|
|
"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",
|
|
"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"
|
|
],
|
|
"githubPackages": true,
|
|
"cloudProviders": {
|
|
"github": {}
|
|
}
|
|
},
|
|
"compile": {
|
|
"isNative": true,
|
|
"hasHex": true,
|
|
"deployDrives": "MINI",
|
|
"driveName": "MINI",
|
|
"hexMimeType": "application/x-calliope-hex",
|
|
"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
|
|
},
|
|
"runtime": {
|
|
"mathBlocks": true,
|
|
"loopsBlocks": true,
|
|
"logicBlocks": true,
|
|
"variablesBlocks": true,
|
|
"textBlocks": true,
|
|
"listsBlocks": true,
|
|
"functionBlocks": true,
|
|
"functionsOptions": {
|
|
"useNewFunctions": true,
|
|
"extraFunctionEditorTypes": [
|
|
{
|
|
"typeName": "game.LedSprite",
|
|
"label": "LedSprite",
|
|
"icon": "send",
|
|
"defaultName": "sprite"
|
|
}
|
|
]
|
|
},
|
|
"onStartColor": "#54C9C9",
|
|
"onStartNamespace": "basic",
|
|
"onStartWeight": 54
|
|
},
|
|
"simulator": {
|
|
"autoRun": true,
|
|
"enableTrace": true,
|
|
"streams": true,
|
|
"aspectRatio": 1.13,
|
|
"parts": false,
|
|
"partsAspectRatio": 0.69,
|
|
"boardDefinition": {
|
|
"visual": "calliope",
|
|
"gpioPinBlocks": [
|
|
[
|
|
"EDGE_P0"
|
|
],
|
|
[
|
|
"EDGE_P1"
|
|
],
|
|
[
|
|
"EDGE_P2"
|
|
],
|
|
[
|
|
"EDGE_P3"
|
|
],
|
|
[
|
|
"C_P4",
|
|
"C_P5",
|
|
"C_P6",
|
|
"C_P7"
|
|
],
|
|
[
|
|
"C_P8",
|
|
"C_P9",
|
|
"C_P10",
|
|
"C_P11",
|
|
"C_P12"
|
|
],
|
|
[
|
|
"C_P16"
|
|
]
|
|
],
|
|
"gpioPinMap": {
|
|
"P0": "EDGE_P0",
|
|
"P1": "EDGE_P1",
|
|
"P2": "EDGE_P2",
|
|
"P3": "EDGE_P3",
|
|
"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",
|
|
"BTN_B": "BTN_B",
|
|
"MOTOR1": "M_OUT1",
|
|
"MOTOR2": "M_OUT2"
|
|
},
|
|
"spiPins": {
|
|
"MOSI": "C_P15",
|
|
"MISO": "C_P14",
|
|
"SCK": "C_P13"
|
|
},
|
|
"i2cPins": {
|
|
"SDA": "C_P20",
|
|
"SCL": "C_P19"
|
|
},
|
|
"analogInPins": [
|
|
"P1",
|
|
"P2",
|
|
"C4",
|
|
"C5",
|
|
"C6"
|
|
],
|
|
"groundPins": [
|
|
"EDGE_GND"
|
|
],
|
|
"threeVoltPins": [
|
|
"EDGE_VCC"
|
|
],
|
|
"attachPowerOnRight": true,
|
|
"onboardComponents": [
|
|
"accelerometer",
|
|
"buttonpair",
|
|
"ledmatrix",
|
|
"speaker",
|
|
"bluetooth",
|
|
"thermometer",
|
|
"compass",
|
|
"speaker",
|
|
"microphone",
|
|
"rgbled"
|
|
],
|
|
"useCrocClips": true,
|
|
"marginWhenBreadboarding": [
|
|
0,
|
|
0,
|
|
80,
|
|
0
|
|
]
|
|
}
|
|
},
|
|
"compileService": {
|
|
"yottaTarget": "calliope-mini-classic-gcc",
|
|
"yottaCorePackage": "microbit",
|
|
"githubCorePackage": "calliope-mini/microbit",
|
|
"gittag": "pxtgc-0",
|
|
"serviceId": "calliope"
|
|
},
|
|
"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
|
|
},
|
|
"ignoreDocsErrors": true,
|
|
"appTheme": {
|
|
"accentColor": "#249899",
|
|
"defaultLocale": "de",
|
|
"logoUrl": "https://calliope.cc/",
|
|
"logo": "./static/Calliopeminieditor.svg",
|
|
"docsLogo": "./static/Logo_Calliope_Woman.svg",
|
|
"portraitLogo": "./static/Logo_Calliope_Woman.svg",
|
|
"footerLogo": "./static/Calliopeminieditor.svg",
|
|
"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.jpg",
|
|
"homeUrl": "https://makecode.calliope.cc/",
|
|
"embedUrl": "https://makecode.calliope.cc/",
|
|
"shareUrl": "https://makecode.calliope.cc/",
|
|
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
|
|
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
|
|
"githubUrl": "https://github.com/Microsoft/pxt-calliope",
|
|
"boardName": "Calliope mini",
|
|
"driveDisplayName": "MINI",
|
|
"appStoreID": "1309545545",
|
|
"mobileSafariDownloadProtocol": "microbithex://?data",
|
|
"crowdinProject": "kindscript",
|
|
"extendEditor": true,
|
|
"extendFieldEditors": true,
|
|
"enableTrace": 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,
|
|
"hasAudio": true,
|
|
"blocklyOptions": {
|
|
"grid": {
|
|
"spacing": 45,
|
|
"length": 7,
|
|
"colour": "rgba(189, 195, 199, 0.30)",
|
|
"snap": false
|
|
}
|
|
},
|
|
"blockColors": {
|
|
"basic": "#54C9C9",
|
|
"input": "#C94600",
|
|
"music": "#DF4600",
|
|
"led": "#8169E6",
|
|
"radio": "#E3008C",
|
|
"motors": "#008272",
|
|
"logic": "#006970",
|
|
"loops": "#107C10",
|
|
"math": "#712672",
|
|
"variables": "#A80000",
|
|
"text": "#996600",
|
|
"advanced": "#42495f",
|
|
"functions": "#005A9E",
|
|
"arrays": "#E65722"
|
|
},
|
|
"highContrast": true,
|
|
"greenScreen": true,
|
|
"print": true,
|
|
"selectLanguage": true,
|
|
"availableLocales": [
|
|
"en",
|
|
"ar",
|
|
"cs",
|
|
"da",
|
|
"de",
|
|
"el",
|
|
"es-ES",
|
|
"fi",
|
|
"fr",
|
|
"hu",
|
|
"is",
|
|
"it",
|
|
"ja",
|
|
"ko",
|
|
"nl",
|
|
"no",
|
|
"pl",
|
|
"pt-BR",
|
|
"pt-PT",
|
|
"ru",
|
|
"si-LK",
|
|
"sk",
|
|
"sv-SE",
|
|
"tr",
|
|
"uk",
|
|
"zh-CN",
|
|
"zh-TW"
|
|
],
|
|
"monacoColors": {
|
|
"editor.background": "#ecf0f1"
|
|
},
|
|
"browserDbPrefixes": {
|
|
"1": "v1",
|
|
"2": "v2"
|
|
},
|
|
"editorVersionPaths": {
|
|
"0": "v0"
|
|
},
|
|
"showProjectSettings": true,
|
|
"scriptManager": true,
|
|
"simGifTransparent": "rgba(0,0,0,0)",
|
|
"simGifMaxFrames": 44,
|
|
"simScreenshotMaxUriLength": 300000,
|
|
"importExtensionFiles": true,
|
|
"githubEditor": true,
|
|
"tutorialBlocksDiff": true
|
|
},
|
|
"queryVariants": {
|
|
"hidemenu": {
|
|
"appTheme": {
|
|
"hideMenuBar": true
|
|
}
|
|
}
|
|
},
|
|
"disableDocsUpload": true
|
|
} |