Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
55baa42
Create LowPower_WithWorkAndGPIOInterrupt.ino
stephenf7072 Mar 23, 2020
e700326
Errors in pad mapping fixed
stephenf7072 Mar 25, 2020
cafc527
fix extern declaration of analog channel and config maps
Mar 26, 2020
246b9ff
Merge pull request #145 from sparkfun/fix-analogread-loop
Mar 26, 2020
e70ae52
add Stephen F and alphebetize acknowledgements
Mar 27, 2020
8776265
clean up comments
Mar 27, 2020
53b66c2
Merge pull request #144 from stephenf7072/Updated_UART_Pad_Mapping
Mar 27, 2020
f09f385
switch to Arduino's 7 2017 q4 compiler tool to avoid BFD issues with …
Apr 3, 2020
0ac9d9a
remove unecessary files
Apr 8, 2020
2e231e6
update CMSIS files
Apr 8, 2020
c860d98
update ambiq devices
Apr 8, 2020
ad233cb
Create am_sdk_version.h
Apr 8, 2020
d3aa732
Create am_util_regdump.c
Apr 8, 2020
342ba78
update utils
Apr 8, 2020
2289708
update hal
Apr 8, 2020
7608258
add check in digital write to switch back to GPIO if not current func…
Apr 9, 2020
4d6816e
comment out AM_HAL_IOM_FULLDUPLEX usage
Apr 9, 2020
5e4eef8
change analogWrite scheme to simply clear the timer then reconfigure
Apr 8, 2020
b0774aa
allow for users to change frequency of analogWrite
Apr 8, 2020
7544ff1
remove warnings
Apr 8, 2020
c88d62f
made gpio function selection check inline
Apr 9, 2020
4aeaf11
Add variable I2C clock speed if user selects outside of 100kHz, 400kH…
nseidle Apr 12, 2020
7e98adc
Create HAL-Variances.md
nseidle Apr 12, 2020
a62579f
Corrected the pads for SDA2 and SCL2
PaulZC Apr 13, 2020
db967c2
move additional functionality out of HAL
Apr 13, 2020
95424c5
use 48MHz macro
Apr 13, 2020
7706896
Merge pull request #150 from sparkfun/adjustable-I2C-speed
Apr 13, 2020
d90e9a6
Merge pull request #152 from PaulZC/Nano_Pad_Corrections
Apr 13, 2020
234e506
add rollover blocking to analogWrite
Apr 13, 2020
72b62bb
Merge pull request #153 from sparkfun/no-inversion
Apr 13, 2020
477952f
patch full duplex SPI transfers after migration to AmbiqSuite SDK 2.4…
Apr 14, 2020
d322a7f
Merge pull request #154 from sparkfun/patch-spi-fullduplex
Apr 15, 2020
11c110e
remove automatic pinMode in digitalWrite
Apr 15, 2020
11cc17a
Merge pull request #148 from sparkfun/DigitalW_after_analog_fix
Apr 15, 2020
a8da890
fix analogWrite duty cycle preservation
Apr 16, 2020
b1d3cfa
Update RTC
adamgarbo Apr 22, 2020
429c93f
Added extra Serial prints just before the TX&RX pins are disabled
PaulZC Apr 22, 2020
269de5c
Merge pull request #157 from PaulZC/PaulZC__LowPower_Example_Tweaks
Apr 22, 2020
0d7b0a3
Update RTC.h
adamgarbo Apr 23, 2020
ada4050
Update RTC.cpp
adamgarbo Apr 23, 2020
ad336ad
Update RTC.h
adamgarbo Apr 23, 2020
ba5c816
Update RTC.cpp
adamgarbo Apr 23, 2020
d10ee3f
Update keywords.txt
adamgarbo Apr 23, 2020
17ca26f
Update RTC.cpp
adamgarbo Apr 23, 2020
bf780ab
Update RTC.cpp
adamgarbo Apr 23, 2020
f4d55d1
Update keywords.txt
adamgarbo Apr 23, 2020
2f8ce51
Merge branch 'rtcAlarms' of https://github.com/adamgarbo/Arduino_Apol…
adamgarbo Apr 23, 2020
18c1e6f
Update RTC.h
adamgarbo Apr 24, 2020
0043bf3
Update RTC.cpp
adamgarbo Apr 24, 2020
f3d9c7e
Update keywords.txt
adamgarbo Apr 24, 2020
da71acb
Update RTC.h
adamgarbo Apr 24, 2020
cd53b25
Update keywords.txt
adamgarbo Apr 24, 2020
493200c
Update RTC.cpp
adamgarbo Apr 24, 2020
5fa9db4
Update Example3_TestRTC.ino
adamgarbo Apr 25, 2020
28504be
Update Example2_RTCwithSleep.ino
adamgarbo Apr 25, 2020
ab7447d
Update Example1_getTime.ino
adamgarbo Apr 25, 2020
d6997ac
back to 8-2018-q4-major compiler version
May 5, 2020
ce23bcd
VSC whitespace changes
Apr 29, 2020
870e83d
Add getTemperature() function. Update example 4 with new temp read fu…
Apr 29, 2020
de4e8f8
Merge pull request #159 from sparkfun/adc_temperatureSensor
May 5, 2020
ec031d9
Update ap3_gpio.cpp
May 5, 2020
65d3c5c
rename getTemperature to getInternalTemp
May 5, 2020
35dc840
Merge pull request #160 from sparkfun/rename-get-temperature
May 5, 2020
a43ee95
use recipe.size.regex.data to compute static memory usage
May 5, 2020
20e99fe
undo an accidental change
May 5, 2020
5d7ecc9
Merge pull request #162 from sparkfun/display-ram-usage
May 5, 2020
f3a2d0a
Merge pull request #161 from sparkfun/fix-detach-interrupt
May 5, 2020
8cd7233
Merge pull request #163 from sparkfun/release-candidate
May 6, 2020
1bf63b9
back to 2018 q4 major version of gcc
May 8, 2020
9f8aa2b
Merge pull request #165 from sparkfun/revert-compiler
May 8, 2020
5227c1c
Merge pull request #166 from sparkfun/release-candidate
May 8, 2020
d13e4e0
Add test-compile
ArminJo May 20, 2020
c9b0ea9
Merge pull request #169 from ArminJo/master
May 20, 2020
3d80369
Merge remote-tracking branch 'upstream/master' into rtcAlarms
adamgarbo May 23, 2020
69cc615
Update RTC.h
adamgarbo May 23, 2020
6ae1208
Create Example1_Get_Time.ino
adamgarbo May 23, 2020
fbcdc1d
Delete Example1_getTime.ino
adamgarbo May 23, 2020
a53782e
Create Example2_RTC_Sleep.ino
adamgarbo May 23, 2020
d16b64b
Delete Example2_RTCwithSleep.ino
adamgarbo May 23, 2020
9b18daa
Create Example3_Test_RTC.ino
adamgarbo May 23, 2020
d833ca1
Delete Example3_TestRTC.ino
adamgarbo May 23, 2020
2cf56bf
Create Example4_Set_Epoch.ino
adamgarbo May 23, 2020
bad7234
Create Example5_Set_Alarms.ino
adamgarbo May 23, 2020
ea2e7ea
Create Example6_Rolling_Alarms.ino
adamgarbo May 23, 2020
41e2914
Update Example6_Rolling_Alarms.ino
adamgarbo May 23, 2020
55571c5
Update Example6_Rolling_Alarms.ino
adamgarbo May 26, 2020
7dafea2
Update Example6_Rolling_Alarms.ino
adamgarbo May 26, 2020
9d2390b
Delete Example2_RTC_Sleep.ino
adamgarbo Jun 3, 2020
0a7c956
Delete Example5_Set_Alarms.ino
adamgarbo Jun 3, 2020
ac0bcd0
Delete Example6_Rolling_Alarms.ino
adamgarbo Jun 3, 2020
ca602fe
Update Example1_Get_Time.ino
adamgarbo Jun 3, 2020
877ac2d
Create Example2_Set_Alarms.ino
adamgarbo Jun 3, 2020
6847614
Update Example3_Test_RTC.ino
adamgarbo Jun 3, 2020
c23d225
Update Example4_Set_Epoch.ino
adamgarbo Jun 3, 2020
3383950
Create Example5_Rolling_Alarms.ino
adamgarbo Jun 3, 2020
f3f7ac7
Create Example6_LowPower_Alarm.ino
adamgarbo Jun 3, 2020
2432faa
Update RTC.cpp
adamgarbo Jun 3, 2020
ebb80e5
Update library.properties
adamgarbo Jun 3, 2020
e691f2f
Update RTC alarm comparisons
adamgarbo Jun 3, 2020
9d8a363
use correct AP3_WireN_IOM macros
oclyke Jun 10, 2020
2fbddb2
Merge pull request #174 from sparkfun/fix-wire-macros
Jun 16, 2020
2ca5c57
Create keywords.txt
nseidle Jun 26, 2020
cfa8713
Only wait for roll over if requested PWM is on the same segment
Jul 7, 2020
9072743
Correct typo in HAL
nseidle Jul 10, 2020
ddda09e
Add checking of RTS/CTS pins to enable flow control. Fix typo in _beg…
nseidle Jul 10, 2020
4d4db9c
Merge pull request #229 from sparkfun/pwmSegmentFix
Jul 14, 2020
16894c2
Merge pull request #230 from sparkfun/addFlowControl
Jul 14, 2020
33bd2d9
Merge pull request #191 from sparkfun/addKeywords
Jul 14, 2020
f27f5a7
restore Example1 date format
oclyke Jul 14, 2020
670d7fb
fix typo in Example1 restore
oclyke Jul 14, 2020
1287ee0
Merge pull request #232 from sparkfun/release-candidate
Jul 14, 2020
38d3a2a
Update RTC.cpp
adamgarbo Jul 15, 2020
a2279ed
Update RTC.h
adamgarbo Jul 15, 2020
2656e07
standardize RTC api for setTime and setAlarm
Jul 15, 2020
751ab8f
fix Example3
Jul 15, 2020
d3bd832
automatically update internal structures on setTime and setToCompiler…
Jul 16, 2020
0d0b549
Convert Example2 loop to non-blocking
Jul 16, 2020
8dbc5d1
Merge pull request #170 from adamgarbo/rtcAlarms
Jul 16, 2020
2cc5ab4
Merge pull request #234 from sparkfun/release-candidate
Jul 16, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
87 changes: 87 additions & 0 deletions .github/workflows/TestCompile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
# TestCompile.yml
# Github workflow script to test compile all examples of an Arduino library repository.
#
# Copyright (C) 2020 Armin Joachimsmeyer
# https://github.com/ArminJo/Github-Actions
#

# This is the name of the workflow, visible on GitHub UI.
name: TestCompile
on:
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**TestCompile.yml'
pull_request:
jobs:
build:
name: Test compiling examples for Digispark
runs-on: ubuntu-18.04
env:
# Comma separated list without double quotes around the list.
REQUIRED_LIBRARIES: SparkFun MS5637 Barometric Pressure Library,SparkFun MMA8452Q Accelerometer
PLATFORM_DEFAULT_URL: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json

strategy:
matrix:
# The matrix will produce one job for each configuration parameter of type `arduino-boards-fqbn`
# In the Arduino IDE, the fqbn is printed in the first line of the verbose output for compilation as parameter -fqbn=... for the "arduino-builder -dump-prefs" command
#
# Examples: arduino:avr:uno, arduino:avr:leonardo, arduino:avr:nano, arduino:avr:mega
# arduino:sam:arduino_due_x, arduino:samd:arduino_zero_native"
# ATTinyCore:avr:attinyx5:chip=85,clock=1internal, digistump:avr:digispark-tiny, digistump:avr:digispark-pro
# STM32:stm32:GenF1:pnum=BLUEPILL_F103C8
# esp8266:esp8266:huzzah:eesz=4M3M,xtal=80, esp32:esp32:featheresp32:FlashFreq=80
# You may add a suffix behind the fqbn with "|" to specify one board for e.g. different compile options like arduino:avr:uno|trace
#############################################################################################################
arduino-boards-fqbn:
- SparkFun:apollo3:artemis
- SparkFun:apollo3:amap3redboard
- SparkFun:apollo3:amap3nano
- SparkFun:apollo3:amap3atp
- SparkFun:apollo3:amap3thing
- SparkFun:apollo3:edge
- SparkFun:apollo3:edge2


# Specify parameters for each board.
# With examples-exclude you may exclude specific examples for a board. Use a comma separated list.
#############################################################################################################
include:
- arduino-boards-fqbn: SparkFun:apollo3:artemis
examples-exclude: Example4_analogRead,LowPower_WithWork,Example2_Serial,Example2_MoreSPIPorts,Example6_19servos,Example7_29servos

- arduino-boards-fqbn: SparkFun:apollo3:amap3redboard
examples-exclude: Example2_MoreSPIPorts

- arduino-boards-fqbn: SparkFun:apollo3:amap3nano
examples-exclude: Example6_19servos,Example7_29servos

- arduino-boards-fqbn: SparkFun:apollo3:amap3atp
examples-exclude: Example4_analogRead,Example6_19servos

- arduino-boards-fqbn: SparkFun:apollo3:amap3thing

- arduino-boards-fqbn: SparkFun:apollo3:edge
examples-exclude: Example4_analogRead,LowPower_WithWork,Example2_Serial,Example6_19servos,Example7_29servos

- arduino-boards-fqbn: SparkFun:apollo3:edge2
examples-exclude: Example4_analogRead,LowPower_WithWork,Example2_Serial,Example1_SPI,Example6_19servos,Example7_29servos

# Do not cancel all jobs / architectures if one job fails
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@master

- name: Compile all examples
uses: ArminJo/arduino-test-compile@v2
with:
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
arduino-board-fqbn: ${{ matrix.arduino-boards-fqbn }}
platform-default-url: ${{ env.PLATFORM_DEFAULT_URL }}
platform-url: ${{ matrix.platform-url }}
examples-exclude: ${{ matrix.examples-exclude }}
examples-build-properties: ${{ toJson(matrix.examples-build-properties) }}
Loading