From 9a0cca796d7a0fd1a8f0d543f3e903763f4de75f Mon Sep 17 00:00:00 2001 From: hathach Date: Mon, 5 Nov 2018 14:50:18 +0700 Subject: [PATCH] more clean up --- README.md | 4 +++- changelog.md | 2 ++ cores/nRF5/sysview/library.properties | 10 ---------- libraries/Bluefruit52Lib/src/BLEAdvertising.cpp | 4 ++-- 4 files changed, 7 insertions(+), 13 deletions(-) delete mode 100644 cores/nRF5/sysview/library.properties diff --git a/README.md b/README.md index 3a63be20..1ca114ab 100644 --- a/README.md +++ b/README.md @@ -145,7 +145,9 @@ which in turn is based on the [Arduino SAMD Core](https://github.com/arduino/Ard The following libraries are used: - adafruit-nrfutil is based on Nordic Semiconductor ASA's [pc-nrfutil](https://github.com/NordicSemiconductor/pc-nrfutil) +- freeRTOS as operating system - [tinyusb](https://github.com/hathach/tinyusb) as usb stack - [nrfx](https://github.com/NordicSemiconductor/nrfx) for peripherals driver - [littlefs](https://github.com/ARMmbed/littlefs) for internal file system -- [fatfs by elm-chan](http://elm-chan.org/fsw/ff/00index_e.html) for external file system \ No newline at end of file +- [fatfs by elm-chan](http://elm-chan.org/fsw/ff/00index_e.html) for external file system +- Segger Sysview for debugging. \ No newline at end of file diff --git a/changelog.md b/changelog.md index 48bd2f1f..709b4468 100644 --- a/changelog.md +++ b/changelog.md @@ -5,12 +5,14 @@ - Feather nRF52840 support - Upgrade bootloader to v6.1.0 ( single bank only ) - Upgrade freeRTOS from v8 to v10.0.1 +- Upgrade Segger SysView to 2.52d - Added nrfx to core - Added tinyusb stack to libraries - Added LittleFS to replace NFFS - Added FileSystem Libraries base on SD File API - InternalFS use LittleFS to manage internal flash for bonding and other user data - ExternalFS use fatfs to manage external spi flash (nrf52840 only) for usb msc. +- Replace cpritnf by std printf ## 0.8.6 diff --git a/cores/nRF5/sysview/library.properties b/cores/nRF5/sysview/library.properties deleted file mode 100644 index a02ad677..00000000 --- a/cores/nRF5/sysview/library.properties +++ /dev/null @@ -1,10 +0,0 @@ -name=Segger Sysview -version=2.5.0 -author=Segger -maintainer=Adafruit -sentence=Real-time application analysis -paragraph=Real-time application analysis -category=Other -url=https://www.segger.com/products/development-tools/about-systemview/ -architectures=* -includes=SEGGER_SYSVIEW_FreeRTOS.h diff --git a/libraries/Bluefruit52Lib/src/BLEAdvertising.cpp b/libraries/Bluefruit52Lib/src/BLEAdvertising.cpp index fb53bc18..8312395f 100644 --- a/libraries/Bluefruit52Lib/src/BLEAdvertising.cpp +++ b/libraries/Bluefruit52Lib/src/BLEAdvertising.cpp @@ -353,8 +353,8 @@ bool BLEAdvertising::_start(uint16_t interval, uint16_t timeout) //.primary_phy, .secondary_phy, .set_id, .scan_req_notification }; - // Configure Data - ble_gap_adv_data_t gap_adv = + // gap_adv long-live is required by SD v6 + static ble_gap_adv_data_t gap_adv = { .adv_data = { .p_data = _data, .len = _count }, .scan_rsp_data = { .p_data = Bluefruit.ScanResponse.getData(), .len = Bluefruit.ScanResponse.count() }