mirror of
https://github.com/lucaspalomodevelop/SmartHarz-Tracker.git
synced 2026-03-13 00:07:23 +00:00
Changes to actions and configuration
This commit is contained in:
parent
3a9f865d98
commit
c01c13cc48
39
.github/workflows/platformio.yml
vendored
39
.github/workflows/platformio.yml
vendored
@ -1,23 +1,30 @@
|
||||
name: PlatformIO
|
||||
name: PlatformIO CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
|
||||
workflow_dispatch:
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: PlatformIO Run
|
||||
uses: karniv00l/platformio-run-action@v1
|
||||
- uses: actions/checkout@v2
|
||||
- name: Cache pip
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
jobs: 6
|
||||
silent: false
|
||||
verbose: true
|
||||
disable-auto-clean: false
|
||||
path: ~/.cache/pip
|
||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-pip-
|
||||
- name: Cache PlatformIO
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.platformio
|
||||
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
- name: Install PlatformIO
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install --upgrade platformio
|
||||
- name: Run PlatformIO
|
||||
run: pio run -e t-echo
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,5 @@
|
||||
# general
|
||||
.pio
|
||||
include/configuration.h
|
||||
include/credentials.h
|
||||
|
||||
# vscode
|
||||
|
||||
@ -1,14 +0,0 @@
|
||||
/**
|
||||
* @file configuration.h
|
||||
* @author your name (you@domain.com)
|
||||
* @brief
|
||||
* @version 0.1
|
||||
* @date 2022-05-28
|
||||
*
|
||||
* @copyright Copyright (c) 2022
|
||||
*
|
||||
*/
|
||||
|
||||
/*** Configuration ***/
|
||||
#define BME280 // comment out if you have a T-Echo without BME280
|
||||
#define DEBUG // comment out to remove debug messages from serial bus
|
||||
@ -20,16 +20,17 @@ monitor_speed = 115200
|
||||
lib_deps =
|
||||
zinggjm/GxEPD2@^1.4.5
|
||||
mikalhart/TinyGPSPlus@^1.0.3
|
||||
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.1
|
||||
mcci-catena/MCCI LoRaWAN LMIC library@^4.1.0
|
||||
adafruit/Adafruit BusIO@^1.11.6
|
||||
adafruit/Adafruit Unified Sensor@^1.1.5
|
||||
adafruit/Adafruit BME280 Library@^2.2.2
|
||||
https://github.com/ElectronicCats/CayenneLPP#1.3.0
|
||||
bblanchon/ArduinoJson@^6.19.4
|
||||
lewisxhe/PCF8563_Library@^0.0.1
|
||||
lewisxhe/PCF8563_Library@^1.0.1
|
||||
adafruit/Adafruit SPIFlash@^3.10.0
|
||||
|
||||
build_flags =
|
||||
-D ARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS
|
||||
-D LMIC_LORAWAN_SPEC_VERSION=LMIC_LORAWAN_SPEC_VERSION_1_0_2
|
||||
-D CFG_eu868=1
|
||||
-D CFG_sx1276_radio=1
|
||||
-DCFG_DEBUG=0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user