Skip to content

Commit c15b919

Browse files
committed
3.Party libraries
1 parent 4360e1f commit c15b919

File tree

15 files changed

+570
-222
lines changed

15 files changed

+570
-222
lines changed

.github/workflows/LibraryBuildWithAction.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
include:
5353
- arduino-boards-fqbn: digistump:avr:digispark-tiny:clock=clock1 # ATtiny85 board @1 MHz
5454
platform-url: https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
55+
sketches-exclude: WhistleSwitch # 101%
5556

5657
- arduino-boards-fqbn: ATTinyCore:avr:attinyx5:chip=85,clock=1internal
5758
platform-url: http://drazzy.com/package_drazzy.com_index.json
@@ -84,3 +85,4 @@ jobs:
8485
required-libraries: ${{ env.REQUIRED_LIBRARIES }}
8586
platform-url: ${{ matrix.platform-url }}
8687
sketches-exclude: ${{ matrix.sketches-exclude }}
88+
cli-version: 0.33.0 # to avoid errors for ATTinyCore

.github/workflows/LibraryBuildWithScript.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,18 @@ jobs:
5252
# With sketches-exclude you may exclude specific examples for a board. Use a comma separated list.
5353
#############################################################################################################
5454
include:
55-
- arduino-boards-fqbn: arduino:avr:uno|All-DEBUG # UNO board with -DDEBUG for all examples
55+
- arduino-boards-fqbn: arduino:avr:uno|All-DEBUG # Uno board with -DDEBUG for all examples
5656
sketches-exclude: 50Hz # Comma separated list of example names to exclude in build
5757
build-properties:
5858
All: -DDEBUG -DINFO
5959
WhistleSwitch: -DDEBUG
6060

6161
- arduino-boards-fqbn: digistump:avr:digispark-tiny:clock=clock1 # ATtiny85 board @1 MHz
6262
platform-url: https://raw.githubusercontent.com/ArminJo/DigistumpArduino/master/package_digistump_index.json
63-
sketch-names: WhistleSwitch.ino,SimpleFrequencyDetector.ino,50Hz # Comma separated list of sketch names (no path required) or patterns to use in build
63+
sketch-names: SimpleFrequencyDetector.ino,50Hz # Comma separated list of sketch names (no path required) or patterns to use in build
6464
build-properties:
6565
All: -DINFO
66-
WhistleSwitch: -DUSE_ATTINY85_20X_AMPLIFICATION -DINFO
66+
# WhistleSwitch: is 6 bytes too big :-(
6767

6868
- arduino-boards-fqbn: ATTinyCore:avr:attinyx5:chip=85,clock=1internal
6969
platform-url: http://drazzy.com/package_drazzy.com_index.json
@@ -95,13 +95,14 @@ jobs:
9595
# Passing parameters to the script by setting the appropriate ENV_* variables.
9696
ENV_ARDUINO_BOARD_FQBN: ${{ matrix.arduino-boards-fqbn }}
9797
ENV_PLATFORM_URL: ${{ matrix.platform-url }}
98-
ENV_REQUIRED_LIBRARIES: ${{ env.REQUIRED_LIBRARIES }}
98+
ENV_REQUIRED_LIBRARIES: ${{ env.REQUIRED_LIBRARIES }} # is empty here
9999
ENV_SKETCHES_EXCLUDE: ${{ matrix.sketches-exclude }}
100100
ENV_BUILD_PROPERTIES: ${{ toJson(matrix.build-properties) }}
101101
ENV_SKETCH_NAMES: ${{ matrix.sketch-names }}
102102
ENV_SKETCH_NAMES_FIND_START: .
103103
ENV_DEBUG_INSTALL: true
104104
ENV_DEBUG_COMPILE: true
105+
ENV_CLI_VERSION: 0.33.0 # to avoid errors for ATTinyCore
105106

106107
run: |
107108
wget --quiet https://raw.githubusercontent.com/ArminJo/arduino-test-compile/master/arduino-test-compile.sh

LICENSE.txt

Lines changed: 55 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -618,4 +618,57 @@ an absolute waiver of all civil liability in connection with the
618618
Program, unless a warranty or assumption of liability accompanies a
619619
copy of the Program in return for a fee.
620620

621-
END OF TERMS AND CONDITIONS
621+
END OF TERMS AND CONDITIONS
622+
623+
How to Apply These Terms to Your New Programs
624+
625+
If you develop a new program, and you want it to be of the greatest
626+
possible use to the public, the best way to achieve this is to make it
627+
free software which everyone can redistribute and change under these terms.
628+
629+
To do so, attach the following notices to the program. It is safest
630+
to attach them to the start of each source file to most effectively
631+
state the exclusion of warranty; and each file should have at least
632+
the "copyright" line and a pointer to where the full notice is found.
633+
634+
<one line to give the program's name and a brief idea of what it does.>
635+
Copyright (C) <year> <name of author>
636+
637+
This program is free software: you can redistribute it and/or modify
638+
it under the terms of the GNU General Public License as published by
639+
the Free Software Foundation, either version 3 of the License, or
640+
(at your option) any later version.
641+
642+
This program is distributed in the hope that it will be useful,
643+
but WITHOUT ANY WARRANTY; without even the implied warranty of
644+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645+
GNU General Public License for more details.
646+
647+
You should have received a copy of the GNU General Public License
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649+
650+
Also add information on how to contact you by electronic and paper mail.
651+
652+
If the program does terminal interaction, make it output a short
653+
notice like this when it starts in an interactive mode:
654+
655+
<program> Copyright (C) <year> <name of author>
656+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657+
This is free software, and you are welcome to redistribute it
658+
under certain conditions; type `show c' for details.
659+
660+
The hypothetical commands `show w' and `show c' should show the appropriate
661+
parts of the General Public License. Of course, your program's commands
662+
might be different; for a GUI interface, you would use an "about box".
663+
664+
You should also get your employer (if you work as a programmer) or school,
665+
if any, to sign a "copyright disclaimer" for the program, if necessary.
666+
For more information on this, and how to apply and follow the GNU GPL, see
667+
<https://www.gnu.org/licenses/>.
668+
669+
The GNU General Public License does not permit incorporating your program
670+
into proprietary programs. If your program is a subroutine library, you
671+
may consider it more useful to permit linking proprietary applications with
672+
the library. If this is what you want to do, use the GNU Lesser General
673+
Public License instead of this License. But first, please read
674+
<https://www.gnu.org/licenses/why-not-lgpl.html>.

0 commit comments

Comments
 (0)