File tree 2 files changed +21
-4
lines changed
ports/rp2/boards/SPARKFUN_THINGPLUS_RP2350 2 files changed +21
-4
lines changed Original file line number Diff line number Diff line change 3
3
set (PICO_BOARD "sparkfun_thingplus_rp2350" )
4
4
set (PICO_PLATFORM "rp2350" )
5
5
6
- include (enable_cyw43.cmake)
6
+ set (MICROPY_PY_LWIP ON )
7
+ set (MICROPY_PY_NETWORK_CYW43 ON )
8
+
9
+ # Bluetooth
10
+ set (MICROPY_PY_BLUETOOTH ON )
11
+ set (MICROPY_BLUETOOTH_BTSTACK ON )
12
+ set (MICROPY_PY_BLUETOOTH_CYW43 ON )
7
13
8
14
# Board specific version of the frozen manifest
9
- set (MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR} /manifest.py)
15
+ set (MICROPY_FROZEN_MANIFEST ${MICROPY_BOARD_DIR} /manifest.py)
Original file line number Diff line number Diff line change 2
2
#define MICROPY_HW_BOARD_NAME "SparkFun Thing Plus RP2350"
3
3
#define MICROPY_HW_FLASH_STORAGE_BYTES (14 * 1024 * 1024)
4
4
5
+ // Enable networking.
6
+ #define MICROPY_PY_NETWORK 1
5
7
#define MICROPY_PY_NETWORK_HOSTNAME_DEFAULT "ThingPlusRP2350"
6
8
9
+ // CYW43 driver configuration.
10
+ #define CYW43_USE_SPI (1)
11
+ #define CYW43_LWIP (1)
12
+ #define CYW43_GPIO (1)
13
+ #define CYW43_SPI_PIO (1)
14
+
15
+ #define MICROPY_HW_PIN_EXT_COUNT CYW43_WL_GPIO_COUNT
16
+
17
+ int mp_hal_is_pin_reserved (int n );
18
+ #define MICROPY_HW_PIN_RESERVED (i ) mp_hal_is_pin_reserved(i)
19
+
7
20
#define MICROPY_HW_USB_VID (0x1B4F)
8
21
#define MICROPY_HW_USB_PID (0x0038)
9
22
<
52C3
/td> 33
46
34
47
#define MICROPY_HW_PSRAM_CS_PIN (8)
35
48
#define MICROPY_HW_ENABLE_PSRAM (1)
36
-
37
- #include "enable_cyw43.h"
You can’t perform that action at this time.
0 commit comments