Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
v1.6.0 to support Nano_33_BLE using LittleFS
Browse files Browse the repository at this point in the history
### Major Releases v1.6.0

1. Add support to **MBED nRF52840-based boards such as Nano_33_BLE, Nano_33_BLE_Sense**, etc. using [**Arduino-mbed mbed_nano** core](https://github.com/arduino/ArduinoCore-mbed)
  • Loading branch information
khoih-prog committed Aug 30, 2021
1 parent 23cae96 commit 43ddfed
Show file tree
Hide file tree
Showing 8 changed files with 476 additions and 87 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ If you don't find anything, please [open a new issue](https://github.com/khoih-p
Please ensure to specify the following:

* Arduino IDE version (e.g. 1.8.15) or Platform.io version
* `SAMD` Core Version (e.g. Arduino SAMD core v1.8.11, Adafruit SAMD core v1.7.2, Seeed Studio SAMD v1.8.1)
* `SAMD` Core Version (e.g. Arduino SAMD core v1.8.11, Adafruit SAMD core v1.7.4, Seeed Studio SAMD v1.8.1)
* Contextual information (e.g. what you were trying to achieve)
* Simplest possible steps to reproduce
* Anything that might be relevant in your opinion, such as:
Expand All @@ -29,7 +29,7 @@ Please ensure to specify the following:
Arduino IDE version: 1.8.15
Arduino SAMD Core Version 1.8.11
OS: Ubuntu 20.04 LTS
Linux xy-Inspiron-3593 5.4.0-80-generic #90-Ubuntu SMP Fri Jul 9 22:49:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Linux xy-Inspiron-3593 5.4.0-81-generic #91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Context:
I encountered an endless loop while trying to connect to Local WiFi.
Expand Down
296 changes: 226 additions & 70 deletions README.md

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion examples/minimal/minimal.ino
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

Built by Khoi Hoang https://github.com/khoih-prog/MultiResetDetector_Generic
Licensed under MIT license
Version: 1.5.0
Version: 1.6.0

Version Modified By Date Comments
------- ----------- ---------- -----------
Expand All @@ -22,6 +22,7 @@
1.3.0 K Hoang 28/05/2021 Add support to Nano_RP2040_Connect, RASPBERRY_PI_PICO using RP2040 Arduino mbed core
1.4.0 K Hoang 05/06/2021 Permit more control over LittleFS for RP2040 Arduino mbed core
1.5.0 K Hoang 07/08/2021 Add support to RTL8720DN, etc. using AmebaD core
1.6.0 K Hoang 29/08/2021 Add support to MBED Nano_33_BLE, Nano_33_BLE_Sense, etc. using LittleFS
*****************************************************************************************************************************/
/****************************************************************************************************************************
This example will open a configuration portal when the reset button is pressed twice.
Expand Down
7 changes: 7 additions & 0 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ MRD_GENERIC_USE_SAM_DUE LITERAL1
MRD_GENERIC_USE_NRF52 LITERAL1
MRD_GENERIC_USE_RP2040 LITERAL1
MRD_GENERIC_USE_MBED_RP2040 LITERAL1
MRD_GENERIC_USE_NANO33BLE LITERAL1
MRD_GENERIC_USE_RTL8720 LITERAL1

MRD_NANO33BLE_NEED_INIT LITERAL1
NANO33BLE_FLASH_SIZE LITERAL1
NANO33BLE_FS_START LITERAL1
NANO33BLE_FS_LOCATION_END LITERAL1
FLASH_BASE LITERAL1

MULTIRESETDETECTOR_FLAG_BEGIN LITERAL1
MULTIRESETDETECTOR_FLAG_CLEAR LITERAL1
FLAG_DATA_SIZE LITERAL1
Expand Down
8 changes: 4 additions & 4 deletions library.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "MultiResetDetector_Generic",
"version": "1.5.0",
"keywords": "device, control, eeprom, flashstorage-samd, flashstorage-rtl8720, flashstorage-stm32, rpi-pico, rp2040, rtl8720, nano-rp2040-connect, teensy, sam-due, samd, stm32, nRF52, multi-reset, flashstorage, dueflashstorage, littlefs, spiffs, double-reset, reset, detector, data",
"description": "Library to detect a multi reset, using EEPROM, DueFlashStorage, FlashStorage_SAMD, FlashStorage_RTL8720, FlashStorage_STM32 or LittleFS/InternalFS. For AVR, Teensy, SAM DUE, SAMD, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO, RTL8720DN, etc. boards. Now using efficient FlashStorage_STM32 library and supporting new RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO and STM32 core v2.0.0",
"version": "1.6.0",
"keywords": "device, control, eeprom, flashstorage-samd, flashstorage-stm32, nano-rp2040-connect, nano-33-ble, teensy, sam-due, samd, stm32, nRF52, multi-reset, flashstorage, dueflashstorage, littlefs, spiffs, flashstorage-rtl8720, mbed, rpi-pico, rp2040, raspberry-pico, double-reset, reset, detector, data",
"description": "Library to detect a multi reset, using EEPROM, DueFlashStorage, FlashStorage_SAMD, FlashStorage_RTL8720, FlashStorage_STM32 or LittleFS/InternalFS. For AVR, Teensy, SAM DUE, SAMD, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO, RTL8720DN, MBED nRF52840-based Nano_33_BLE, etc. boards. Now using efficient FlashStorage_STM32 library and supporting new RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO and STM32 core v2.0.0",
"authors":
{
"name": "Khoi Hoang",
Expand Down Expand Up @@ -33,7 +33,7 @@
{
"owner": "khoih.prog",
"name": "FlashStorage_SAMD",
"version": "^1.1.0",
"version": "^1.2.0",
"platforms": ["*"]
},
{
Expand Down
4 changes: 2 additions & 2 deletions library.properties
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name=MultiResetDetector_Generic
version=1.5.0
version=1.6.0
author=Khoi Hoang
maintainer=Khoi Hoang <khoih.prog@gmail.com>
license=MIT
sentence=Library to detect a multi reset, using EEPROM, DueFlashStorage, FlashStorage_SAMD, FlashStorage_RTL8720, FlashStorage_STM32 or LittleFS/InternalFS for AVR, Teensy, SAM DUE, SAMD21, SAMD51, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO, RTL8720DN, etc. boards. Now using efficient FlashStorage_STM32 library and supporting new RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO and STM32 core v2.0.0 as well as v1.9.0
sentence=Library to detect a multi reset, using EEPROM, DueFlashStorage, FlashStorage_SAMD, FlashStorage_RTL8720, FlashStorage_STM32 or LittleFS/InternalFS. For AVR, Teensy, SAM DUE, SAMD, STM32F/L/H/G/WB/MP1, nRF52, RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO, RTL8720DN, MBED nRF52840-based Nano_33_BLE, etc. boards. Now using efficient FlashStorage_STM32 library and supporting new RP2040-based Nano_RP2040_Connect, RASPBERRY_PI_PICO and STM32 core v2.0.0
paragraph=An alternative start-up mode can be used. One example is to allow re-configuration of device's Blynk and/or WiFi, MQTT, ThingStream Credentials.
category=Device Control
url=https://github.com/khoih-prog/MultiResetDetector_Generic
Expand Down
6 changes: 3 additions & 3 deletions platformio/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ upload_speed = 921600

lib_deps =
; PlatformIO 4.x
FlashStorage_STM32@>=1.1.0
FlashStorage_SAMD@>=1.1.0
FlashStorage_RTL8720@>=1.0.0
; FlashStorage_STM32@>=1.1.0
; FlashStorage_SAMD@>=1.1.0
; FlashStorage_RTL8720@>=1.0.0
; PlatformIO 5.x
; khoih.prog/FlashStorage_STM32@>=1.1.0
; khoih.prog/FlashStorage_SAMD@>=1.1.0
Expand Down
Loading

0 comments on commit 43ddfed

Please sign in to comment.