Skip to content

Commit b31ed52

Browse files
Added support for FLEXCOM6 on SAMG55 driver
1 parent 6919b6d commit b31ed52

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ Examples
4646

4747
Release notes
4848
-----------
49+
11/22/2017
50+
- Added support for FLEXCOM6 on SAMG55 driver
51+
4952
11/17/2017
5053
- Added library support for the ATECC608A device
5154
- Added support for Counter command

docs/html/a00083.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@
143143
</table><table class="memberdecls">
144144
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
145145
Variables</h2></td></tr>
146-
<tr class="memitem:a41b849746a2e5b6a21f42e9e47c52e4a"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a41b849746a2e5b6a21f42e9e47c52e4a">atca_version</a> [] = { &quot;20171117&quot; }</td></tr>
146+
<tr class="memitem:a41b849746a2e5b6a21f42e9e47c52e4a"><td class="memItemLeft" align="right" valign="top">char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00083.html#a41b849746a2e5b6a21f42e9e47c52e4a">atca_version</a> [] = { &quot;20171122&quot; }</td></tr>
147147
<tr class="separator:a41b849746a2e5b6a21f42e9e47c52e4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
148148
<tr class="memitem:ga692423e9c45adde594c36360756b8882"><td class="memItemLeft" align="right" valign="top"><a class="el" href="a00424.html#gaa94f7bb4af0a3d6735225cc85d92cb50">ATCADevice</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00427.html#ga692423e9c45adde594c36360756b8882">_gDevice</a> = NULL</td></tr>
149149
<tr class="separator:ga692423e9c45adde594c36360756b8882"><td class="memSeparator" colspan="2">&#160;</td></tr>
@@ -174,7 +174,7 @@ <h2 class="memtitle"><span class="permalink"><a href="#a41b849746a2e5b6a21f42e9e
174174
<div class="memproto">
175175
<table class="memname">
176176
<tr>
177-
<td class="memname">char atca_version[] = { &quot;20171117&quot; }</td>
177+
<td class="memname">char atca_version[] = { &quot;20171122&quot; }</td>
178178
</tr>
179179
</table>
180180
</div><div class="memdoc">

docs/html/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@ <h2>Examples </h2>
112112
<li>Node Authentication Example Using Asymmetric PKI is a complete, all-in-one example demonstrating all the stages of crypto authentication starting from provisioning the Crypto Authentication device ATECC608A/ATECC508A with keys and certificates to demonstrating an authentication sequence using asymmetric techniques. <a href="http://www.microchip.com/SWLibraryWeb/product.aspx?product=CryptoAuthLib">http://www.microchip.com/SWLibraryWeb/product.aspx?product=CryptoAuthLib</a></li>
113113
</ul>
114114
<h2>Release notes </h2>
115+
<p>11/22/2017</p><ul>
116+
<li>Added support for FLEXCOM6 on SAMG55 driver</li>
117+
</ul>
115118
<p>11/17/2017</p><ul>
116119
<li>Added library support for the ATECC608A device</li>
117120
<li>Added support for Counter command</li>

lib/basic/atca_basic.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include "atca_basic.h"
3535
#include "host/atca_host.h"
3636

37-
char atca_version[] = { "20171117" }; // change for each release, yyyymmdd
37+
char atca_version[] = { "20171122" }; // change for each release, yyyymmdd
3838
ATCADevice _gDevice = NULL;
3939
#define MAX_BUSES 4
4040

lib/hal/hal_samg55_i2c_asf.c

+2-7
Original file line numberDiff line numberDiff line change
@@ -294,13 +294,8 @@ ATCA_STATUS hal_i2c_init(void *hal, ATCAIfaceCfg *cfg)
294294
i2c_hal_data[bus]->twi_master_instance = TWI4;
295295
break;
296296
case 1:
297-
//i2c_hal_data[bus]->twi_id = ID_TWI1;
298-
//i2c_hal_data[bus]->twi_master_instance = TWI1;
299-
//// configure TWI1 pins
300-
//gpio_configure_pin(PIO_PB4_IDX, (PIO_PERIPH_A | PIO_PULLUP));
301-
//gpio_configure_pin(PIO_PB5_IDX, (PIO_PERIPH_A | PIO_PULLUP));
302-
//// disable JTAG
303-
//MATRIX->CCFG_SYSIO |= (1 << 4) | (1 << 5);
297+
i2c_hal_data[bus]->twi_id = FLEXCOM6;
298+
i2c_hal_data[bus]->twi_master_instance = TWI6;
304299
break;
305300
}
306301

0 commit comments

Comments
 (0)