{ "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/servo", "libs/radio-broadcast", "libs/microphone" ], "cloud": { "workspace": false, "packages": true, "sharing": true, "thumbnails": true, "publishing": true, "importing": true, "githubPackages": true, "cloudProviders": { "github": {} } }, "compile": { "isNative": false, "hasHex": true, "deployDrives": "MINI", "driveName": "MINI", "hexMimeType": "application/x-microbit-hex", "moveHexEof": true, "openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf51.cfg]", "flashUsableEnd": 242688, "flashEnd": 242688, "flashCodeAlign": 1024, "floatingPoint": true, "taggedInts": true, "utf8": false, "gc": true, "imageRefTag": 9, "shimRenames": { }, "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": "0x1366", "pid": "0x1025" } ], "webUSB": false, "useNewFunctions": true }, "compileService": { "yottaTarget": "calliope-mini-classic-gcc", "yottaCorePackage": "microbit", "githubCorePackage": "calliope-mini/microbit", "gittag": "v2.2.0-rc6-calliope.rc3", "serviceId": "calliope", "dockerImage": "pext/yotta:latest" }, "runtime": { "mathBlocks": true, "loopsBlocks": true, "logicBlocks": true, "variablesBlocks": true, "textBlocks": true, "listsBlocks": true, "functionBlocks": true, "breakBlock": true, "continueBlock": true, "functionsOptions": { "useNewFunctions": true, "extraFunctionEditorTypes": [ { "typeName": "game.LedSprite", "label": "LedSprite", "icon": "send", "defaultName": "sprite" }, { "typeName": "Image", "label": "Image", "icon": "image outline", "defaultName": "image" } ] }, "onStartColor": "#54C9C9", "onStartNamespace": "basic", "onStartWeight": 54 }, "simulator": { "autoRun": true, "streams": false, "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" ], "pinStyles": { "P0": "croc", "P1": "croc", "P2": "croc", "P3": "croc", "EDGE_GND": "croc", "EDGE_VCC": "croc" }, "marginWhenBreadboarding": [ 0, 0, 80, 0 ] } }, "serial": { "nameFilter": "^(Calliope mini|mbed Serial Port|DAPLink CMSIS-DAP)", "log": true, "useEditor": true, "editorTheme": { "graphBackground": "#d9d9d9", "lineColors": [ "#6633cc", "#3891A6", "#3454D1", "#EF767A", "#F46197", "#107C10" ] }, "vendorId": "0x1366", "productId": "0x1025", "rawHID": 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", "crowdinProject": "kindscript", "extendEditor": true, "extendFieldEditors": true, "enableTrace": true, "experiments": [ "allowPackageExtensions", "instructions", "debugExtensionCode", "bluetoothUartConsole", "bluetoothPartialFlashing", "simScreenshot", "simGif" ], "bluetoothUartFilters": [ { "namePrefix": "Calliope mini" } ], "docMenu": [ { "name": "Support", "path": "https://calliope.cc/en/impressum" }, { "name": "Reference", "path": "/about" }, { "name": "Hardware", "path": "https://calliope.cc/en/calliope-mini/tech-facts/" }, { "name": "Buy", "path": "https://shop.calliope.cc/" }, { "name": "Forum", "path": "https://forum.calliope.cc/" } ], "hasReferenceDocs": false, "hideHomeDetailsVideo": true, "invertedMenu": true, "coloredToolbox": true, "monacoToolbox": true, "hasAudio": true, "socialOptions": { "orgTwitterHandle": "calliopemini", "hashtags": "calliopemini", "discourse": "https://forum.calliope.cc/", "discourseCategory": "Probleme-Software" }, "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" }, "blocksCollapsing": true, "highContrast": true, "greenScreen": true, "print": true, "selectLanguage": true, "availableLocales": [ "en", "ar", "bg", "cs", "da", "de", "el", "es-ES", "fi", "fr", "he", "hu", "is", "it", "ja", "ko", "nl", "nb", "nn-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", "3": "v3" }, "editorVersionPaths": { "0": "v0" }, "showProjectSettings": true, "scriptManager": true, "debugger": true, "simGifTransparent": "rgba(0,0,0,0)", "simGifMaxFrames": 44, "simScreenshotMaxUriLength": 300000, "qrCode": true, "importExtensionFiles": true, "nameProjectFirst": true, "githubEditor": true, "tutorialBlocksDiff": false, "chooseLanguageRestrictionOnNewProject": true, "openProjectNewTab": true, "python": true, "appFlashingTroubleshoot": "/device/windows-app/troubleshoot" }, "queryVariants": { "hidemenu": { "appTheme": { "hideMenuBar": true } } }, "uploadDocs": true, "ignoreDocsErrors": true }