File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -96,10 +96,10 @@ jobs:
9696 sudo apt-get update -y && sudo apt-get upgrade -y
9797 sudo apt-get install gcc-avr avr-libc
9898 avr-gcc --version
99- - run : avr-gcc libcanard/*.c -c -std=c99 -mmcu=${{ env.mcu }} ${{ env.flags }}
100- - run : avr-gcc libcanard/*.c -c -std=c11 -mmcu=${{ env.mcu }} ${{ env.flags }}
101- - run : avr-gcc libcanard/*.c -c -std=gnu99 -mmcu=${{ env.mcu }} ${{ env.flags }}
102- - run : avr-gcc libcanard/*.c -c -std=gnu11 -mmcu=${{ env.mcu }} ${{ env.flags }}
99+ - run : avr-gcc libcanard/*.c -Ilibcanard - c -std=c99 -mmcu=${{ env.mcu }} ${{ env.flags }}
100+ - run : avr-gcc libcanard/*.c -Ilibcanard - c -std=c11 -mmcu=${{ env.mcu }} ${{ env.flags }}
101+ - run : avr-gcc libcanard/*.c -Ilibcanard - c -std=gnu99 -mmcu=${{ env.mcu }} ${{ env.flags }}
102+ - run : avr-gcc libcanard/*.c -Ilibcanard - c -std=gnu11 -mmcu=${{ env.mcu }} ${{ env.flags }}
103103
104104 arm :
105105 if : github.event_name == 'push'
@@ -111,8 +111,8 @@ jobs:
111111 - run : |
112112 sudo apt-get update -y && sudo apt-get upgrade -y
113113 sudo apt-get install -y gcc-arm-none-eabi
114- - run : arm-none-eabi-gcc libcanard/*.c -c -std=c99 ${{ env.flags }}
115- - run : arm-none-eabi-gcc libcanard/*.c -c -std=c11 ${{ env.flags }}
114+ - run : arm-none-eabi-gcc libcanard/*.c -Ilibcanard - c -std=c99 ${{ env.flags }}
115+ - run : arm-none-eabi-gcc libcanard/*.c -Ilibcanard - c -std=c11 ${{ env.flags }}
116116
117117 style_check :
118118 if : github.event_name == 'push'
Original file line number Diff line number Diff line change 4141// --------------------------------------------- INTERNAL INCLUDES ----------------------------------------------
4242// The internal includes are placed here after the config header is included and CANARD_ASSERT is defined.
4343#define CAVL2_T struct CanardTreeNode
44- #include " cavl2.h"
44+ #include < cavl2.h>
4545
4646// --------------------------------------------- COMMON DEFINITIONS ---------------------------------------------
4747
Original file line number Diff line number Diff line change @@ -70,6 +70,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wnon-virtual-dtor
7070
7171include_directories (${library_dir} )
7272include_directories (SYSTEM catch )
73+ include_directories (SYSTEM ${CMAKE_SOURCE_DIR} /../libcanard )
7374add_definitions (-DCATCH_CONFIG_FAST_COMPILE=1 -DCATCH_CONFIG_ENABLE_ALL_STRINGMAKERS=1 )
7475
7576set (common_sources ${CMAKE_SOURCE_DIR} /main.cpp ${library_dir} /canard.c)
You can’t perform that action at this time.
0 commit comments