- 
                Notifications
    
You must be signed in to change notification settings  - Fork 508
 
Closed
Description
I've been exploring the EEPROM and Bluetooth examples. When running the EEPROM read example, compiled with TinyUSB and Bluetooth stack, I found that the EEPROM sector is somehow overwritten or corrupted by BTstack.
Here's the platformio.ini settings I used:
[env]
framework = arduino
platform = https://github.com/maxgerhardt/platform-raspberrypi.git
board_build.core = earlephilhower
board_build.filesystem_size = 1m
build_flags = -DUSE_TINYUSB
              -DPIO_FRAMEWORK_ARDUINO_ENABLE_BLUETOOTH
[env:debug]
board = rpipicow
build_type = debug
debug_tool = cmsis-dap
upload_protocol = cmsis-dap
build_flags = ${env.build_flags}
; Debug Port: Serial
              -DDEBUG_RP2040_PORT=Serial
; Debug Level: CORE
              -DDEBUG_RP2040_CORE
; Enable Exceptions
              -DPIO_FRAMEWORK_ARDUINO_ENABLE_EXCEPTIONS
; Enable Stack Protector
              -fstack-protector
; Enable RTTI
              -DPIO_FRAMEWORK_ARDUINO_ENABLE_RTTI
Metadata
Metadata
Assignees
Labels
No labels