﻿SAME70 Header Files Questionhttps://www.microchip.com/forums/(c) Microchip30Re: SAME70 Header Files Question (MisterHemi)Ok i'll try that and try to find the correct syntax for the newer version, which is what I prefer.<br/>&nbsp;<br/>I was able to get something from Atmel Start but, as you said, it seemed to be an older format. I prefer the newer version with the structs.<br/>&nbsp;<br/>&nbsp;<br/>https://www.microchip.com/forums/FindPost/1145088Tue, 23 Jun 2020 17:48:55 GMTRe: SAME70 Header Files Question (jdeguire)If I remember correctly, you should just be able to include "xc.h" and it'll pull in the correct file, which is location at "&lt;XC32 Install Path&gt;/pic32c/include/proc/&lt;series&gt;/&lt;device name&gt;.h".&nbsp; This is true if you are using XC32 (which uses GCC 6.2.1 for the Arm devices), but I don't know about the Arm GCC that Atmel used to ship.<br/>&nbsp;<br/>Microchip changed the format of the SAM header files starting in XC32 v2.40 to match how Harmony 3 works.&nbsp; If you want the older format to be compatible with Atmel START, then you'll want to use an older version of XC32.&nbsp; The biggest difference is that bitfields are no longer arranged in structs and so you'll access register fields using REG_FIELDNAME_Msk macros (or something like that).<br/>https://www.microchip.com/forums/FindPost/1145017Tue, 23 Jun 2020 11:03:31 GMTSAME70 Header Files Question (MisterHemi)Does anyone know if there's an equivalent of XC.H for the SAME70?<br/>&nbsp;<br/>I'm doing some bare metal programming using MPLABX and i've found a few things and was able to successfully convert some ATMEL START projects but I was wondering if there was something simpler rather than copying a million header files.<br/>https://www.microchip.com/forums/FindPost/1144680Fri, 19 Jun 2020 20:17:26 GMT