4 Commits
Author SHA1 Message Date
jlehmann c88c1a68be Umstellung auf arduino-cli 2021-04-23 11:12:43 +02:00
jlehmann 1651aab05b included upload command in README 2021-04-09 14:02:53 +02:00
jlehmann 2cff8e78c8 updated heltec library 2021-04-09 13:41:16 +02:00
jlehmann 15d75f10fc rejoin after every powercycle, updated cubecell lib 2021-02-22 18:13:20 +01:00
2 changed files with 32 additions and 7 deletions
@@ -12,7 +12,7 @@ BME280 bme280;
/******************************************************************************/ /******************************************************************************/
/* Firmware Version */ /* Firmware Version */
/******************************************************************************/ /******************************************************************************/
static const int32_t fwVersion = 20210206; static const int32_t fwVersion = 20210423;
/******************************************************************************/ /******************************************************************************/
/* LoraWAN Settings */ /* LoraWAN Settings */
@@ -991,4 +991,4 @@ void loop()
break; break;
} }
} }
} }
+30 -5
View File
@@ -20,10 +20,35 @@ Autor: Joerg Lehmann, nbit Informatik GmbH
Das sind die verwendeten Libraries [1]: Das sind die verwendeten Libraries [1]:
| URL | Commit | Commit Date | | URL | Branch | Commit | Commit Date |
| --- | ----- | ----------- | | --- | ------ | ----- | ----------- |
| https://github.com/HelTecAutomation/ASR650x-Arduino.git | 9856523 | Thu, 4 Feb 2021 18:02:48 +0800 | | https://github.com/HelTecAutomation/CubeCell-Arduino.git | 68b01ab | Fri, 16 Apr 2021 17:59:03 +0800 |
| https://github.com/sparkfun/SparkFun_Qwiic_Scale_NAU7802_Arduino_Library.git | 688f255 | Fri, 3 Jan 2020 12:35:22 -0700 | | https://github.com/sparkfun/SparkFun_Qwiic_Scale_NAU7802_Arduino_Library.git | master | 688f255 | Fri, 3 Jan 2020 12:35:22 -0700 |
| https://github.com/sparkfun/SparkFun_BME280_Arduino_Library.git | 0b5eabf | Wed, 30 Dec 2020 20:44:27 -0700 | | https://github.com/sparkfun/SparkFun_BME280_Arduino_Library.git | master | 0b5eabf | Wed, 30 Dec 2020 20:44:27 -0700 |
[1]: echo "| $(git remote -v |grep fetch |awk '{print $2}' |tr '\n' ' ') | $(git log --pretty=format:'%h | %cD ' -n 1) |" [1]: echo "| $(git remote -v |grep fetch |awk '{print $2}' |tr '\n' ' ') | $(git log --pretty=format:'%h | %cD ' -n 1) |"
## Wir verwenden arduino-cli
Installation:
`
$ curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=~/bin sh
$ arduino-cli version
arduino-cli alpha Version: 0.18.1 Commit: b3cf8e19 Date: 2021-04-13T13:08:30Z
$ arduino-cli sketch new MiniBeieliNodeSketch
$ arduino-cli core update-index
$ arduino-cli board listall
$ arduino-cli core install CubeCell:CubeCell
$ arduino-cli core list
Compile:
$ arduino-cli compile --fqbn CubeCell:CubeCell:CubeCell-Board MiniBeieliNodeSketch
Upload:
$ arduino-cli board list
$ arduino-cli upload -p /dev/ttyUSB0 --fqbn CubeCell:CubeCell:CubeCell-Board MiniBeieliNodeSketch
`