diff --git a/README.md b/README.md index 059d6c1..1c98006 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Das sind die verwendeten Libraries [1]: | URL | Branch | Commit | Commit Date | | --- | ------ | ----- | ----------- | -| https://github.com/HelTecAutomation/CubeCell-Arduino.git | 3333024 | Wed, 28 Apr 2021 18:15:24 +0800 | +| https://github.com/HelTecAutomation/CubeCell-Arduino.git | 0582aca | Sun, 9 May 2021 16:29:35 +0800 | | 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 | master | 0b5eabf | Wed, 30 Dec 2020 20:44:27 -0700 | @@ -47,24 +47,19 @@ $ arduino-cli board listall $ arduino-cli core install CubeCell:CubeCell $ arduino-cli core list -Compile: -$ arduino-cli compile --fqbn CubeCell:CubeCell:CubeCell-Board \ - --build-property "build.band=REGION_EU868" \ - --build-property "build.LORAWAN_CLASS=CLASS_A" \ - --build-property "build.LORAWAN_DEVEUI_AUTO=0" \ - --build-property "build.LORAWAN_NETMODE=true" \ - --build-property "build.LORAWAN_ADR=true" \ - --build-property "build.LORAWAN_UPLINKMODE=false" \ - --build-property "build.LORAWAN_Net_Reserve=false" \ - --build-property "build.LORAWAN_AT_SUPPORT=1" \ - --build-property "build.RGB=0" \ - --build-property "build.LORAWAN_DebugLevel=0" \ - MiniBeieliNodeSketch +Set FQBN: +$ FQBN="CubeCell:CubeCell:CubeCell-Board:LORAWAN_REGION=6,LORAWAN_CLASS=0,LORAWAN_DEVEUI=0,LORAWAN_NETMODE=0,LORAWAN_ADR=0,LORAWAN_UPLINKMODE=1,LORAWAN_Net_Reserve=0,LORAWAN_AT_SUPPORT=0,LORAWAN_RGB=0,LORAWAN_DebugLevel=0" -Output ist in /tmp/arduino-sketch-XXXXXXXXXXXXXXXXXXXXXXXXX und kann kopiert werden: -$ mkdir ~/arduino-builds-saved/20210501/ -$ cp /tmp/arduino-sketch-0870BAA82DFEB3C4E076C8FBBDEB25B4/CubeCell_Board_REGION_EU868_RGB_0.cyacd ~/arduino-builds-saved/20210501/ +Compile: +$ arduino-cli compile --clean --fqbn ${FQBN} MiniBeieliNodeSketch Upload: +$ arduino-cli upload --fqbn ${FQBN} -p /dev/ttyUSB0 MiniBeieliNodeSketch + +Output ist in /tmp/arduino-sketch-XXXXXXXXXXXXXXXXXXXXXXXXX und kann kopiert werden: +$ mkdir ~/arduino-builds-saved/20210511/ +$ cp /tmp/arduino-sketch-0870BAA82DFEB3C4E076C8FBBDEB25B4/CubeCell_Board_REGION_EU868_RGB_0.cyacd ~/arduino-builds-saved/20210511/ + +Upload Variante 2: /home/joerg/Arduino/hardware/CubeCell/CubeCell/tools/CubeCellflash/CubeCellflash -serial /dev/ttyUSB0 /home/joerg/arduino-builds-saved/latest/CubeCell_Board_REGION_EU868_RGB_0.cyacd `