Skip to content

Merge beta to master #653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 33 commits into from
Jun 17, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
6793485
merge #437
z3t0 Aug 10, 2017
e1768b4
Added changelog info
z3t0 Aug 10, 2017
622e28b
Update library.properties
z3t0 Aug 13, 2017
b0d15b6
Modified library.json
z3t0 Aug 13, 2017
635e8a9
Restructuring directory as per #464
z3t0 Aug 13, 2017
31968a4
Removed redundant preprocessor directives
z3t0 Aug 13, 2017
a406f3b
Removed blinking led
z3t0 Aug 13, 2017
563c82c
Removed pronto "protocol"
z3t0 Aug 13, 2017
542516f
Revert "Removed pronto "protocol""
z3t0 Aug 13, 2017
4eb95a3
Revert "Removed blinking led"
z3t0 Aug 14, 2017
7245efd
Fix some minor problems in boarddefs.h and IRremote.cpp (#505)
bengtmartensson Aug 17, 2017
24dd940
Moving private includes to sub-directory, #464 (#507)
bengtmartensson Aug 20, 2017
5bbd55c
Fix #510
z3t0 Aug 22, 2017
e206e12
Doxygen API documentation in the sense of #461 (#512)
bengtmartensson Aug 23, 2017
c6a2fcd
Updated README.md for API doc.
bengtmartensson Aug 27, 2017
d2939e2
Updated README.md for API doc. (#515)
z3t0 Sep 7, 2017
d719c27
Changed default send pin on ATmega32u4 from 13 to 9
z3t0 Sep 15, 2017
2b3188e
Merge branch 'master' of https://github.com/z3t0/Arduino-IRremote
z3t0 Sep 15, 2017
71f6dac
Revert "Merge pull request #519 from PaulStoffregen/master"
z3t0 Sep 15, 2017
bdb9f1c
Added support for RC5 extended
z3t0 Sep 24, 2017
3ab3088
Merge branch 'LarsWH-master' into beta
z3t0 Sep 24, 2017
742f72f
Merge branch 'beta' of https://github.com/z3t0/Arduino-IRremote into …
z3t0 Sep 24, 2017
e7a208f
Function declarations for non Arduino IDE's
ArminJo May 27, 2020
c188aac
Added GitHub workflow
ArminJo May 27, 2020
f737aab
Revert possible error in if condition not existent in master and intr…
ArminJo May 28, 2020
7513102
Bump version to 2.5.0
ArminJo May 28, 2020
52b2312
Tested 5 examples for AVR
ArminJo May 28, 2020
3182cd1
ESP32 and SAMD tests + ProMicro changes from master for easy merging
ArminJo Jun 1, 2020
c6e9013
ProMicro and Leonardo compile tests
ArminJo Jun 1, 2020
ffe19fa
Documentation
ArminJo Jun 8, 2020
c7982b6
1. Review results
ArminJo Jun 9, 2020
5086695
Installation and code style documentation
ArminJo Jun 10, 2020
9f402a4
Contributing explained
ArminJo Jun 11, 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
102 changes: 102 additions & 0 deletions .github/workflows/LibraryBuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# LibraryBuild.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
#
# Before being able to push to my .github\workflows directories,
# I had to create a new personal token with workflow enabled at https://github.com/settings/tokens

# This is the name of the workflow, visible on GitHub UI.
name: LibraryBuild
on:
push: # see: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**LibraryBuild.yml'
pull_request:
paths:
- '**.ino'
- '**.cpp'
- '**.h'
- '**LibraryBuild.yml'

jobs:
build:
name: ${{ matrix.arduino-boards-fqbn }} - test compiling examples

runs-on: ubuntu-18.04 # I picked Ubuntu to use shell scripts.

env:
# Comma separated list without double quotes around the list.
REQUIRED_LIBRARIES:

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:
- arduino:avr:uno
- arduino:avr:leonardo
- arduino:samd:arduino_zero_native
- esp32:esp32:featheresp32:FlashFreq=80
- SparkFun:avr:promicro

# 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: arduino:avr:uno
examples-build-properties:
AiwaRCT501SendDemo: -DSEND_AIWA_RC_T501
IRrecord: -DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6
IRsendDemo: -DSEND_SONY
IRtest: -DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6
IRtest2: -DSEND_NEC -DSEND_SONY -DSEND_RC5 -DSEND_RC6
JVCPanasonicSendDemo: -DSEND_JVC -DSEND_PANASONIC
LegoPowerFunctionsSendDemo: -DSEND_LEGO_PF
LegoPowerFunctionsTests: -DSEND_LEGO_PF

- arduino-boards-fqbn: esp32:esp32:featheresp32:FlashFreq=80
platform-url: https://dl.espressif.com/dl/package_esp32_index.json
examples-exclude: AiwaRCT501SendDemo,IRrecord,IRsendDemo,IRsendRawDemo,IRtest,IRtest2,JVCPanasonicSendDemo,LegoPowerFunctionsSendDemo,LGACSendDemo # Comma separated list of (unique substrings of) example names to exclude in build

- arduino-boards-fqbn: SparkFun:avr:promicro
arduino-platform: arduino:avr,SparkFun:avr
platform-url: https://raw.githubusercontent.com/sparkfun/Arduino_Boards/master/IDE_Board_Manager/package_sparkfun_index.json # Arduino URL is not required here


# Do not cancel all jobs / architectures if one job fails
fail-fast: false

steps:
- name: Checkout
uses: actions/checkout@master

# Use the arduino-test-compile script, because it is faster
- name: Compile all examples using the bash script arduino-test-compile.sh
env:
# Passing parameters to the script by setting the appropriate ENV_* variables.
ENV_ARDUINO_BOARD_FQBN: ${{ matrix.arduino-boards-fqbn }}
ENV_ARDUINO_PLATFORM: ${{ matrix.arduino-platform }}
ENV_PLATFORM_URL: ${{ matrix.platform-url }}
ENV_REQUIRED_LIBRARIES: ${{ env.REQUIRED_LIBRARIES }}
ENV_EXAMPLES_EXCLUDE: ${{ matrix.examples-exclude }}
ENV_EXAMPLES_BUILD_PROPERTIES: ${{ toJson(matrix.examples-build-properties) }}
# ENV_DEBUG_INSTALL: true

run: |
wget --quiet https://raw.githubusercontent.com/ArminJo/arduino-test-compile/master/arduino-test-compile.sh
ls -l arduino-test-compile.sh
chmod +x arduino-test-compile.sh
./arduino-test-compile.sh
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

8 changes: 5 additions & 3 deletions Contributing.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Contribution Guidlines
# Contribution Guidelines

This library is the culmination of the expertise of many members of the open source community who have dedicated their time and hard work. The best way to ask for help or propose a new idea is to [create a new issue](https://github.com/z3t0/Arduino-IRremote/issues/new) while creating a Pull Request with your code changes allows you to share your own innovations with the rest of the community.

The following are some guidelines to observe when creating issues or PRs:
- Be friendly; it is important that we can all enjoy a safe space as we are all working on the same project and it is okay for people to have different ideas
- [Use code blocks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code); it helps us help you when we can read your code! On that note also refrain from pasting more than 30 lines of code in a post, instead [create a gist](https://gist.github.com/) if you need to share large snippets
- [Use code blocks](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code); **it helps us help you when we can read your code!** On that note also refrain from pasting more than 30 lines of code in a post, instead **[create a gist](https://gist.github.com/) if you need to share large snippets**
- Use reasonable titles; refrain from using overly long or capitalized titles as they are usually annoying and do little to encourage others to help :smile:
- Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library
- Be detailed; refrain from mentioning code problems without sharing your source code and always give information regarding your board and version of the library
- Use the style; we use the original [C Style by Kerninghan / Ritchie](https://en.wikipedia.org/wiki/Indentation_style#K&R_style) in [variant: 1TBS (OTBS)](https://en.wikipedia.org/wiki/Indentation_style#Variant:_1TBS_(OTBS)). In short: 4 spaces indentation, no tabs, opening braces on the same line, rraces are mandatory on all if/while/do, no hard line length limit. To beautify your code, you may use the online formatter [here](https://www.freecodeformat.com/c-format.php).
- Choose the right Pull Request target; if you only have **minor changes or adding a new protocol**, choose **master** as target for your Pull Request. If have a change **addressing more general aspects** of this library or think, that the PR should be **discussed and reviewed**, choose the **dev** branch as target for your Pull Request like described [here](https://guides.github.com/introduction/flow/).

If there is any need to contact me then you can find my email on the README, I do not mind responding to emails but it would be in your own interests to create issues if you need help with the library as responses would be from a larger community with greater knowledge!
2 changes: 2 additions & 0 deletions Contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@ These are the active contributors of this project that you may contact if there
- [philipphenkel](https://github.com/philipphenkel): Active Contributor
- [MCUdude](https://github.com/MCUdude): Contributor
- [marcmerlin](https://github.com/marcmerlin): Contributor (ESP32 port)
- [bengtmartensson](https://github.com/bengtmartensson): Active Contributor
- [MrBryonMiller](https://github.com/MrBryonMiller): Contributor

Note: This list is being updated constantly so please let [z3t0](https://github.com/z3t0) know if you have been missed.
Loading