Skip to content

Commit dcac894

Browse files
authored
Merge pull request #301 from mcci-catena/issue300
Fix #300: fix SAMD build issues with latest release
2 parents 315a775 + e9aac16 commit dcac894

File tree

5 files changed

+13
-4
lines changed

5 files changed

+13
-4
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1446,6 +1446,10 @@ This sketch demonstrates the use of the Catena FSM class to implement the `Turns
14461446

14471447
## Release History
14481448

1449+
- HEAD includes the following changes.
1450+
1451+
- fix [#300](https://github.com/mcci-catena/Catena-Arduino-Platform/issues/300): fix build issues for SAMD21 boards. (version 0.21.1-1)
1452+
14491453
- v0.21.0 includes the following changes.
14501454

14511455
- fix [#286](https://github.com/mcci-catena/Catena-Arduino-Platform/issues/286): support enhanced state save/restore for Arduino LoRaWAN library. Requires Arduino LoRaWAN v0.9.0-1 or later.

src/CatenaBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Copyright notice:
5757
(((major) << 24u) | ((minor) << 16u) | ((patch) << 8u) | (local))
5858

5959
#define CATENA_ARDUINO_PLATFORM_VERSION \
60-
CATENA_ARDUINO_PLATFORM_VERSION_CALC(0, 21, 0, 0) /* v0.21.0 */
60+
CATENA_ARDUINO_PLATFORM_VERSION_CALC(0, 21, 1, 1) /* v0.21.1-1 */
6161

6262
#define CATENA_ARDUINO_PLATFORM_VERSION_GET_MAJOR(v) \
6363
(((v) >> 24u) & 0xFFu)

src/CatenaWingFram2k.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,6 @@ class CatenaWingFram2k::LoRaWAN : public Arduino_LoRaWAN_network,
144144
const uint8_t *pExtraInfo,
145145
size_t nExtraInfo
146146
) override;
147-
virtual void NetSaveSessionState(
148-
const SessionState &State
149-
);
150147
virtual void NetSaveSessionState(
151148
Arduino_LoRaWAN::SessionState const &State
152149
) override;

src/Catena_Download.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Copyright and License:
2424
#ifndef _catena_download_h_
2525
#define _catena_download_h_
2626

27+
#ifdef ARDUINO_STM32
28+
2729
#include <cstdarg>
2830
#include <Catena_BootloaderApi.h>
2931
#include <Catena_Flash.h>
@@ -284,4 +286,6 @@ class cDownload : public cPollableObject
284286

285287
} // McciCatena
286288

289+
#endif // ARDUINO_STM32
290+
287291
#endif // _catena_download_h_

src/lib/Catena_Download.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Copyright and License:
2121

2222
#include "Catena_Download.h"
2323

24+
#ifdef ARDUINO_STM32
25+
2426
#include <Catena_BootloaderApi.h>
2527
#include <Catena_Flash.h>
2628
#include <Catena_Log.h>
@@ -590,3 +592,5 @@ cDownload::evStartSerialDownload(
590592
// launch the request.
591593
return evStart(request);
592594
}
595+
596+
#endif ARDUINO_STM32

0 commit comments

Comments
 (0)