integrated pxt-microbit

This commit is contained in:
Peli de Halleux 2016-10-11 09:08:31 -07:00
commit d48404eb37
64 changed files with 43 additions and 27 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "microbit-bluetooth", "name": "bluetooth",
"description": "Bluetooth services", "description": "Bluetooth services",
"files": [ "files": [
"README.md", "README.md",
@ -10,7 +10,7 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core"
}, },
"yotta": { "yotta": {
"config": { "config": {

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@ -1,5 +1,5 @@
{ {
"name": "microbit", "name": "core",
"description": "The microbit core library", "description": "The microbit core library",
"installedVersion": "tsmdvf", "installedVersion": "tsmdvf",
"files": [ "files": [

View File

@ -1,5 +1,5 @@
{ {
"name": "microbit-devices", "name": "devices",
"description": "The BLE specific services", "description": "The BLE specific services",
"files": [ "files": [
"README.md", "README.md",
@ -9,7 +9,7 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core"
}, },
"yotta": { "yotta": {
"config": { "config": {

View File

@ -6,6 +6,6 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core",
} }
} }

View File

@ -8,6 +8,6 @@
"public": true, "public": true,
"additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0", "additionalFilePath": "../../node_modules/pxt-core/libs/lang-test0",
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core"
} }
} }

View File

@ -7,6 +7,6 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core"
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"name": "microbit-radio", "name": "radio",
"description": "The radio services", "description": "The radio services",
"files": [ "files": [
"README.md", "README.md",
@ -10,7 +10,7 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit" "core": "file:../core"
}, },
"yotta": { "yotta": {
"config": { "config": {

View File

@ -7,7 +7,7 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "file:../microbit", "core": "file:../core",
"microbit-radio": "file:../microbit-radio" "radio": "file:../radio"
} }
} }

View File

@ -4,12 +4,12 @@
"nickname": "mini", "nickname": "mini",
"title": "calliope - Blocks / Javascript editor", "title": "calliope - Blocks / Javascript editor",
"description": "A Blocks / JavaScript code editor for the calliope.", "description": "A Blocks / JavaScript code editor for the calliope.",
"corepkg": "microbit", "corepkg": "core",
"bundleddirs": [ "bundleddirs": [
"libs/microbit", "libs/core",
"libs/microbit-radio", "libs/radio",
"libs/microbit-devices", "libs/devices",
"libs/microbit-bluetooth" "libs/bluetooth"
], ],
"cloud": { "cloud": {
"workspace": false, "workspace": false,
@ -25,8 +25,8 @@
"config": { "config": {
"name": "{0} block", "name": "{0} block",
"dependencies": { "dependencies": {
"microbit": "*", "core": "*",
"microbit-radio": "*" "radio": "*"
}, },
"description": "", "description": "",
"files": [ "files": [
@ -46,8 +46,8 @@
"config": { "config": {
"name": "{0} bit", "name": "{0} bit",
"dependencies": { "dependencies": {
"microbit": "*", "core": "*",
"microbit-radio": "*" "radio": "*"
}, },
"description": "", "description": "",
"files": [ "files": [
@ -65,7 +65,23 @@
"hasHex": true, "hasHex": true,
"deployDrives": "MINI", "deployDrives": "MINI",
"driveName": "MINI", "driveName": "MINI",
"hexMimeType": "application/x-calliope-hex" "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": ""
}
}
]
}, },
"runtime": { "runtime": {
"mathBlocks": true, "mathBlocks": true,

View File

@ -1,7 +1,7 @@
/// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/> /// <reference path="../../node_modules/pxt-core/built/pxtsim.d.ts"/>
/// <reference path="../../libs/microbit/dal.d.ts"/> /// <reference path="../../libs/core/dal.d.ts"/>
/// <reference path="../../libs/microbit/shims.d.ts"/> /// <reference path="../../libs/core/shims.d.ts"/>
/// <reference path="../../libs/microbit/enums.d.ts"/> /// <reference path="../../libs/core/enums.d.ts"/>
namespace pxsim.visuals { namespace pxsim.visuals {
const PIXEL_SPACING = PIN_DIST * 3; const PIXEL_SPACING = PIN_DIST * 3;

View File

@ -6,8 +6,8 @@
], ],
"public": true, "public": true,
"dependencies": { "dependencies": {
"microbit": "*", "core": "*",
"microbit-radio": "*" "radio": "*"
}, },
"installedVersion": "file:." "installedVersion": "file:."
} }