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",
"files": [
"README.md",
@ -10,7 +10,7 @@
],
"public": true,
"dependencies": {
"microbit": "file:../microbit"
"core": "file:../core"
},
"yotta": {
"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",
"installedVersion": "tsmdvf",
"files": [

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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