2016-03-11 01:01:04 +03:00
|
|
|
{
|
2016-09-27 01:05:06 +03:00
|
|
|
"id": "calliope",
|
|
|
|
"name": " calliope",
|
2016-10-11 00:43:33 +03:00
|
|
|
"nickname": "mini",
|
2016-09-27 01:05:06 +03:00
|
|
|
"title": "calliope - Blocks / Javascript editor",
|
|
|
|
"description": "A Blocks / JavaScript code editor for the calliope.",
|
2016-10-11 02:21:50 +03:00
|
|
|
"corepkg": "core",
|
2016-03-11 01:01:04 +03:00
|
|
|
"bundleddirs": [
|
2016-10-11 02:21:50 +03:00
|
|
|
"libs/core",
|
|
|
|
"libs/radio",
|
|
|
|
"libs/devices",
|
|
|
|
"libs/bluetooth"
|
2016-04-05 04:03:52 +03:00
|
|
|
],
|
|
|
|
"cloud": {
|
|
|
|
"workspace": false,
|
2016-08-09 21:02:23 +03:00
|
|
|
"packages": true,
|
2016-10-11 00:43:33 +03:00
|
|
|
"sharing": true,
|
|
|
|
"publish": true,
|
2016-08-09 21:02:23 +03:00
|
|
|
"preferredPackages": [
|
2016-10-07 12:53:18 +03:00
|
|
|
],
|
|
|
|
"githubPackages": true
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
|
|
|
"blocksprj": {
|
|
|
|
"id": "blocksprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} block",
|
|
|
|
"dependencies": {
|
2016-10-11 02:21:50 +03:00
|
|
|
"core": "*",
|
|
|
|
"radio": "*"
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
|
|
|
"main.blocks",
|
2016-08-26 19:58:13 +03:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-05 04:03:52 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-05-25 08:18:33 +03:00
|
|
|
"main.blocks": "<xml xmlns=\"http://www.w3.org/1999/xhtml\">\n<block type=\"device_forever\">\n<statement name=\"HANDLER\">\n<block type=\"device_show_leds\">\n<field name=\"LED00\">FALSE</field>\n<field name=\"LED10\">FALSE</field>\n<field name=\"LED20\">FALSE</field>\n<field name=\"LED30\">FALSE</field>\n<field name=\"LED40\">FALSE</field>\n<field name=\"LED01\">FALSE</field>\n<field name=\"LED11\">TRUE</field>\n<field name=\"LED21\">FALSE</field>\n<field name=\"LED31\">TRUE</field>\n<field name=\"LED41\">FALSE</field>\n<field name=\"LED02\">FALSE</field>\n<field name=\"LED12\">FALSE</field>\n<field name=\"LED22\">FALSE</field>\n<field name=\"LED32\">FALSE</field>\n<field name=\"LED42\">FALSE</field>\n<field name=\"LED03\">TRUE</field>\n<field name=\"LED13\">FALSE</field>\n<field name=\"LED23\">FALSE</field>\n<field name=\"LED33\">FALSE</field>\n<field name=\"LED43\">TRUE</field>\n<field name=\"LED04\">FALSE</field>\n<field name=\"LED14\">TRUE</field>\n<field name=\"LED24\">TRUE</field>\n<field name=\"LED34\">TRUE</field>\n<field name=\"LED44\">FALSE</field>\n<next>\n<block type=\"device_show_leds\">\n<field name=\"LED00\">FALSE</field>\n<field name=\"LED10\">FALSE</field>\n<field name=\"LED20\">FALSE</field>\n<field name=\"LED30\">FALSE</field>\n<field name=\"LED40\">FALSE</field>\n<field name=\"LED01\">FALSE</field>\n<field name=\"LED11\">FALSE</field>\n<field name=\"LED21\">FALSE</field>\n<field name=\"LED31\">FALSE</field>\n<field name=\"LED41\">FALSE</field>\n<field name=\"LED02\">FALSE</field>\n<field name=\"LED12\">FALSE</field>\n<field name=\"LED22\">FALSE</field>\n<field name=\"LED32\">FALSE</field>\n<field name=\"LED42\">FALSE</field>\n<field name=\"LED03\">FALSE</field>\n<field name=\"LED13\">FALSE</field>\n<field name=\"LED23\">FALSE</field>\n<field name=\"LED33\">FALSE</field>\n<field name=\"LED43\">FALSE</field>\n<field name=\"LED04\">FALSE</field>\n<field name=\"LED14\">FALSE</field>\n<field name=\"LED24\">FALSE</field>\n<field name=\"LED34\">FALSE</field>\n<field name=\"LED44\">FALSE</field>\n</block>\n</next>\n</block>\n</statement>\n</block>\n</xml>",
|
2016-08-26 19:58:13 +03:00
|
|
|
"main.ts": "basic.forever(() => {\r\n basic.showLeds(`\r\n . # . # .\r\n # . # . #\r\n # . . . #\r\n . # . # .\r\n . . # . .\r\n `)\r\n basic.showLeds(`\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n . . . . .\r\n `)\r\n})\r\n",
|
|
|
|
"README.md": ""
|
2016-04-05 04:03:52 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tsprj": {
|
|
|
|
"id": "tsprj",
|
|
|
|
"config": {
|
|
|
|
"name": "{0} bit",
|
|
|
|
"dependencies": {
|
2016-10-11 02:21:50 +03:00
|
|
|
"core": "*",
|
|
|
|
"radio": "*"
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
|
|
|
"description": "",
|
|
|
|
"files": [
|
2016-08-26 19:58:13 +03:00
|
|
|
"main.ts",
|
|
|
|
"README.md"
|
2016-04-05 04:03:52 +03:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"files": {
|
2016-08-26 19:58:13 +03:00
|
|
|
"main.ts": "basic.showLeds(`\r\n . . . . .\r\n . # . # .\r\n . . . . .\r\n # . . . #\r\n . # # # .\r\n `);",
|
|
|
|
"README.md": ""
|
2016-04-05 04:03:52 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"compile": {
|
|
|
|
"isNative": false,
|
2016-04-08 20:49:43 +03:00
|
|
|
"hasHex": true,
|
2016-09-30 02:13:33 +03:00
|
|
|
"deployDrives": "MINI",
|
|
|
|
"driveName": "MINI",
|
2016-10-11 19:08:31 +03:00
|
|
|
"hexMimeType": "application/x-calliope-hex",
|
2016-10-11 02:21:50 +03:00
|
|
|
"upgrades": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"map": {
|
|
|
|
"microbit": "core",
|
|
|
|
"microbit-bluetooth": "bluetooth",
|
|
|
|
"microbit-radio": "radio",
|
|
|
|
"microbit-devices": "devices",
|
|
|
|
"microbit-led": "",
|
|
|
|
"microbit-music": "",
|
|
|
|
"microbit-game": "",
|
|
|
|
"microbit-pins": "",
|
|
|
|
"microbit-serial": ""
|
|
|
|
}
|
2016-10-21 20:49:04 +03:00
|
|
|
},
|
2016-10-19 07:36:42 +03:00
|
|
|
{
|
|
|
|
"type": "api",
|
|
|
|
"map": {
|
2016-10-21 20:49:04 +03:00
|
|
|
"bluetooth\\.uartRead\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
|
|
|
|
"bluetooth\\.uartWrite\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
|
2016-10-19 07:36:42 +03:00
|
|
|
}
|
2016-10-11 02:21:50 +03:00
|
|
|
}
|
|
|
|
]
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
2016-04-22 08:46:40 +03:00
|
|
|
"runtime": {
|
2016-05-11 21:39:45 +03:00
|
|
|
"mathBlocks": true,
|
|
|
|
"loopsBlocks": true,
|
|
|
|
"logicBlocks": true,
|
|
|
|
"variablesBlocks": true
|
2016-04-22 08:46:40 +03:00
|
|
|
},
|
2016-04-05 04:03:52 +03:00
|
|
|
"simulator": {
|
2016-05-05 08:44:11 +03:00
|
|
|
"autoRun": true,
|
2016-09-09 19:59:07 +03:00
|
|
|
"streams": true,
|
2016-10-13 08:44:05 +03:00
|
|
|
"aspectRatio": 1.13,
|
2016-09-09 11:39:52 +03:00
|
|
|
"parts": true,
|
2016-08-31 03:18:03 +03:00
|
|
|
"partsAspectRatio": 0.69,
|
2016-09-14 01:32:12 +03:00
|
|
|
"boardDefinition": {
|
2016-09-27 01:05:06 +03:00
|
|
|
"visual": "calliope",
|
2016-09-14 01:32:12 +03:00
|
|
|
"gpioPinBlocks": [
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_P0"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_P1"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_P2"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_P3"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"C_P4",
|
|
|
|
"C_P5",
|
|
|
|
"C_P6",
|
|
|
|
"C_P7"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"C_P8",
|
|
|
|
"C_P9",
|
|
|
|
"C_P10",
|
|
|
|
"C_P11",
|
|
|
|
"C_P12"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
[
|
2016-10-25 09:17:16 +03:00
|
|
|
"C_P16"
|
2016-09-14 01:32:12 +03:00
|
|
|
]
|
|
|
|
],
|
|
|
|
"gpioPinMap": {
|
2016-10-25 09:17:16 +03:00
|
|
|
"P0": "EDGE_P0",
|
|
|
|
"P1": "EDGE_P1",
|
|
|
|
"P2": "EDGE_P2",
|
|
|
|
"P3": "EDGE_P3",
|
|
|
|
"P4": "C_P4",
|
|
|
|
"P5": "C_P5",
|
|
|
|
"P6": "C_P6",
|
|
|
|
"P7": "C_P7",
|
|
|
|
"P8": "C_P8",
|
|
|
|
"P9": "C_P9",
|
|
|
|
"P10": "C_P10",
|
|
|
|
"P11": "C_P11",
|
|
|
|
"P12": "C_P12",
|
|
|
|
"P13": "C_P13",
|
|
|
|
"P14": "C_P14",
|
|
|
|
"P15": "C_P15",
|
|
|
|
"P16": "C_P16",
|
|
|
|
"P19": "C_P19",
|
|
|
|
"P20": "C_P20",
|
2016-10-14 16:46:56 +03:00
|
|
|
"EXT_PWR":"EXT_PWR",
|
|
|
|
"SPKR":"EXT_PWR",
|
|
|
|
"BTN_A": "BTN_A",
|
|
|
|
"BTN_B": "BTN_B",
|
|
|
|
"M_OUT1": "M_OUT1",
|
|
|
|
"M_OUT2": "M_OUT2"
|
2016-09-14 01:32:12 +03:00
|
|
|
},
|
|
|
|
"spiPins": {
|
|
|
|
"MOSI": "P15",
|
|
|
|
"MISO": "P14",
|
|
|
|
"SCK": "P13"
|
|
|
|
},
|
|
|
|
"i2cPins": {
|
|
|
|
"SDA": "P20",
|
|
|
|
"SCL": "P19"
|
|
|
|
},
|
|
|
|
"analogInPins": [
|
|
|
|
"P0",
|
|
|
|
"P1",
|
|
|
|
"P2",
|
|
|
|
"P3",
|
|
|
|
"P10"
|
|
|
|
],
|
|
|
|
"groundPins": [
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_GND"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
"threeVoltPins": [
|
2016-10-25 09:17:16 +03:00
|
|
|
"EDGE_VCC"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
"attachPowerOnRight": true,
|
|
|
|
"onboardComponents": [
|
2016-09-30 02:13:33 +03:00
|
|
|
"accelerometer",
|
2016-09-14 01:32:12 +03:00
|
|
|
"buttonpair",
|
|
|
|
"ledmatrix",
|
2016-09-27 01:05:06 +03:00
|
|
|
"speaker",
|
2016-09-30 02:13:33 +03:00
|
|
|
"bluetooth",
|
|
|
|
"thermometer",
|
|
|
|
"compass",
|
|
|
|
"speaker",
|
2016-09-27 01:05:06 +03:00
|
|
|
"microphone",
|
|
|
|
"rgbled"
|
2016-09-14 01:32:12 +03:00
|
|
|
],
|
|
|
|
"useCrocClips": true,
|
|
|
|
"marginWhenBreadboarding": [
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
80,
|
|
|
|
0
|
|
|
|
]
|
2016-08-31 03:18:03 +03:00
|
|
|
}
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
|
|
|
"compileService": {
|
2016-05-24 19:46:33 +03:00
|
|
|
"yottaTarget": "bbc-microbit-classic-gcc",
|
2016-09-30 01:20:45 +03:00
|
|
|
"yottaCorePackage": "pxt-calliope-core",
|
|
|
|
"githubCorePackage": "microsoft/pxt-calliope-core",
|
2016-10-19 20:08:41 +03:00
|
|
|
"gittag": "v0.5.12",
|
2016-09-30 01:20:45 +03:00
|
|
|
"serviceId": "calliope"
|
2016-04-05 04:03:52 +03:00
|
|
|
},
|
|
|
|
"serial": {
|
|
|
|
"manufacturerFilter": "^mbed$",
|
2016-04-09 11:27:08 +03:00
|
|
|
"nameFilter": "^mbed Serial Port",
|
2016-04-05 04:03:52 +03:00
|
|
|
"log": true
|
|
|
|
},
|
|
|
|
"appTheme": {
|
2016-10-04 04:54:07 +03:00
|
|
|
"accentColor": "#249899",
|
2016-10-13 20:21:56 +03:00
|
|
|
"defaultLocale": "de",
|
2016-09-27 19:35:52 +03:00
|
|
|
"logoUrl": "https://calliope.cc/about",
|
2016-10-14 18:00:34 +03:00
|
|
|
"logo": "./static/Calliopeminieditor.svg",
|
|
|
|
"docsLogo": "./static/Calliopeminieditor.svg",
|
2016-09-30 02:23:37 +03:00
|
|
|
"portraitLogo": "./static/Logo_Calliope_Woman.svg",
|
2016-10-14 18:00:34 +03:00
|
|
|
"footerLogo": "./static/Calliopeminieditor.svg",
|
2016-06-30 18:36:07 +03:00
|
|
|
"cardLogo": "https://az851932.vo.msecnd.net/pub/drbwxcth",
|
|
|
|
"appLogo": "https://az851932.vo.msecnd.net/pub/tbhemtig",
|
2016-09-27 19:35:52 +03:00
|
|
|
"homeUrl": "https://calliope.cc/",
|
2016-05-11 16:45:45 +03:00
|
|
|
"privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
|
|
|
|
"termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
|
2016-09-27 01:05:06 +03:00
|
|
|
"githubUrl": "https://github.com/Microsoft/pxt-calliope",
|
2016-09-13 20:33:06 +03:00
|
|
|
"browserSupport": [
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "*",
|
|
|
|
"path": "/browsers"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "mac",
|
|
|
|
"path": "/browsers/mac"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "linux",
|
|
|
|
"path": "browsers/linux"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "rpi",
|
|
|
|
"path": "/raspberry-pi"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "unsupported",
|
|
|
|
"os": "windows",
|
|
|
|
"path": "/browsers/windows"
|
|
|
|
}
|
|
|
|
],
|
2016-10-18 16:43:52 +03:00
|
|
|
"boardName": "Calliope MINI",
|
2016-10-31 08:52:16 +03:00
|
|
|
"hideSideDocs": true,
|
2016-09-12 21:10:30 +03:00
|
|
|
"usbDocs": "/device/usb",
|
|
|
|
"usbHelp": [
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "*",
|
|
|
|
"browser": "*",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-generic.jpg"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "connection",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-mac.jpg"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "firefox",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-windows-firefox-1.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "firefox",
|
2016-09-15 08:43:59 +03:00
|
|
|
"path": "/static/mb/device/usb-osx-firefox-1.jpg"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "chrome",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-osx-chrome.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "edge",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-windows-edge-1.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "ie",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-windows-ie11-1.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "save",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "chrome",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-windows-chrome.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "mac",
|
|
|
|
"browser": "*",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-osx-dnd.png"
|
2016-09-12 21:10:30 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "copy",
|
|
|
|
"os": "windows",
|
|
|
|
"browser": "*",
|
2016-09-15 08:18:01 +03:00
|
|
|
"path": "/static/mb/device/usb-windows-sendto.jpg"
|
2016-09-12 21:10:30 +03:00
|
|
|
}
|
2016-10-28 02:15:44 +03:00
|
|
|
],
|
|
|
|
"invertedMenu": true,
|
|
|
|
"invertedToolbox": true,
|
2016-10-28 21:27:26 +03:00
|
|
|
"blocklyOptions": { }
|
2016-04-05 04:03:52 +03:00
|
|
|
}
|
2016-09-09 12:17:28 +03:00
|
|
|
}
|