3e0c9b43a2
* change simulator svg
* change radio image
* Remove google fonts cdn
* change color of 'advanced' button
* font fix
* font fix 2
* display fix
* change fullsceen simulator bg
* Continuous servo
* handle continuous state
* adding shims
* update rendering for continuous servos
* fixing sim
* fix sig
* typo
* fix sim
* bump pxt
* bump pxt
* rerun travis
* Input blocks revision
- add Button and Pin event types
- merge onPinPressed & onPinReleased in new onPinEvent function
- create new onButtonEvent function
* update input blocks in docs and tests
* remove device_pin_release block
* Hide DAL.x behind Enum
* bring back deprecated blocks, but hide them
* shims and locales files
* fix input.input. typing
* remove buildpr
* bump V3
* update simulator aspect ratio
* add Loudness Block
* revoke loudness block
* Adds soundLevel
To be replaced by pxt-common-packages when DAL is updated.
* Remove P0 & P3 from AnalogPin
* Fix Sound and replace AnalogPin.P0
* remove approved extensions
* V4 Updates from remote Repo
* locales
* add storage functions
* fix storage functions
* fix int/float values
* decrease decimal precision
* reorder blocks
* Update BLE Settings and Storage Blocks
* Fetch MicroBit changes up to v4.0.18
* Update timing for LED Matrix usage
* use 32kb ram (mini v2)
* resize gatt table
* Revert "use 32kb ram (mini v2)"
This reverts commit 4b15592f0f
.
* fix missleading indentation
* add support for 32kb and 16kb ram
* only MIT extensions in preferredRepos
* remove extensions without MIT License file
* add updated extensions
* add extensions with MIT license
Co-authored-by: Juri <gitkraken@juriwolf.de>
Co-authored-by: Juri <info@juriwolf.de>
499 lines
16 KiB
JSON
499 lines
16 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/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",
|
||
"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": {
|
||
"sendBufferAsm": "light::sendWS2812Buffer"
|
||
},
|
||
"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@https://github.com/calliope-mini/target-calliope-mini-classic-gcc#v1.2.3",
|
||
"yottaCorePackage": "microbit",
|
||
"githubCorePackage": "calliope-mini/microbit",
|
||
"gittag": "v2.2.0-rc6-calliope.rc3-iss0.3",
|
||
"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": 60,
|
||
"onStartGroup": "Control"
|
||
},
|
||
"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": {
|
||
"imageUrl": "./static/hero.jpg",
|
||
"name": "Flashing Heart",
|
||
"url": "/calliope/firststeps/firstSteps",
|
||
"description": "Let's go – start your first tutorial with Calliope mini",
|
||
"cardType": "tutorial"
|
||
},
|
||
"homeScreenHeroGallery": "/hero-banner",
|
||
"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": "makecode",
|
||
"extendEditor": true,
|
||
"extendFieldEditors": true,
|
||
"enableTrace": true,
|
||
"ignoreDocsErrors": false,
|
||
"errorList": true,
|
||
"allowPackageExtensions": true,
|
||
"addNewTypeScriptFile": true,
|
||
"experiments": [
|
||
"accessibleBlocks",
|
||
"debugExtensionCode",
|
||
"bluetoothUartConsole",
|
||
"bluetoothPartialFlashing",
|
||
"simScreenshot",
|
||
"simGif",
|
||
"blocksErrorList"
|
||
],
|
||
"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",
|
||
"cy",
|
||
"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",
|
||
"sr",
|
||
"sv-SE",
|
||
"tr",
|
||
"uk",
|
||
"zh-CN",
|
||
"zh-TW"
|
||
],
|
||
"monacoColors": {
|
||
"editor.background": "#ecf0f1"
|
||
},
|
||
"browserDbPrefixes": {
|
||
"1": "v1",
|
||
"2": "v2",
|
||
"3": "v3",
|
||
"4": "v4"
|
||
},
|
||
"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",
|
||
"immersiveReader": true,
|
||
"tutorialCodeValidation": true,
|
||
"downloadDialogTheme": {
|
||
"webUSBDeviceNames": ["Calliope mini CMSIS-DAP", "DAPLink CMSIS-DAP"],
|
||
"minimumFirmwareVersion": "0249",
|
||
"deviceIcon": "xicon microbit",
|
||
"deviceSuccessIcon": "xicon microbit-check",
|
||
|
||
"downloadMenuHelpURL": "/device/usb",
|
||
"downloadHelpURL": "/device/usb",
|
||
"firmwareHelpURL": "/device/usb/webusb/troubleshoot",
|
||
"troubleshootWebUSBHelpURL": "/device/usb/webusb/troubleshoot",
|
||
"incompatibleHardwareHelpURL": "/device/v2",
|
||
|
||
"dragFileImage": "./static/download/transfer.png",
|
||
"connectDeviceImage": "./static/download/connect.png",
|
||
"selectDeviceImage": "./static/download/pair.png",
|
||
"connectionSuccessImage": "/static/download/connected.png",
|
||
"checkFirmwareVersionImage": "./static/download/firmware.png",
|
||
"checkUSBCableImage": "./static/download/connect.pn",
|
||
"incompatibleHardwareImage": "/static/download/incompatible.png"
|
||
},
|
||
"winAppDeprImage": "/static/winapp.PNG",
|
||
"showWinAppDeprBanner": false
|
||
},
|
||
"queryVariants": {
|
||
"hidemenu": {
|
||
"appTheme": {
|
||
"hideMenuBar": true
|
||
}
|
||
},
|
||
"androidapp": {
|
||
"compile": {
|
||
"webUSB": false
|
||
},
|
||
"appTheme": {
|
||
"disableBlobObjectDownload": true
|
||
}
|
||
}
|
||
},
|
||
"uploadDocs": true
|
||
} |