Skip to content

Commit 7fc62dd

Browse files
committed
MCU8MASS-1790 Update include path for provision.ino after migrating to having cryptoauthlib in own folder
1 parent 64ec02e commit 7fc62dd

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

examples/provision/provision.ino

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,17 @@
44
* to the board.
55
*/
66

7-
#include <cryptoauthlib.h>
8-
9-
#include <atcacert/atcacert_client.h>
10-
#include <atcacert/atcacert_def.h>
11-
127
#include <avr/pgmspace.h>
138

149
#include "ecc608.h"
1510
#include "led_ctrl.h"
1611
#include "log.h"
12+
#include "security_profile.h"
1713
#include "sequans_controller.h"
1814

19-
#include "security_profile.h"
15+
#include "cryptoauthlib/lib/atcacert/atcacert_client.h"
16+
#include "cryptoauthlib/lib/atcacert/atcacert_def.h"
17+
#include "cryptoauthlib/lib/cryptoauthlib.h"
2018

2119
#include <stdint.h>
2220
#include <string.h>
@@ -741,7 +739,7 @@ static ATCA_STATUS constructCSR(char* pem, size_t* pem_size) {
741739

742740
if (ECC608.readProvisionItem(AWS_THINGNAME,
743741
common_name,
744-
&common_name_length) != ATCA_SUCCES) {
742+
&common_name_length) != ATCA_SUCCESS) {
745743
const char* default_identifier = "AVR-IoT Cellular Mini";
746744
common_name_length = strlen(default_identifier);
747745
memcpy(common_name, default_identifier, common_name_length);

0 commit comments

Comments
 (0)