Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
- remove extension "joernalraun/robot"
- fix case in "one-time-pairing"
- keep ble disabled for mini 1
  • Loading branch information
Amerlander committed May 1, 2024
1 parent 83aed8c commit dac5a21
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 18 deletions.
13 changes: 13 additions & 0 deletions libs/bluetooth-disabled/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Bluetooth services disabled

This extensions disables the BLE in the program.

If this extension is included into the Project it will stop loading the BLE stack.

Pressing A+B+Reset or Tripple-Reset is then required to restart into DFU-Mode for flashing the Calliope mini via Bluetooth.

```
"bluetooth": {
"enabled": 0
}
```
30 changes: 30 additions & 0 deletions libs/bluetooth-disabled/pxt.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "bluetooth-disabled",
"description": "Disables Bluetooth. Require AB+Reset to start bluetooth.",
"dependencies": {
"core": "file:../core"
},
"files": [
"README.md"
],
"public": true,
"weight": 10,
"searchOnly": true,
"icon": "./static/packages/bluetooth/icon.png",
"yotta": {
"config": {
"microbit-dal": {
"bluetooth": {
"enabled": 0
}
}
},
"optionalConfig": {
"microbit-dal": {
"bluetooth": {
"enabled": 0
}
}
}
}
}
2 changes: 1 addition & 1 deletion libs/core-mini-codal/pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": {
"core": "file:../core",
"microphone": "file:../microphone",
"One-Time-Pairing": "file:../one-time-pairing"
"one-time-pairing": "file:../one-time-pairing"
},
"disablesVariants": [
"minidal"
Expand Down
2 changes: 1 addition & 1 deletion libs/one-time-pairing/pxt.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "One-Time-Pairing",
"name": "one-time-pairing",
"description": "Settings for Android and iOS for Calliope mini 3",
"dependencies": {
"core": "file:../core"
Expand Down
3 changes: 2 additions & 1 deletion libs/v1/pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"core": true,
"dependencies": {
"core": "file:../core",
"core-mini-dal": "file:../core-mini-dal"
"core-mini-dal": "file:../core-mini-dal",
"bluetooth-disabled": "file:../bluetooth-disabled"
},
"icon": "./static/devices/mini1.png",
"files": [
Expand Down
107 changes: 94 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pxtarget.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"libs/funk",
"libs/devices",
"libs/bluetooth",
"libs/bluetooth-disabled",
"libs/one-time-pairing",
"libs/servo",
"libs/radio-broadcast",
Expand Down
2 changes: 0 additions & 2 deletions targetconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@
"microsoft/pxt-microturtle",
"microsoft/pxt-neopixel",
"calliope-edu/pxt-faces",
"joernalraun/robot",
"calliope-net/i2c-liste",
"calliope-edu/pxt-storage",
"calliope-edu/warte-bis",
Expand Down Expand Up @@ -363,7 +362,6 @@
],
"preferred": true
},
"joernalraun/robot": {},
"51bit/sfc": {},
"51bit/smarttools": {},
"51bit/dfplayermini": {},
Expand Down

0 comments on commit dac5a21

Please sign in to comment.