Skip to content
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

Develop #68

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions .github/workflows/arduino-test-compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ jobs:
build:
name: ${{ matrix.arduino-boards-fqbn }} - test compiling examples
runs-on: ubuntu-latest
# env:
# PLATFORM_DEFAULT_URL: https://arduino.esp8266.com/stable/package_esp8266com_index.json,https://dl.espressif.com/dl/package_esp32_index.json
# REQUIRED_LIBRARIES: ConfigManager
env:
# Comma separated list without double quotes around the list.
REQUIRED_LIBRARIES: ArduinoBearSSL
strategy:
matrix:
arduino-boards-fqbn:
Expand All @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Compile all examples using the bash script arduino-test-compile.sh
env:
# Passing parameters to the script by setting the appropriate ENV_* variables.
Expand All @@ -45,4 +45,4 @@ jobs:
run: |
wget --quiet https://raw.githubusercontent.com/ArminJo/arduino-test-compile/master/arduino-test-compile.sh
chmod +x arduino-test-compile.sh
./arduino-test-compile.sh
./arduino-test-compile.sh
22 changes: 22 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@

# Doxy documentation ignores
Doxyfile.default
Doxyfile.bak
doxygen_sqlite3.db
html
latex

## Project files ######
.platformio
.pio
build
build_output
ignore
arduino_secrets.h
.development
include
test
lib
logs

## Visual Studio Code specific ######
.vscode
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
*.bak
*.code-workspace
file.log
2 changes: 1 addition & 1 deletion examples/DECT_Caller/arduino_secrets.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
// 0 = http, 1 = httpsInsec, 2 = https
// Please set your own TR_ROOT_CERT and TR_PORT accordingly
// below if you chose 1 or 2!
#define TR_PROTOCOL 1
#define TR_PROTOCOL 0
// Which port do we use for accessing the TR-064 host?
// Defaults for most FRITZ!Box'es:
// 49000 for http
Expand Down
51 changes: 51 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
src_dir = examples/Internet_Stats
;src_dir = examples/DECT_Caller
;src_dir = examples/home-indicator
;lib_dir = src

[env]
framework = arduino
upload_speed = 115200
monitor_speed = 115200
monitor_filters = time
build_flags = -DDEBUG_ESP_HTTP_CLIENT -DDEBUG_ESP_PORT=Serial
lib_extra_dirs = ${workspacedir}

[esp8266_common]
platform = espressif8266
framework = ${env.framework}
upload_speed = ${env.upload_speed}
monitor_speed = ${env.monitor_speed}
build_flags = ${env.build_flags}
monitor_filters = default, log2file

[esp32_common]
platform = espressif32
board = esp32dev
framework = ${env.framework}
upload_speed = 921600
monitor_speed = ${env.monitor_speed}
build_flags = ${env.build_flags}
monitor_filters = default, log2file

[env:nodemcuv2]
board = nodemcuv2
extends = esp8266_common

[env:esp32dev]
extends = esp32_common

[env:d1_mini_pro]
board = d1_mini_pro
extends = esp8266_common
Loading
Loading