File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ jobs:
206206 fi
207207 if [[ "$BOARD" =~ "esp32:esp32:esp32c5" ]]; then
208208 arduino --pref "boardsmanager.additional.urls=https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json" --save-prefs ;
209- arduino --install-boards esp32:esp32:3.3.0-alpha1 ;
209+ arduino --install-boards esp32:esp32:3.3.0-RC1 ;
210210 arduino --board $BOARD --save-prefs ;
211211 arduino --pref "custom_CPUFreq=esp32c5_80" --save-prefs ;
212212 arduino --pref "custom_DebugLevel=esp32c5_none" --save-prefs ;
Original file line number Diff line number Diff line change 3333
3434#include " SkyView.h"
3535
36- #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
36+ #if !defined(CONFIG_BT_ENABLED)
3737#error Bluetooth is not enabled!
3838#endif
3939
Original file line number Diff line number Diff line change 250250#define SOC_GPIO_PIN_USB_DP 19 /* D1 */
251251#define SOC_GPIO_PIN_USB_DN 18 /* D2 */
252252
253- #if defined(CONFIG_IDF_TARGET_ESP32C5 ) || defined( CONFIG_IDF_TARGET_ESP32C6 )
253+ #if defined(CONFIG_IDF_TARGET_ESP32C6 )
254254#define USE_NIMBLE
255255#endif
256256#define EXCLUDE_AUDIO
Original file line number Diff line number Diff line change 2828
2929#if !defined(USE_ARDUINOBLE)
3030
31- #if !defined(CONFIG_BT_ENABLED) || !defined(CONFIG_BLUEDROID_ENABLED)
31+ #if !defined(CONFIG_BT_ENABLED)
3232#error Bluetooth is not enabled!
3333#endif
3434
4949#include < BLE2902.h>
5050#endif /* USE_NIMBLE */
5151
52+ #if !defined(CONFIG_IDF_TARGET_ESP32C5)
5253#include " esp_gap_bt_api.h"
54+ #endif /* CONFIG_IDF_TARGET_ESP32C5 */
5355
5456#include " EEPROMHelper.h"
5557#include " BluetoothHelper.h"
Original file line number Diff line number Diff line change @@ -251,7 +251,10 @@ extern PCF8563_Class *rtc;
251251#define SOC_GPIO_PIN_GNSS_RX SOC_GPIO_PIN_TULTIMA_ESP_HS
252252#define SOC_GPIO_PIN_GNSS_TX SOC_GPIO_PIN_TULTIMA_ESP_DR
253253
254+ #if defined(CONFIG_IDF_TARGET_ESP32C6 )
254255#define USE_NIMBLE
256+ #endif
257+
255258//#define USE_ARDUINOBLE
256259#if defined(USE_ARDUINOBLE )
257260extern IODev_ops_t ArdBLE_Bluetooth_ops ;
Original file line number Diff line number Diff line change @@ -533,7 +533,7 @@ extern const USB_Device_List_t supported_USB_devices[];
533533#undef ENABLE_PROL
534534#if defined(CONFIG_IDF_TARGET_ESP32C5 )
535535//#define EXCLUDE_BLUETOOTH
536- #define USE_NIMBLE
536+ // #define USE_NIMBLE
537537#define USE_SOFTSPI
538538#elif defined(CONFIG_IDF_TARGET_ESP32C6 )
539539#define USE_NIMBLE
Original file line number Diff line number Diff line change 2121
2222#include " ../../system/SoC.h"
2323
24- #if defined(CONFIG_BLUEDROID_ENABLED ) && !defined(USE_NIMBLE) && !defined(USE_ARDUINOBLE)
24+ #if ! defined(EXCLUDE_BLUETOOTH ) && !defined(USE_NIMBLE) && !defined(USE_ARDUINOBLE)
2525/*
2626 * BLE code is based on Neil Kolban example for IDF:
2727 * https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleNotify.cpp
3232#include < BLEServer.h>
3333#include < BLE2902.h>
3434
35+ #if !defined(CONFIG_IDF_TARGET_ESP32C5)
3536#include " esp_gap_bt_api.h"
37+ #endif /* CONFIG_IDF_TARGET_ESP32C5 */
3638
3739#include " ../../driver/EEPROM.h"
3840#include " ../../driver/Bluetooth.h"
You can’t perform that action at this time.
0 commit comments