{
    "id": "calliope",
    "name": " calliope",
    "nickname": "mini",
    "title": "calliope - Blocks / Javascript editor",
    "description": "A Blocks / JavaScript code editor for the calliope.",
    "corepkg": "core",
    "bundleddirs": [
        "libs/core",
        "libs/radio",
        "libs/devices",
        "libs/bluetooth"
    ],
    "cloud": {
        "workspace": false,
        "packages": true,
        "sharing": true,
        "publishing": true,
        "preferredPackages": [
        ],
        "githubPackages": true
    },
    "compile": {
        "isNative": true,
        "hasHex": true,
        "deployDrives": "MINI",
        "driveName": "MINI",
        "hexMimeType": "application/x-calliope-hex",
        "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": ""
                }
            },
            {
                "type": "api",
                "map": {
                    "bluetooth\\.uartRead\\((.*?)\\)": "bluetooth.uartReadUntil($1)",
                    "bluetooth\\.uartWrite\\((.*?)\\)": "bluetooth.uartWriteUntil($1)"
                }
            }
        ]
    },
    "runtime": {
        "mathBlocks": true,
        "loopsBlocks": true,
        "logicBlocks": true,
        "variablesBlocks": true,
        "textBlocks": true,
        "onStartColor": "#54C9C9",
        "onStartNamespace": "basic"
    },
    "simulator": {
        "autoRun": 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": "v2.0.0-rc7-calliope-p9-2016-2",
        "serviceId": "calliope"
    },    
    "serial": {
        "manufacturerFilter": "^mbed$",
        "nameFilter": "^mbed Serial Port",
        "log": 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",
        "homeUrl": "https://calliope.cc/",
        "embedUrl": "https://mini.pxt.io/",
        "privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839",
        "termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977",
        "githubUrl": "https://github.com/Microsoft/pxt-calliope",
        "crowdinProject": "kindscript",
        "organization": "Microsoft MakeCode",
        "organizationUrl": "https://makecode.com/",
        "organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png",
        "organizationWideLogo": "./static/Microsoft-logo_rgb_c-white.png",
        "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"
            }
        ],
        "boardName": "Calliope mini",
        "hideSideDocs": true,
        "usbDocs": "/device/usb",
        "usbHelp": [
            {
                "name": "connection",
                "os": "*",
                "browser": "*",
                "path": "/static/mb/device/usb-generic.jpg"
            },
            {
                "name": "connection",
                "os": "mac",
                "browser": "*",
                "path": "/static/mb/device/usb-mac.jpg"
            },
            {
                "name": "save",
                "os": "windows",
                "browser": "firefox",
                "path": "/static/mb/device/usb-windows-firefox-1.png"
            },
            {
                "name": "save",
                "os": "mac",
                "browser": "firefox",
                "path": "/static/mb/device/usb-osx-firefox-1.jpg"
            },
            {
                "name": "save",
                "os": "mac",
                "browser": "chrome",
                "path": "/static/mb/device/usb-osx-chrome.png"
            },
            {
                "name": "save",
                "os": "windows",
                "browser": "edge",
                "path": "/static/mb/device/usb-windows-edge-1.png"
            },
            {
                "name": "save",
                "os": "windows",
                "browser": "ie",
                "path": "/static/mb/device/usb-windows-ie11-1.png"
            },
            {
                "name": "save",
                "os": "windows",
                "browser": "chrome",
                "path": "/static/mb/device/usb-windows-chrome.png"
            },
            {
                "name": "copy",
                "os": "mac",
                "browser": "*",
                "path": "/static/mb/device/usb-osx-dnd.png"
            },
            {
                "name": "copy",
                "os": "windows",
                "browser": "*",
                "path": "/static/mb/device/usb-windows-sendto.jpg"
            }
        ],
        "invertedMenu": true,
        "invertedToolbox": true,
        "monacoToolbox": false,
        "hasAudio": true,        
        "simAnimationEnter": "rotate in",
        "simAnimationExit": "rotate out",
        "blocklyOptions": { 
            "grid": {
                "spacing": 45,
                "length": 7,
                "colour": "rgba(189, 195, 199, 0.30)",
                "snap": false
            }
        }
    }
}
