Switch to Zephyr 2.3 and update pio check
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ script:
|
||||
- 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
|
||||
- platformio check -e mppt_1210_hus -e pwm_2420_lus --skip-packages --fail-on-defect high
|
||||
- doxygen Doxyfile
|
||||
|
||||
deploy:
|
||||
|
||||
@@ -27,14 +27,6 @@ config HS_MOSFET_FAIL_SAFE_PROTECTION
|
||||
short and trip the fuse by switching the low-side MOSFET continuously on. This will prevent
|
||||
accidental overcharging of the battery.
|
||||
|
||||
#
|
||||
# Temporary solution to support building with Zephyr 2.2 and 2.3
|
||||
#
|
||||
|
||||
config LEGACY_DEVICETREE_MACROS
|
||||
bool "Allow use of legacy devicetree macros (fix for Zephyr 2.2)"
|
||||
default y
|
||||
|
||||
#
|
||||
# Visible (user-configurable) Kconfig symbols
|
||||
#
|
||||
|
||||
@@ -25,7 +25,7 @@ if errorlevel 1 (
|
||||
)
|
||||
|
||||
echo "---------- Running static code checks -------------"
|
||||
platformio check -e mppt_1210_hus -e pwm_2420_lus
|
||||
platformio check -e mppt_1210_hus -e pwm_2420_lus --skip-packages --fail-on-defect high
|
||||
if errorlevel 1 (
|
||||
echo Failure Reason is %errorlevel%
|
||||
exit /b %errorlevel%
|
||||
|
||||
@@ -23,7 +23,7 @@ if [ $? != 0 ]; then
|
||||
fi
|
||||
|
||||
echo "---------- Running static code checks -------------"
|
||||
platformio check -e mppt_1210_hus -e pwm_2420_lus
|
||||
platformio check -e mppt_1210_hus -e pwm_2420_lus --skip-packages --fail-on-defect high
|
||||
if [ $? != 0 ]; then
|
||||
exit 1;
|
||||
fi
|
||||
|
||||
+3
-3
@@ -23,9 +23,9 @@ extra_configs =
|
||||
|
||||
[env]
|
||||
|
||||
# ststm32 platform release 6.1.0 includes Zephyr 2.2.0
|
||||
# ststm32 platform release 7.1.1 includes Zephyr 2.3.0
|
||||
#platform = https://github.com/platformio/platform-ststm32.git
|
||||
platform = ststm32@~6.1.0
|
||||
platform = ststm32@~7.1.1
|
||||
|
||||
framework = zephyr
|
||||
|
||||
@@ -50,7 +50,7 @@ extra_scripts =
|
||||
|
||||
check_tool = cppcheck, clangtidy
|
||||
check_flags =
|
||||
cppcheck: --enable=warning,style,performance,portability,information,missingInclude -j 7
|
||||
cppcheck: --enable=warning,style,performance,portability,information,missingInclude -j 7 --inline-suppr
|
||||
# --addon=addons/misra.py --addon=addons/cert.py
|
||||
clangtidy: --checks=-*,cert-*,clang-analyzer-*,bugprone-*,misc-*,performance-*,readability-*,-readability-magic-numbers,-cert-err58-cpp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user