Skip to content

Commit f7d1da2

Browse files
committed
Initial commit
0 parents  commit f7d1da2

File tree

168 files changed

+97460
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

168 files changed

+97460
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Arduino Core for Apollo3 Microcontroller
2+
==========================================
3+
4+
## Contents
5+
===========
6+
* [Development Status]()
7+
* [Installation]()
8+
* [Issue Template]()
9+
* [Acknowledgements]()
10+
11+
## Development Status
12+
=====================
13+
This core has just been born. Right now you will get compilation and access to the Ambiq SDK functions (currently supporting Ambiq SDK Rel 2.1.0). Board Support Package (BSP) definitions can be used with Arduino **variants**. Currently upload must be performed manually.
14+
15+
## Installation
16+
===============
17+
18+
The structure of this repo is such that it will most closely resemble the structure required when it is time to add it to the Arduino boards manager. Until then you'll have to use the manual installation process.
19+
20+
* Using Arduino IDE Boards Manager (not yet supported)
21+
* [Manually Install in Arduino Sketchbook]()
22+
* Open your Arduno sketchbook folder, listed in Arduino's preferences pane (it is where your libraries folder lives)
23+
* If there is no ```hardware``` folder create it
24+
* Inside the ```hardware``` folder create ```SparkFun```
25+
* Choose to clone with Git or download the .zip of this repo
26+
* Cloning
27+
* Clone this repo into ```SparkFun``` and give it the name ```apollo3```
28+
* .ZIP
29+
* Download the .ZIP of this repository
30+
* Within ```SparkFun``` create the ```apollo3``` directory
31+
* Unzip the contents of the .ZIP into the ```apollo3``` directory
32+
* Restart Arduino IDE for good measure

boards.txt

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
3+
edge.name=Owen's SparkFun Edge
4+
edge.build.variant=SparkFun_Edge
5+
edge.build.board=SFE_APOLLO3_EDGE
6+
edge.build.arch=APOLLO3
7+
edge.build.mcu=cortex-m4
8+
edge.build.f_cpu=48000000L
9+
edge.build.core=arduino
10+
11+
edge.build.defs=
12+
edge.build.includes=-I{build.variant.path}/bsp
13+
edge.build.libs=
14+
15+
edge.build.extra_flags=-DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3
16+
edge.build.ldscript={build.variant.path}/linker_scripts/gcc/flash_with_bootloader.ld
17+
18+
19+
20+
edge.upload.maximum_size=960000
21+
#edge.upload.tool=bossac
22+
#edge.upload.protocol=sam-ba
23+
24+
#edge.upload.use_1200bps_touch=true
25+
#edge.upload.wait_for_upload_port=true
26+
#edge.upload.native_usb=true
27+
28+
29+
#edge.build.usb_product="SFE SAMD21"
30+
#edge.build.usb_manufacturer="SparkFun"
31+
32+
33+
34+
#edge.build.openocdscript=openocd_scripts/arduino_zero.cfg
35+
36+
# edge.build.variant_system_lib=
37+
edge.build.extra_combine_flags=
38+
#edge.bootloader.tool=openocd
39+
#edge.bootloader.file=zero/SparkFun_Edge.bin=

0 commit comments

Comments
 (0)