Disable MISRA scanning until new method is ready

This commit is contained in:
Josh Stewart 2019-09-02 23:45:28 +10:00
parent aebc2dc1f8
commit c145210fff
2 changed files with 8 additions and 8 deletions

View File

@ -56,14 +56,14 @@ before_install:
- sudo apt-get install doxygen graphviz
install:
- pip install -U platformio
-
script:
- cd /home/travis/build
- git clone --depth=10 https://github.com/noisymime/cppcheck.git noisymime/cppcheck_github
- cd noisymime/cppcheck_github
- make
- cd ../speeduino
#- cd noisymime/cppcheck_github
#- make
#- cd ../speeduino
- platformio update
# Run the builds (Mega must be last so that the hex file isn't cleaned up)
- platformio run -e teensy35 -e teensy40 -e megaatmega2560
@ -71,9 +71,9 @@ script:
- curl --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./.pio/build/megaatmega2560/firmware.hex" "https://speeduino.com:2078/bin/master.hex"
- curl --user "speeduino_firmware@speeduino.com:$WEB_PWD" --basic -T "./reference/speeduino.ini" "https://speeduino.com:2078/master.ini"
# Begin MISRA scan
- cd ..
- chmod +x speeduino/misra/check_misra_github.sh
- speeduino/misra/check_misra_github.sh
#- cd ..
#- chmod +x speeduino/misra/check_misra_github.sh
#- speeduino/misra/check_misra_github.sh
# Do doxygen run and upload to gh-pages server.
- cd speeduino
- doxygen

View File

@ -31,7 +31,7 @@
#define FastCRC_tables
#include "inttypes.h"
#if defined(__AVR__) || defined(STM32_MCU_SERIES) || defined(ARDUINO_ARCH_STM32) || defined(_VARIANT_ARDUINO_STM32_) || defined(__SAMD21G18A__)
#if defined(__AVR__) || defined(STM32_MCU_SERIES) || defined(ARDUINO_ARCH_STM32) || defined(_VARIANT_ARDUINO_STM32_) || defined(__SAMD21G18A__) || defined(__IMXRT1062__)
#include <avr/pgmspace.h>
#else
#include <pgmspace.h>