9. Compiling the Sgitheach SAM3X8C Clock Firmware for the Fortress E1T Clock
Introduction
These notes are to help you install the final release 1 firmware source code and how to compile it.
The output of this process are binary files that are identical to the binary files available on the
Dropbox. These notes are not a tutorial on using Atmel Studio and assume you have a good
working knowledge of Atmel Studio 7.0 and where everything is.
At this time I am using:
•
Atmel Studio 7.0.1931
•
Atmel Framework version 3.35.1
•
Windows 10 - NT6.2.92000.0
•
ARM/CNU C Compiler 6.3.1
Distribution file download and installation
The firmware source code files for the SAM3X8C are distributed as Atmel Studio Template files.
You copy the
Fortress 1.0.2.zip
from the Dropbox to the Studio Template directory. On my PC
this is:
c:\users\grahame\documents\visual studio 2015\my exported templates
so it will definitely be in another location on your system!
Creating a project and compiling the SAM3X8C firmware
•
Run Atmel Studio and start a new project.
•
The new project dialogue box should now show an installed C/C++ template called “Fortress
1.0.2”. Select this file and set the name to “Fortress01” or whatever you want and the location to
where you want the project files to be placed
•
Remove/delete the
Device_Setup
folder and all of its contents
•
Remove/delete the
main.c
file at the bottom of the explorer window (leaving the
main.c
that is
inside the
src
folder).
•
Open the
conf_version.h
file in the config folder and make sure that the
#define
FORTRESS_E1T_CLOCK
is not commented out but all of the other clock types are each
commented out.
•
Change the Solution Configuration to
Release
•
Open the project properties dialogue and change:
•
Compiler General - untick the default char type and default bit field type checkboxes if
ticked
Or the latest and greatest on the Dropbox…
Page 65
Version 1.0
Copyright Grahame Marsh/Nick Stock 2019
Содержание An E1T Timepiece
Страница 79: ...Fortress How It Works Board Schematics and Function Page 79 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 82: ...Page 82 Version 1 0 Copyright Grahame Marsh Nick Stock 2019 1 1 SAM3X8C schematic...
Страница 108: ...Page 108 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 109: ...Page 109 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 110: ...Page 110 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...
Страница 120: ...E1T Data Sheet Page 120 Version 1 0 Copyright Grahame Marsh Nick Stock 2019...