{
    "id": "maker",
    "platformid": "codal",
    "nickname": "maker",
    "name": "MakeCode Maker (Cortex class)",
    "title": "MakeCode Maker - Blocks / Javascript editor",
    "description": "A Blocks / JavaScript code editor for MakeCode Maker Boards",
    "corepkg": "core",
    "serial": {
        "useHF2": true,
        "useEditor": true,
        "log": true,
        "editorTheme": {
            "graphBackground": "#d9d9d9",
            "lineColors": [
                "#CC2936",
                "#FFC914",
                "#2EB7ED",
                "#FB48C7",
                "#08415C",
                "#C200C0"
            ]
        }
    },
    "simulator": {
        "autoRun": true,
        "streams": false,
        "aspectRatio": 1,
        "parts": true,
        "partsAspectRatio": 0.69,
        "dynamicBoardDefinition": true,
        "messageSimulators": {
            "jacdac": {
                "url": "https://microsoft.github.io/jacdac-docs/tools/makecode-sim?webusb=0&parentOrigin=$PARENT_ORIGIN$",
                "localHostUrl": "http://localhost:8000/tools/makecode-sim?webusb=0&parentOrigin=$PARENT_ORIGIN$",
                "aspectRatio": 0.89,
                "permanent": true
            }
        }
    },
    "cloud": {
        "workspace": false,
        "packages": true,
        "sharing": true,
        "thumbnails": true,
        "publishing": true,
        "importing": true,
        "preferredPackages": [],
        "githubPackages": true,
        "cloudProviders": {
            "github": {}
        }
    },
    "runtime": {
        "mathBlocks": true,
        "loopsBlocks": true,
        "logicBlocks": true,
        "variablesBlocks": true,
        "textBlocks": true,
        "listsBlocks": true,
        "functionBlocks": true,
        "functionsOptions": {
            "useNewFunctions": true,
            "extraFunctionEditorTypes": []
        },
        "onStartNamespace": "loops",
        "onStartColor": "#40bf4a",
        "onStartWeight": 100,
        "pauseUntilBlock": {},
        "breakBlock": true,
        "continueBlock": true,
        "palette": [
            "#000000",
            "#ffffff",
            "#ff2121",
            "#ff93c4",
            "#ff8135",
            "#fff609",
            "#249ca3",
            "#78dc52",
            "#003fad",
            "#87f2ff",
            "#8e2ec4",
            "#a4839f",
            "#5c406c",
            "#e5cdc4",
            "#91463d",
            "#000000"
        ],
        "screenSize": {
            "width": 160,
            "height": 120
        }
    },
    "compile": {
        "isNative": true,
        "useUF2": true,
        "webUSB": true,
        "hasHex": true,
        "saveAsPNG": true,
        "deployDrives": ".*",
        "deployFileMarker": "INFO_UF2.TXT",
        "driveName": "DRIVE",
        "openocdScript": "source [find interface/cmsis-dap.cfg]; set CHIPNAME at91samd21g18; source [find target/at91samdXX.cfg]",
        "flashChecksumAddr": 8372,
        "flashCodeAlign": 256,
        "upgrades": [
            {
                "type": "package",
                "map": {
                    "circuit-playground": "adafruit-circuit-playground"
                }
            }
        ],
        "patches": {
            "0.0.0 - 0.6.8": [
                {
                    "type": "package",
                    "map": {
                        "arduino-mkr": "arduino-mkr1000"
                    }
                }
            ]
        },
        "nativeType": "thumb",
        "switches": {},
        "jsRefCounting": false,
        "utf8": true
    },
    "compileService": {
        "buildEngine": "codal",
        "codalTarget": {
            "name": "missing",
            "url": "https://github.com/microsoft/pxt-does-not-exist",
            "branch": "v0",
            "type": "git"
        },
        "codalBinary": "CIRCUIT_PLAYGROUND",
        "yottaConfig": {
            "pxt": {
                "board": {
                    "id": "BOARD_ID_CPLAY"
                }
            }
        },
        "githubCorePackage": "lancaster-university/codal",
        "gittag": "v0.9.0",
        "serviceId": "codal2cp",
        "dockerImage": "pext/yotta:latest"
    },
    "variants": {
        "samd51": {
            "compile": {
                "hasHex": true,
                "openocdScript": "source [find interface/cmsis-dap.cfg]; set CHIPNAME at91samd51g19; source [find target/atsame5x.cfg]",
                "openocdScriptAlt": "source [find interface/stlink-v2.cfg]; set CPUTAPID 0x2ba01477; set CHIPNAME at91samd51g19; source [find target/at91samdXX.cfg]",
                "ramSize": 196608,
                "flashEnd": 524288,
                "uf2Family": "0x55114460"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-itsybitsy-m4",
                    "url": "https://github.com/lancaster-university/codal-itsybitsy-m4",
                    "branch": "v0.2.7",
                    "type": "git"
                },
                "codalBinary": "ITSYBITSY_M4",
                "serviceId": "codal2samd51"
            }
        },
        "nrf52840": {
            "serial": {
                "useHF2": false
            },
            "compile": {
                "openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf52.cfg]",
                "flashChecksumAddr": 0,
                "webUSB": false,
                "flashEnd": 1007616,
                "uf2Family": "0xada52840"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-nrf52840-dk",
                    "url": "https://github.com/mmoskal/codal-nrf52840-dk",
                    "branch": "v1.1.8",
                    "type": "git"
                },
                "codalBinary": "NRF52840_DK",
                "serviceId": "codal2nrf52840",
                "dockerImage": "pext/yotta:latest",
                "yottaConfig": {
                    "pxt": {
                        "board": {
                            "id": "BOARD_ID_NRF52840"
                        }
                    }
                }
            }
        },
        "nrf52833": {
            "serial": {
                "useHF2": true
            },
            "compile": {
                "openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/nrf52.cfg]",
                "flashChecksumAddr": 0,
                "webUSB": true,
                "flashEnd": 475136,
                "uf2Family": "0xada52840"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-makeable",
                    "url": "https://github.com/jamesadevine/codal-makeable",
                    "branch": "v0.0.8",
                    "type": "git"
                },
                "codalBinary": "NRF52",
                "serviceId": "codal2nrf52",
                "dockerImage": "pext/yotta:latest",
                "yottaConfig": {
                    "pxt": {
                        "board": {
                            "id": "BOARD_ID_NRF52833"
                        }
                    }
                }
            }
        },
        "stm32f103": {
            "compile": {
                "hasHex": true,
                "openocdScript": "source [find interface/stlink-v2.cfg]; source [find target/stm32f1x.cfg]",
                "uf2Family": "0x5ee21072",
                "webUSB": false,
                "flashChecksumAddr": 0,
                "utf8": true
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-jacdac-feather",
                    "url": "https://github.com/lancaster-university/codal-jacdac-feather",
                    "branch": "v1.1.2",
                    "type": "git"
                },
                "codalBinary": "STM32",
                "serviceId": "codal2stm32",
                "dockerImage": "pext/yotta:latest"
            }
        },
        "stm32f401": {
            "compile": {
                "hasHex": true,
                "openocdScript": "source [find interface/cmsis-dap.cfg]; source [find target/stm32f4x.cfg]",
                "flashChecksumAddr": 0,
                "flashEnd": 524288,
                "uf2Family": "0x57755a57"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-big-brainpad",
                    "url": "https://github.com/lancaster-university/codal-big-brainpad",
                    "branch": "v1.3.4",
                    "type": "git"
                },
                "codalBinary": "STM32",
                "serviceId": "codal2stm32",
                "dockerImage": "pext/yotta:latest"
            }
        },
        "samd21": {
            "compile": {
                "hasHex": true,
                "openocdScript": "source [find interface/cmsis-dap.cfg]; set CHIPNAME at91samd21g18; source [find target/at91samdXX.cfg]",
                "openocdScriptAlt": "source [find interface/stlink-v2.cfg]; set CPUTAPID 0x0bc11477; set CHIPNAME at91samd21g18; source [find target/at91samdXX.cfg]",
                "flashEnd": 262144,
                "uf2Family": "0x68ed2b88"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-circuit-playground",
                    "url": "https://github.com/lancaster-university/codal-circuit-playground",
                    "branch": "v2.0.4",
                    "type": "git"
                },
                "dockerImage": "pext/yotta:latest",
                "codalBinary": "CIRCUIT_PLAYGROUND"
            }
        },
        "esp32": {
            "compile": {
                "hasHex": true,
                "useESP": true,
                "useUF2": false,
                "flashCodeAlign": 256,
                "webUSB": false,
                "nativeType": "vm",
                "stackAlign": 2
            },
            "compileService": {
                "buildEngine": "dockerespidf",
                "dockerImage": "pext/esp:latest",
                "dockerArgs": [],
                "serviceId": "espidf"
            }
        },
        "esp32s2": {
            "compile": {
                "hasHex": true,
                "useESP": true,
                "useUF2": true,
                "flashCodeAlign": 256,
                "webUSB": false,
                "nativeType": "vm",
                "uf2Family": "0xbfdd4eee",
                "stackAlign": 2
            },
            "compileService": {
                "buildEngine": "dockerespidf",
                "dockerImage": "pext/esp:latest",
                "dockerArgs": [],
                "serviceId": "espidf"
            }
        },
        "rp2040": {
            "compile": {
                "hasHex": true,
                "openocdScript": "???",
                "flashChecksumAddr": 0,
                "flashEnd": 2097152,
                "uf2Family": "0xe48bff56"
            },
            "compileService": {
                "codalTarget": {
                    "name": "codal-pi-pico",
                    "url": "https://github.com/lancaster-university/codal-pi-pico",
                    "branch": "v0.0.10",
                    "type": "git"
                },
                "codalBinary": "PI-PICO",
                "serviceId": "codal2pico",
                "dockerImage": "pext/arm:gcc9"
            }
        }
    },
    "ignoreDocsErrors": true,
    "uploadDocs": false,
    "versions": {
        "branch": "v0.15.66",
        "tag": "v0.15.66",
        "commits": "https://github.com/microsoft/pxt-maker/commits/1439f19f93e7699d21b816a9b7ed60840b0d3924",
        "target": "0.15.66",
        "pxt": "8.1.1"
    },
    "blocksprj": {
        "id": "blocksprj",
        "config": {
            "name": "{0}",
            "dependencies": {
                "adafruit-metro-m0-express": "*"
            },
            "description": "",
            "files": [
                "main.blocks",
                "main.ts",
                "README.md"
            ],
            "additionalFilePaths": []
        },
        "files": {
            "README.md": "",
            "main.blocks": "<xml xmlns=\"http://www.w3.org/1999/xhtml\">\n  <block type=\"pxt-on-start\" x=\"0\" y=\"0\"></block>\n  <block type=\"forever\" x=\"176\" y=\"0\"></block>\n</xml>",
            "main.ts": "\n"
        }
    },
    "tsprj": {
        "id": "tsprj",
        "config": {
            "name": "{0}",
            "dependencies": {
                "adafruit-metro-m0-express": "*"
            },
            "description": "",
            "files": [
                "main.ts",
                "README.md"
            ],
            "additionalFilePaths": []
        },
        "files": {
            "README.md": "",
            "main.ts": "\n"
        }
    }
}