-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #716 from pimoroni/feature/bluetooth
MicroPython: Pico W Bluetooth Support
- Loading branch information
Showing
12 changed files
with
64 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,7 @@ | |
|
||
require("bundle-networking") | ||
|
||
# Bluetooth | ||
require("aioble") | ||
|
||
include("../manifest_picow.py") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
# cmake file for Raspberry Pi Pico W | ||
|
||
# The C malloc is needed by cyw43-driver Bluetooth and Pimoroni Pico modules | ||
set(MICROPY_C_HEAP_SIZE 4096) | ||
|
||
set(MICROPY_PY_LWIP ON) | ||
set(MICROPY_PY_NETWORK_CYW43 ON) | ||
|
||
# Board specific version of the frozen manifest | ||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) | ||
# Bluetooth | ||
set(MICROPY_PY_BLUETOOTH ON) | ||
set(MICROPY_BLUETOOTH_BTSTACK ON) | ||
set(MICROPY_PY_BLUETOOTH_CYW43 ON) | ||
|
||
set(MICROPY_C_HEAP_SIZE 4096) | ||
# Board specific version of the frozen manifest | ||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
# cmake file for Pimoroni Enviro with Raspberry Pi Pico W | ||
set(MICROPY_BOARD PICO_W) | ||
|
||
# The C malloc is needed by cyw43-driver Bluetooth and Pimoroni Pico modules | ||
set(MICROPY_C_HEAP_SIZE 4096) | ||
|
||
set(MICROPY_PY_LWIP ON) | ||
set(MICROPY_PY_NETWORK_CYW43 ON) | ||
|
||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) | ||
# Bluetooth | ||
set(MICROPY_PY_BLUETOOTH ON) | ||
set(MICROPY_BLUETOOTH_BTSTACK ON) | ||
set(MICROPY_PY_BLUETOOTH_CYW43 ON) | ||
|
||
set(MICROPY_C_HEAP_SIZE 4096) | ||
# Board specific version of the frozen manifest | ||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,16 @@ | ||
# cmake file for Pimoroni Inky with Raspberry Pi Pico W | ||
set(MICROPY_BOARD PICO_W) | ||
|
||
# The C malloc is needed by cyw43-driver Bluetooth and Pimoroni Pico modules | ||
set(MICROPY_C_HEAP_SIZE 4096) | ||
|
||
set(MICROPY_PY_LWIP ON) | ||
set(MICROPY_PY_NETWORK_CYW43 ON) | ||
|
||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) | ||
# Bluetooth | ||
set(MICROPY_PY_BLUETOOTH ON) | ||
set(MICROPY_BLUETOOTH_BTSTACK ON) | ||
set(MICROPY_PY_BLUETOOTH_CYW43 ON) | ||
|
||
set(MICROPY_C_HEAP_SIZE 4096) | ||
# Board specific version of the frozen manifest | ||
set(MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR}/manifest.py) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters