updated dal definition
This commit is contained in:
parent
6455da6adb
commit
13bdcf762d
|
@ -11,9 +11,13 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"microbit": "file:../microbit"
|
||||||
},
|
},
|
||||||
"microbit": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
||||||
"MICROBIT_BLE_ENABLED": "1"
|
"microbit-dal": {
|
||||||
|
"bluetooth": {
|
||||||
|
"enabled": 1
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"installedVersion": "zakvul"
|
"installedVersion": "zakvul"
|
||||||
|
|
|
@ -12,9 +12,13 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"microbit": "file:../microbit"
|
"microbit": "file:../microbit"
|
||||||
},
|
},
|
||||||
"microbit": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
||||||
"MICROBIT_BLE_ENABLED": "0"
|
"microbit-dal": {
|
||||||
|
"bluetooth": {
|
||||||
|
"enabled": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"installedVersion": "rlfgis"
|
"installedVersion": "rlfgis"
|
||||||
|
|
9
libs/microbit/dal.d.ts
vendored
9
libs/microbit/dal.d.ts
vendored
|
@ -2,7 +2,9 @@
|
||||||
declare const enum DAL {
|
declare const enum DAL {
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//bluetooth/ExternalEvents.h
|
// built/yt/yotta_modules/microbit-dal/inc//bluetooth/ExternalEvents.h
|
||||||
MICROBIT_ID_BLE = 1000,
|
MICROBIT_ID_BLE = 1000,
|
||||||
MICROBIT_ID_BLE_UART = 1001,
|
MICROBIT_ID_BLE_UART = 1200,
|
||||||
|
MICROBIT_BLE_EVT_CONNECTED = 1,
|
||||||
|
MICROBIT_BLE_EVT_DISCONNECTED = 2,
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//bluetooth/MESEvents.h
|
// built/yt/yotta_modules/microbit-dal/inc//bluetooth/MESEvents.h
|
||||||
MES_REMOTE_CONTROL_ID = 1001,
|
MES_REMOTE_CONTROL_ID = 1001,
|
||||||
MES_REMOTE_CONTROL_EVT_PLAY = 1,
|
MES_REMOTE_CONTROL_EVT_PLAY = 1,
|
||||||
|
@ -294,6 +296,7 @@ declare const enum DAL {
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//drivers/MicroBitDisplay.h
|
// built/yt/yotta_modules/microbit-dal/inc//drivers/MicroBitDisplay.h
|
||||||
MICROBIT_DISPLAY_EVT_ANIMATION_COMPLETE = 1,
|
MICROBIT_DISPLAY_EVT_ANIMATION_COMPLETE = 1,
|
||||||
MICROBIT_DISPLAY_EVT_LIGHT_SENSE = 2,
|
MICROBIT_DISPLAY_EVT_LIGHT_SENSE = 2,
|
||||||
|
MICROBIT_DISPLAY_DEFAULT_AUTOCLEAR = 1,
|
||||||
MICROBIT_DISPLAY_SPACING = 1,
|
MICROBIT_DISPLAY_SPACING = 1,
|
||||||
MICROBIT_DISPLAY_GREYSCALE_BIT_DEPTH = 8,
|
MICROBIT_DISPLAY_GREYSCALE_BIT_DEPTH = 8,
|
||||||
MICROBIT_DISPLAY_ANIMATE_DEFAULT_POS = -255,
|
MICROBIT_DISPLAY_ANIMATE_DEFAULT_POS = -255,
|
||||||
|
@ -303,7 +306,8 @@ declare const enum DAL {
|
||||||
ANIMATION_MODE_PRINT_TEXT = 3,
|
ANIMATION_MODE_PRINT_TEXT = 3,
|
||||||
ANIMATION_MODE_SCROLL_IMAGE = 4,
|
ANIMATION_MODE_SCROLL_IMAGE = 4,
|
||||||
ANIMATION_MODE_ANIMATE_IMAGE = 5,
|
ANIMATION_MODE_ANIMATE_IMAGE = 5,
|
||||||
ANIMATION_MODE_PRINT_CHARACTER = 6,
|
ANIMATION_MODE_ANIMATE_IMAGE_WITH_CLEAR = 6,
|
||||||
|
ANIMATION_MODE_PRINT_CHARACTER = 7,
|
||||||
DISPLAY_MODE_BLACK_AND_WHITE = 0,
|
DISPLAY_MODE_BLACK_AND_WHITE = 0,
|
||||||
DISPLAY_MODE_GREYSCALE = 1,
|
DISPLAY_MODE_GREYSCALE = 1,
|
||||||
DISPLAY_MODE_BLACK_AND_WHITE_LIGHT_SENSE = 2,
|
DISPLAY_MODE_BLACK_AND_WHITE_LIGHT_SENSE = 2,
|
||||||
|
@ -384,6 +388,7 @@ declare const enum DAL {
|
||||||
MICROBIT_THERMOMETER_PERIOD = 1000,
|
MICROBIT_THERMOMETER_PERIOD = 1000,
|
||||||
MICROBIT_THERMOMETER_EVT_UPDATE = 1,
|
MICROBIT_THERMOMETER_EVT_UPDATE = 1,
|
||||||
MICROBIT_THERMOMETER_ADDED_TO_IDLE = 2,
|
MICROBIT_THERMOMETER_ADDED_TO_IDLE = 2,
|
||||||
|
// built/yt/yotta_modules/microbit-dal/inc//platform/yotta_cfg_mappings.h
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//types/ManagedString.h
|
// built/yt/yotta_modules/microbit-dal/inc//types/ManagedString.h
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//types/ManagedType.h
|
// built/yt/yotta_modules/microbit-dal/inc//types/ManagedType.h
|
||||||
// built/yt/yotta_modules/microbit-dal/inc//types/Matrix4.h
|
// built/yt/yotta_modules/microbit-dal/inc//types/Matrix4.h
|
||||||
|
|
|
@ -31,9 +31,13 @@
|
||||||
],
|
],
|
||||||
"public": true,
|
"public": true,
|
||||||
"dependencies": {},
|
"dependencies": {},
|
||||||
"microbit": {
|
"yotta": {
|
||||||
"config": {
|
"config": {
|
||||||
"MESSAGE_BUS_LISTENER_DEFAULT_FLAGS": "MESSAGE_BUS_LISTENER_QUEUE_IF_BUSY"
|
"microbit-dal": {
|
||||||
|
"bluetooth": {
|
||||||
|
"enabled": 0
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
"autoRun": true
|
"autoRun": true
|
||||||
},
|
},
|
||||||
"compileService": {
|
"compileService": {
|
||||||
"gittag": "v0.1.7",
|
"gittag": "v0.1.8",
|
||||||
"serviceId": "ws"
|
"serviceId": "ws"
|
||||||
},
|
},
|
||||||
"serial": {
|
"serial": {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user