Skip to content

Commit a64909b

Browse files
committed
Initial commit
1 parent f6de74d commit a64909b

File tree

13 files changed

+911
-0
lines changed

13 files changed

+911
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# This action will add your issue to our Product Defect Project
2+
name: Add new issue to main project
3+
4+
on:
5+
issues:
6+
types:
7+
- opened
8+
9+
jobs:
10+
add-to-project:
11+
name: Add issue to project
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/add-to-project@main
15+
with:
16+
project-url: https://github.com/orgs/sparkfun/projects/19
17+
github-token: ${{ secrets.DEFECT_ADD_TO_PROJECT }}
18+
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Link to Introduction to Arduino Actions:
2+
# https://blog.arduino.cc/2021/04/09/test-your-arduino-projects-with-github-actions/
3+
name: Cross-compilation
4+
5+
on:
6+
workflow_dispatch:
7+
branches:
8+
#- push
9+
#- pull_request
10+
11+
jobs:
12+
compile-sketch:
13+
runs-on: ubuntu-latest
14+
15+
strategy:
16+
fail-fast: false
17+
18+
matrix:
19+
board:
20+
# ESP32
21+
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
22+
- fqbn: esp32:esp32:esp32
23+
platforms: |
24+
- name: esp32:esp32
25+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
26+
27+
# ESP32-S2
28+
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
29+
- fqbn: esp32:esp32:esp32s2
30+
platforms: |
31+
- name: esp32:esp32
32+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
33+
34+
# ESP32-C3
35+
# https://github.com/espressif/arduino-esp32/blob/master/boards.txt
36+
- fqbn: esp32:esp32:esp32c3
37+
platforms: |
38+
- name: esp32:esp32
39+
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
40+
41+
steps:
42+
- name: Checkout
43+
uses: actions/checkout@v3
44+
45+
- name: Branch name
46+
run: echo running on branch ${GITHUB_REF##*/}
47+
48+
- name: Patch libbt.a
49+
run: echo You need to patch libbt.a, otherwise compilation will fail...
50+
51+
- name: Compile Sketch
52+
uses: arduino/[email protected]
53+
with:
54+
platforms: ${{ matrix.board.platforms }}
55+
fqbn: ${{ matrix.board.fqbn }}
56+
libraries: |
57+
- source-path: ./
58+
# Add library dependencies here:
59+
- source-url: https://github.com/sparkfun/SparkFun_Toolkit.git
60+
- source-url: https://github.com/sparkfun/SparkFun_Authentication_Coprocessor_Arduino_Library.git
61+
sketch-paths: |
62+
- examples/ESP32_BluetoothSerial
63+
enable-warnings-report: true
64+
enable-deltas-report: true
65+
verbose: true
66+
67+
# outputs:
68+
# report-artifact-name: ${{ steps.report-artifact-name.outputs.report-artifact-name }}
69+

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.vscode/
2+
.build/
3+
*.cpp
4+
SparkFun_iAP2.*

LICENSE.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
SparkFun License Information
2+
============================
3+
4+
SparkFun uses two different licenses for our files — one for hardware and one for code.
5+
6+
Hardware
7+
---------
8+
9+
**SparkFun hardware is released under [Creative Commons Share-alike 4.0 International](http://creativecommons.org/licenses/by-sa/4.0/).**
10+
11+
Note: This is a human-readable summary of (and not a substitute for) the [license](http://creativecommons.org/licenses/by-sa/4.0/legalcode).
12+
13+
You are free to:
14+
15+
Share — copy and redistribute the material in any medium or format
16+
Adapt — remix, transform, and build upon the material
17+
for any purpose, even commercially.
18+
The licensor cannot revoke these freedoms as long as you follow the license terms.
19+
Under the following terms:
20+
21+
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
22+
ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
23+
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
24+
Notices:
25+
26+
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
27+
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
28+
29+
30+
Code
31+
--------
32+
Library contains code from multiple sources, see top of each file for specific licensing information.
33+
34+
**SparkFun code, firmware, and software is released under the MIT License(http://opensource.org/licenses/MIT).**
35+
36+
The MIT License (MIT)
37+
38+
Copyright (c) 2025 SparkFun Electronics
39+
40+
Permission is hereby granted, free of charge, to any person obtaining a copy
41+
of this software and associated documentation files (the "Software"), to deal
42+
in the Software without restriction, including without limitation the rights
43+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
44+
copies of the Software, and to permit persons to whom the Software is
45+
furnished to do so, subject to the following conditions:
46+
47+
The above copyright notice and this permission notice shall be included in all
48+
copies or substantial portions of the Software.
49+
50+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
51+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
52+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
53+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
54+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
55+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
56+
SOFTWARE.
57+
58+
**Analog Devices, firmware and software is subject to software license agreement. See SLA pdf included with this repo.**
59+
License terms outlines in:
60+
2021-05-20-LWSCADIN1110 Click Thru SLA .pdf

0 commit comments

Comments
 (0)