UNPKG

pxt-maker

Version:
535 lines (534 loc) 17.8 kB
{ "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", "bundleddirs": [ "libs/base", "libs/base---light", "libs/core", "libs/core---stm32", "libs/core---nrf52", "libs/core---rp2040", "libs/core---samd", "libs/core---samd51", "libs/core---esp32", "libs/core---esp32s2", "libs/screen---st7735", "libs/pulse", "libs/infrared", "libs/game", "libs/game---light", "libs/mixer", "libs/mixer---none", "libs/mixer---samd", "libs/mixer---stm32", "libs/mixer---nrf52", "libs/mixer---rp2040", "libs/pixel", "libs/buttons", "libs/touch", "libs/light", "libs/tests", "libs/gamepad", "libs/mouse", "libs/keyboard", "libs/display", "libs/servo", "libs/storage", "libs/serial", "libs/datalogger", "libs/lightsensor", "libs/thermometer", "libs/switch", "libs/accelerometer", "libs/microphone", "libs/lora", "libs/power", "libs/lcd", "libs/color", "libs/color-sensor", "libs/light-spectrum-sensor", "libs/proximity", "libs/feather", "libs/edge-connector", "libs/esp32", "libs/net", "libs/net-game", "libs/wifi---esp32", "libs/mqtt", "libs/azureiot", "libs/settings", "libs/settings---esp32", "libs/settings---files", "libs/radio", "libs/radio-broadcast", "libs/matrix-keypad", "libs/adafruit-feather-m0-express", "libs/adafruit-feather-m4-express", "libs/adafruit-feather-nrf52840-express", "libs/nucleo-f411re", "libs/adafruit-circuit-playground-express", "libs/adafruit-circuit-playground-bluefruit", "libs/adafruit-trinket-m0", "libs/adafruit-metro-m0-express", "libs/adafruit-metro-m4-express", "libs/adafruit-itsybitsy-m0-express", "libs/adafruit-itsybitsy-m4-express", "libs/adafruit-itsybitsy-nrf52840-express", "libs/adafruit-neotrellis-m4-express", "libs/adafruit-gemma-m0", "libs/robotics-masters-robohatmm1-m4", "libs/adafruit-grand-central-m4-express", "libs/xinabox-cc03", "libs/xinabox-cs11", "libs/arduino-zero", "libs/arduino-mkr1000", "libs/arduino-mkr1010", "libs/arduino-mkr1300", "libs/arduino-nano-33-ble-sense", "libs/electroniccats-meow-meow", "libs/electroniccats-escornabot-makech", "libs/sparkfun-samd21-dev-breakout", "libs/sparkfun-samd21-mini-breakout", "libs/sparkfun-redboard-turbo", "libs/sparkfun-lumidrive", "libs/brain-nrf52840", "libs/stitchkit", "libs/machachi", "libs/espressif-esp32-devkit-c", "libs/rpi-pico", "libs/jacdac-nrfbrain", "libs/jacdac-brain-f4", "libs/jacdac-brain-rp2040", "libs/jacdac-iot-s2" ], "serial": { "useHF2": true, "useEditor": true, "log": true, "editorTheme": { "graphBackground": "#d9d9d9", "lineColors": [ "#CC2936", "#FFC914", "#2EB7ED", "#FB48C7", "#08415C", "#C200C0" ] } }, "simulator": { "autoRun": true, "streams": false, "aspectRatio": 1.0, "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 }, "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" } } ] } }, "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" } } }, "appTheme": { "accentColor": "#ecf0f1", "backgroundColor": "#ffffff", "logoUrl": "https://github.com/microsoft/pxt-maker", "logo": "./static/logo.svg", "docsLogo": "./static/logo.svg", "docsHeader": "Microsoft MakeCode Maker", "portraitLogo": "./static/logo.svg", "footerLogo": "./static/logo.svg", "organization": "Microsoft MakeCode", "organizationUrl": "https://makecode.com/", "organizationLogo": "./static/Microsoft-logo_rgb_c-gray-square.png", "organizationWideLogo": "./static/Microsoft-logo_rgb_c-gray.png", "homeUrl": "https://maker.makecode.com/", "embedUrl": "https://maker.makecode.com/", "privacyUrl": "https://go.microsoft.com/fwlink/?LinkId=521839", "termsOfUseUrl": "https://go.microsoft.com/fwlink/?LinkID=206977", "githubUrl": "https://github.com/microsoft/pxt-maker", "feedbackUrl": "https://forum.makecode.com/", "betaUrl": "https://github.com/microsoft/pxt-maker", "boardName": "board", "homeScreenHero": "./static/hero.jpg", "debugger": true, "print": true, "chooseBoardOnNewProject": true, "lightToc": true, "instructions": true, "docMenu": [ { "name": "About", "path": "/about" }, { "name": "Forum", "path": "https://forum.makecode.com" }, { "name": "Boards", "path": "/boards" }, { "name": "Blocks", "path": "/blocks" }, { "name": "JavaScript", "path": "/javascript" }, { "name": "Reference", "path": "/reference" }, { "name": "GitHub", "path": "https://github.com/microsoft/pxt-maker" } ], "invertedMenu": false, "invertedToolbox": false, "invertedMonaco": false, "monacoToolbox": true, "highContrast": true, "greenScreen": true, "blocksCollapsing": true, "accessibleBlocks": true, "simAnimationEnter": "fly right in", "simAnimationExit": "fly right out", "hasAudio": true, "usbDocs": "/device/usb", "disableBlockIcons": true, "disableAPICache": true, "blocklyOptions": { "grid": { "spacing": 20, "length": 2, "colour": "rgba(189, 195, 199, 0.20)", "snap": true } }, "blockColors": { "loops": "#40bf4a", "logic": "#4cbfe6", "math": "#9966ff", "variables": "#FF6680", "text": "#ffab19", "advanced": "#00272B", "functions": "#005a9e", "arrays": "#8A1C7C" }, "allowPackageExtensions": true, "scriptManager": true, "simScreenshot": true, "simGif": true, "qrCode": true, "python": true, "pythonToolbox": true, "addNewTypeScriptFile": true, "alwaysGithubItemBlocks": true, "alwaysGithubItem": true, "githubBlocksDiff": true, "nameProjectFirst": true, "showProjectSettings": true, "selectLanguage": false, "githubEditor": true, "tutorialBlocksDiff": true, "tutorialExplicitHints": true, "chooseLanguageRestrictionOnNewProject": true, "openProjectNewTab": true, "errorList": true }, "ignoreDocsErrors": true, "uploadDocs": false }