Skip to content

Commit d79a564

Browse files
committed
Deleting OTA_Config.h and moving its content into ArduinoIoTCloud_Config.h
1 parent 68c0d9b commit d79a564

File tree

3 files changed

+13
-34
lines changed

3 files changed

+13
-34
lines changed

src/ArduinoIoTCloud_Config.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,22 @@
1818
#ifndef ARDUINO_IOT_CLOUD_CONFIG_H_
1919
#define ARDUINO_IOT_CLOUD_CONFIG_H_
2020

21+
/******************************************************************************
22+
* USER CONFIGURED DEFINES
23+
******************************************************************************/
24+
25+
#ifndef OTA_STORAGE_MKRMEM
26+
#define OTA_STORAGE_MKRMEM (1)
27+
#endif
28+
2129
/******************************************************************************
2230
* AUTOMATIC CONFIGURED DEFINES
2331
******************************************************************************/
2432

33+
#if !defined(ARDUINO_SAMD_MKR1000) && !defined(ARDUINO_SAMD_MKRWIFI1010) && !defined(ARDUINO_SAMD_MKRGSM1400) && !defined(ARDUINO_SAMD_MKRNB1500)
34+
#define OTA_STORAGE_MKRMEM (0)
35+
#endif
36+
2537
#if defined(ARDUINO_SAMD_MKRGSM1400) || defined(ARDUINO_SAMD_MKRWIFI1010) || \
2638
defined(ARDUINO_SAMD_MKR1000) || defined(ARDUINO_SAMD_NANO_33_IOT) || \
2739
defined(ARDUINO_SAMD_MKRNB1500)

src/utility/ota/OTAConfig.h

Lines changed: 0 additions & 33 deletions
This file was deleted.

src/utility/ota/OTAStorage_MKRMEM.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* INCLUDE
2323
******************************************************************************/
2424

25-
#include "OTAConfig.h"
25+
#include <ArduinoIoTCloud_Config.h>
2626
#if OTA_STORAGE_MKRMEM
2727

2828
#include "OTAStorage.h"

0 commit comments

Comments
 (0)