1 Commits

Author SHA1 Message Date
44bac6617b changes 2021-12-29 14:39:07 +01:00
5 changed files with 13 additions and 8 deletions

View File

@ -39,7 +39,6 @@ release:
- gitlabreleaseuploader.py -p $PRIVATE_TOKEN - gitlabreleaseuploader.py -p $PRIVATE_TOKEN
-i $CI_PROJECT_ID -u $CI_PROJECT_URL -i $CI_PROJECT_ID -u $CI_PROJECT_URL
-f sketch.esp8266.esp8266.nodemcu.bin -f sketch.esp8266.esp8266.nodemcu.bin
-F releaseInfo.json -F releaseInfo.json -T $CI_COMMIT_REF_NAME
-T $CI_COMMIT_REF_NAME -c
-I $CI_SERVER_URL -I $CI_SERVER_URL

View File

@ -17,7 +17,8 @@ fi
if [ "$1" == "build" ]; then if [ "$1" == "build" ]; then
pushd $PROJECT_DIR/libraries/esp8266boilerplate/ConfigGenerator && ./configGen.sh && popd pushd $PROJECT_DIR/libraries/esp8266boilerplate/ConfigGenerator && ./configGen.sh && popd
env ARDUINO_SKETCHBOOK_DIR=$PROJECT_DIR arduino-cli compile --fqbn=esp8266:esp8266:nodemcu $PROJECT_DIR/sketch # env ARDUINO_SKETCHBOOK_DIR=$PROJECT_DIR arduino-cli compile --fqbn=esp8266:esp8266:nodemcu $PROJECT_DIR/sketch
docker run -it --rm -v $PWD:/mnt registry.hottis.de/dockerized/build-env-arduino:latest env ARDUINO_SKETCHBOOK_DIR=/mnt arduino-cli compile -v --fqbn=esp8266:esp8266:nodemcu /mnt/sketch
cp sketch/sketch.esp8266.esp8266.nodemcu.* . cp sketch/sketch.esp8266.esp8266.nodemcu.* .
elif [ "$1" == "clean" ]; then elif [ "$1" == "clean" ]; then
for D in libraries/includes/configuration.h libraries/includes/configuration.cpp sketch/sketch.esp8266.esp8266.nodemcu.bin sketch/sketch.esp8266.esp8266.nodemcu.elf sketch.esp8266.esp8266.nodemcu.bin sketch.esp8266.esp8266.nodemcu.elf; do for D in libraries/includes/configuration.h libraries/includes/configuration.cpp sketch/sketch.esp8266.esp8266.nodemcu.bin sketch/sketch.esp8266.esp8266.nodemcu.elf sketch.esp8266.esp8266.nodemcu.bin sketch.esp8266.esp8266.nodemcu.elf; do
@ -26,7 +27,7 @@ elif [ "$1" == "clean" ]; then
done done
elif [ "$1" == "upload" ]; then elif [ "$1" == "upload" ]; then
echo "About to upload to device" echo "About to upload to device"
esptool.py --port /dev/ttyUSB1 write_flash 0 sketch.esp8266.esp8266.nodemcu.bin esptool --port /dev/ttyUSB0 write_flash 0 sketch.esp8266.esp8266.nodemcu.bin
else else
echo "Unknown subcommand '$1'" echo "Unknown subcommand '$1'"
exit 1 exit 1

View File

@ -8,7 +8,7 @@
#ifndef DEFINES_H_ #ifndef DEFINES_H_
#define DEFINES_H_ #define DEFINES_H_
// #define DEBUG #define DEBUG
@ -29,7 +29,12 @@
#endif #endif
#ifdef WS2811 #ifdef WS2811
#define PIXEL_PIN 1 // NODEMCU numbering #ifdef ESP01
#define PIXEL_PIN 2
#endif
#ifdef NODEMCU
#define PIXEL_PIN D1
#endif
#endif #endif
#ifdef PL9823 #ifdef PL9823

View File

@ -1,5 +1,5 @@
{ {
"releaseTag": "v1.0.8", "releaseTag": "v1.0.7",
"createReleaseTag": "true", "createReleaseTag": "true",
"releaseName": "colorPattern and watchdog", "releaseName": "colorPattern and watchdog",
"description": "introduce the colorPattern config option (swap R and G) and use the mqtt boilerplate code with watchdog support" "description": "introduce the colorPattern config option (swap R and G) and use the mqtt boilerplate code with watchdog support"

View File

@ -16,5 +16,5 @@ configItems = [
{"label":"DebugMode", "key":"debugMode", "type":"I", "default":0} {"label":"DebugMode", "key":"debugMode", "type":"I", "default":0}
] ]
magic = 3235774471 magic = 3235774475
appName = "ESP8266 based RGB-LED-Light" appName = "ESP8266 based RGB-LED-Light"