Skip to content

Commit 23ab97d

Browse files
committed
[RP2350] activate Bluetooth SPP and LE
1 parent 373931b commit 23ab97d

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

software/firmware/source/SkyView/Platform_RP2XXX.h

-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@
2727
#define Serial_setDebugOutput(x) ({})
2828
#define WIFI_STA_TIMEOUT 20000
2929
extern WebServer server;
30-
#if PICO_SDK_VERSION_MAJOR == 2
31-
#define EXCLUDE_BLUETOOTH
32-
#endif /* PICO_SDK_VERSION_MAJOR */
3330
#else
3431
#include <Arduino.h>
3532
#define EXCLUDE_WIFI

software/firmware/source/SoftRF/src/driver/Bluetooth.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ enum
4646
#include "../platform/bluetooth/ArduinoBLE.h"
4747
#endif /* USE_ARDUINOBLE */
4848
#elif defined(ARDUINO_ARCH_RP2040) || defined(ARDUINO_ARCH_RP2350)
49-
#if defined(ARDUINO_RASPBERRY_PI_PICO_W)
49+
#if defined(ARDUINO_RASPBERRY_PI_PICO_W) || defined(ARDUINO_RASPBERRY_PI_PICO_2W)
5050
#include "../platform/bluetooth/BTstack.h"
5151
#elif defined(ARDUINO_NANO_RP2040_CONNECT)
5252
#if defined(USE_ARDUINOBLE)

software/firmware/source/SoftRF/src/platform/RP2XXX.h

-3
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,6 @@ struct rst_info {
243243
#define Serial_setDebugOutput(x) ({})
244244
#define WIFI_STA_TIMEOUT 20000
245245
#define NMEA_TCP_SERVICE
246-
#if PICO_SDK_VERSION_MAJOR == 2
247-
#define EXCLUDE_BLUETOOTH
248-
#endif /* PICO_SDK_VERSION_MAJOR */
249246
/* Experimental */
250247
//#define ENABLE_BT_VOICE
251248
#else

software/firmware/source/SoftRF/src/platform/bluetooth/BTstack.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ static void CYW43_Bluetooth_setup()
699699
static char Hardware[9];
700700
snprintf(Hardware, sizeof(Hardware), "%08X", hw_info.revision);
701701

702-
const char *Firmware = "Arduino RP2040 " ARDUINO_PICO_VERSION_STR;
702+
const char *Firmware = "Arduino RP2XXX " ARDUINO_PICO_VERSION_STR;
703703

704704
// Setup device information service
705705
device_information_service_server_init();

0 commit comments

Comments
 (0)