918af4f3ac
* change simulator svg * change radio image * Remove google fonts cdn * change color of 'advanced' button * font fix * font fix 2 * display fix * change fullsceen simulator bg * Continuous servo * handle continuous state * adding shims * update rendering for continuous servos * fixing sim * fix sig * typo * fix sim * bump pxt * bump pxt * rerun travis * Input blocks revision - add Button and Pin event types - merge onPinPressed & onPinReleased in new onPinEvent function - create new onButtonEvent function * update input blocks in docs and tests * remove device_pin_release block * Hide DAL.x behind Enum * bring back deprecated blocks, but hide them * shims and locales files * fix input.input. typing * remove buildpr * bump V3 * update simulator aspect ratio * add Loudness Block * revoke loudness block * Adds soundLevel To be replaced by pxt-common-packages when DAL is updated. * Remove P0 & P3 from AnalogPin Co-authored-by: Juri <gitkraken@juriwolf.de>
158 lines
4.3 KiB
JSON
158 lines
4.3 KiB
JSON
{
|
|
"name": "core",
|
|
"description": "The microbit core library",
|
|
"additionalFilePath": "../../node_modules/pxt-common-packages/libs/base",
|
|
"files": [
|
|
"README.md",
|
|
"platform.h",
|
|
"pxt.cpp",
|
|
"pxt.h",
|
|
"pxtbase.h",
|
|
"pxtcore.h",
|
|
"math.ts",
|
|
"dal.d.ts",
|
|
"enums.d.ts",
|
|
"shims.d.ts",
|
|
"pxt-core.d.ts",
|
|
"core.cpp",
|
|
"pxt-helpers.ts",
|
|
"helpers.ts",
|
|
"pxt-python.d.ts",
|
|
"pxt-python-helpers.ts",
|
|
"pinscompat.ts",
|
|
"configkeys.h",
|
|
"gc.cpp",
|
|
"codal.cpp",
|
|
"images.cpp",
|
|
"basic.cpp",
|
|
"basic.ts",
|
|
"icons.ts",
|
|
"icons.jres",
|
|
"input.cpp",
|
|
"input.ts",
|
|
"gestures.jres",
|
|
"control.ts",
|
|
"control.cpp",
|
|
"interval.ts",
|
|
"gcstats.ts",
|
|
"console.ts",
|
|
"game.ts",
|
|
"led.cpp",
|
|
"led.ts",
|
|
"motors.cpp",
|
|
"music.cpp",
|
|
"music.ts",
|
|
"melodies.ts",
|
|
"pins.cpp",
|
|
"pins.ts",
|
|
"serial.cpp",
|
|
"serial.ts",
|
|
"buffer.cpp",
|
|
"buffer.ts",
|
|
"pxtparts.json",
|
|
"advmath.cpp",
|
|
"trig.cpp",
|
|
"fixed.ts",
|
|
"templates.ts",
|
|
"sendbuffer.s",
|
|
"light.cpp",
|
|
"parts/speaker.svg",
|
|
"parts/headphone.svg",
|
|
"parts/dcmotor.svg",
|
|
"_locales/de/core-jsdoc-strings.json",
|
|
"_locales/de/core-strings.json"
|
|
],
|
|
"testFiles": [],
|
|
"public": true,
|
|
"dependencies": {},
|
|
"dalDTS": {
|
|
"compileServiceVariant": "mbcodal",
|
|
"includeDirs": [
|
|
"libraries/codal-core/inc",
|
|
"libraries/codal-microbit/inc",
|
|
"libraries/codal-microbit/model",
|
|
"libraries/codal-microbit/inc/compat",
|
|
"pxtapp"
|
|
],
|
|
"excludePrefix": [
|
|
"USB_",
|
|
"REQUEST_",
|
|
"LIS3DH_",
|
|
"FXOS8700_",
|
|
"MMA8",
|
|
"LSM303_",
|
|
"MAG_",
|
|
"MPU6050_",
|
|
"REF_TAG_",
|
|
"HF2_",
|
|
"PXT_REF_TAG_",
|
|
"MS_",
|
|
"SCSI_"
|
|
]
|
|
},
|
|
"yotta": {
|
|
"config": {
|
|
"microbit-dal": {
|
|
"fiber_user_data": 1
|
|
}
|
|
},
|
|
"optionalConfig": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"private_addressing": 0,
|
|
"advertising_timeout": 0,
|
|
"tx_power": 6,
|
|
"dfu_service": 1,
|
|
"event_service": 1,
|
|
"device_info_service": 1,
|
|
"eddystone_url": 1,
|
|
"eddystone_uid": 1,
|
|
"open": 0,
|
|
"pairing_mode": 1,
|
|
"whitelist": 1,
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM",
|
|
"partial_flashing": 1
|
|
}
|
|
}
|
|
},
|
|
"userConfigs": [
|
|
{
|
|
"description": "No Pairing Required: Anyone can connect via Bluetooth.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": 1,
|
|
"whitelist": 0,
|
|
"security_level": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "JustWorks pairing (default): Pairing is automatic once the pairing is initiated.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": 0,
|
|
"whitelist": 1,
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_NO_MITM"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Passkey pairing: Pairing requires 6 digit key to pair.",
|
|
"config": {
|
|
"microbit-dal": {
|
|
"bluetooth": {
|
|
"open": 0,
|
|
"whitelist": 1,
|
|
"security_level": "SECURITY_MODE_ENCRYPTION_WITH_MITM"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|