Skip to content

Commit 350a1db

Browse files
author
Owen
authored
Merge pull request #292 from sparkfun/v1_add_micromod
2 parents 1b8de22 + 003969e commit 350a1db

File tree

11 files changed

+4390
-0
lines changed

11 files changed

+4390
-0
lines changed

boards.txt

+36
Original file line numberDiff line numberDiff line change
@@ -314,3 +314,39 @@ edge2.menu.loader.sparkfun_svl.build.ldscript={build.variant.path}/linker_script
314314

315315
###############################################################
316316

317+
amap3micromod.name=SparkFun Artemis MicroMod
318+
amap3micromod.build.variant=artemis_micromod
319+
amap3micromod.build.board=AM_AP3_SFE_ARTEMIS_MICROMOD
320+
amap3micromod.upload.maximum_size=960000
321+
amap3micromod.upload.sbl_baud=115200
322+
amap3micromod.build.arch=APOLLO3
323+
amap3micromod.build.mcu=cortex-m4
324+
amap3micromod.build.f_cpu=48000000L
325+
amap3micromod.build.core=arduino
326+
amap3micromod.build.includes="-I{build.variant.path}/config" "-I{build.variant.path}/bsp"
327+
amap3micromod.build.extra_flags=-DPART_apollo3 -DAM_PACKAGE_BGA -DAM_PART_APOLLO3
328+
amap3micromod.build.ldscript={build.variant.path}/linker_scripts/gcc/artemis_sbl_svl_app.ld
329+
amap3micromod.build.preferred_export_format=bin
330+
amap3micromod.build.defs=
331+
amap3micromod.build.libs=
332+
amap3micromod.menu.svl_baud.921600=921600
333+
amap3micromod.menu.svl_baud.460800=460800
334+
amap3micromod.menu.svl_baud.230400=230400
335+
amap3micromod.menu.svl_baud.115200=115200
336+
amap3micromod.menu.svl_baud.57600=57600
337+
amap3micromod.menu.loader.sparkfun_svl=SparkFun Variable Loader (Recommended)
338+
amap3micromod.menu.loader.ambiq_sbl=Ambiq Secure Bootloader (Advanced)
339+
340+
amap3micromod.menu.svl_baud.57600.upload.svl_baud=57600
341+
amap3micromod.menu.svl_baud.115200.upload.svl_baud=115200
342+
amap3micromod.menu.svl_baud.230400.upload.svl_baud=230400
343+
amap3micromod.menu.svl_baud.460800.upload.svl_baud=460800
344+
amap3micromod.menu.svl_baud.921600.upload.svl_baud=921600
345+
346+
amap3micromod.menu.loader.ambiq_sbl.upload.tool=ambiq_bin2board
347+
amap3micromod.menu.loader.ambiq_sbl.build.ldscript={build.variant.path}/linker_scripts/gcc/ambiq_sbl_app.ld
348+
349+
amap3micromod.menu.loader.sparkfun_svl.upload.tool=artemis_svl
350+
amap3micromod.menu.loader.sparkfun_svl.build.ldscript={build.variant.path}/linker_scripts/gcc/artemis_sbl_svl_app.ld
351+
352+
###############################################################
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Variant BSP
2+
The Board Support Package (BSP) is a feature of the AmbiqSuite SDK that allows you to:
3+
- define names and default configurations for pins
4+
- write globally-accessible routines for common functions
5+
6+
These features are potentially useful when:
7+
- designing an Apollo3-based board for a custom purpose where pin functions will be mainly static
8+
- using AmbiqSuite examples within Arduino
9+
10+
For an example of a BSP see the AmbiqSuite release 2.1.0 SDK under 'SDK/boards/Apollo3_EVB/bsp'
11+
12+
To include BSP files (i.e. am_bsp.h, am_bsp.c, am_bsp_pins.h, am_bsp_pins.c, as well as
13+
bsp_pins.src and pinconfig.py) add " -I{build.variant.path}/bsp" to the board definition in
14+
boards.txt as part of the board.build.includes parameter.
15+

0 commit comments

Comments
 (0)