Compare commits
5 Commits
Author | SHA1 | Date |
---|---|---|
Hendrik Langer | 14ae8b8591 | 5 years ago |
Hendrik Langer | 94b4d0bd97 | 5 years ago |
Hendrik Langer | dee5db92d8 | 5 years ago |
Hendrik Langer | 5412c52fbb | 5 years ago |
Hendrik Langer | 39263e3eaf | 5 years ago |
3 changed files with 30 additions and 25 deletions
@ -1,12 +1,19 @@ |
|||||
build: |
image: python:2.7 |
||||
image: eclipse/platformio |
|
||||
|
stages: |
||||
|
- test |
||||
|
|
||||
|
before_script: |
||||
|
- "pip install -U platformio" |
||||
|
|
||||
|
job: |
||||
|
stage: test |
||||
script: |
script: |
||||
# - platformio lib -g install 1 |
- platformio ci --project-conf platformio.ini --board=heltec_wifi_lora_32 |
||||
# - platformio ci --board=esp32thing |
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin .pioenvs/heltec_wifi_lora_32/ |
||||
- platformio run |
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin .pioenvs/heltec_wifi_lora_32/ |
||||
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin .pioenvs/esp32thing/ |
# to flash: esptool.py --before default_reset --after hard_reset --chip esp32 --port "/dev/ttyUSB0" --baud 115200 write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin" 0x8000 ".pioenvs/esp32thing/partitions.bin" 0xe000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin" 0x10000 .pioenvs/heltec_wifi_lora_32/firmware.bin |
||||
- cp /home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin .pioenvs/esp32thing/ |
variables: {PLATFORMIO_CI_SRC: "src"} |
||||
# to flash: esptool.py --before default_reset --after hard_reset --chip esp32 --port "/dev/ttyUSB0" --baud 115200 write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/sdk/bin/bootloader.bin" 0x8000 ".pioenvs/esp32thing/partitions.bin" 0xe000 "/home/user/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin" 0x10000 .pioenvs/esp32thing/firmware.bin |
|
||||
artifacts: |
artifacts: |
||||
paths: |
paths: |
||||
- ".pioenvs/esp32thing/*.bin" |
- ".pioenvs/heltec_wifi_lora_32/*.bin" |
||||
|
Loading…
Reference in new issue