This commit completely removes versions like _0v4 in board names and adds DTS overlays to zephyr/ directory. These can be used to compile for older board versions. Some additional configuration changes are handled in board.h file using board version number from DT_CHARGE_CONTROLLER_PCB_VERSION_NUM.
37 lines
861 B
YAML
37 lines
861 B
YAML
language: python
|
|
|
|
# Cache PlatformIO packages using Travis CI container-based infrastructure
|
|
sudo: false
|
|
cache:
|
|
directories:
|
|
- "~/.platformio"
|
|
|
|
env:
|
|
- PLATFORMIO_CI_SRC=src
|
|
|
|
install:
|
|
- pip install -U platformio
|
|
- platformio update
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- doxygen
|
|
|
|
script:
|
|
# check for trailing white spaces (comparing with first commit in git log)
|
|
- git diff --check `git rev-list HEAD | tail -n 1`..$TRAVIS_BRANCH
|
|
- platformio run -e mppt_2420_lc -e mppt_1210_hus -e mppt_2420_hpx -e pwm_2420_lus
|
|
- platformio test -e unit_test
|
|
- platformio check -e mppt_1210_hus -e pwm_2420_lus
|
|
- doxygen Doxyfile
|
|
|
|
deploy:
|
|
provider: pages
|
|
skip_cleanup: true
|
|
local_dir: html
|
|
github_token: $GH_REPO_TOKEN
|
|
on:
|
|
repo: LibreSolar/charge-controller-firmware
|
|
branch: master
|