5252 -T STM32F407VGTx_FLASH.ld \
5353 -Wl,-Map=build/test.map,--cref -Wl,--gc-sections \
5454 -o build/test.elf \
55- src /main.c src /can_wrapper.c src /test_can_wrapper.c \
56- src /tx_cache.c src /can_command_list.c src /debug_logger.c \
57- src /print.c src /log_buffer.c \
55+ Src /main.c Src /can_wrapper.c Src /test_can_wrapper.c \
56+ Src /tx_cache.c Src /can_command_list.c Src /debug_logger.c \
57+ Src /print.c Src /log_buffer.c \
5858 -lc -lm -lnosys
5959
6060 - name : Build Production Version
7474 -T STM32F407VGTx_FLASH.ld \
7575 -Wl,-Map=build/production.map,--cref -Wl,--gc-sections \
7676 -o build/production.elf \
77- src /main.c src /can_wrapper.c \
78- src /tx_cache.c src /can_command_list.c src /debug_logger.c \
79- src /print.c src /log_buffer.c \
77+ Src /main.c Src /can_wrapper.c \
78+ Src /tx_cache.c Src /can_command_list.c Src /debug_logger.c \
79+ Src /print.c Src /log_buffer.c \
8080 -lc -lm -lnosys
8181
8282 - name : Generate Hex Files
@@ -145,7 +145,7 @@ jobs:
145145
146146 # Check that only Cache_Manager_Thread touches s_tx_cache
147147 echo "Checking s_tx_cache access..."
148- if grep -n "s_tx_cache" src /can_wrapper.c | grep -v "Cache_Manager_Thread\|Process_Expired_Items"; then
148+ if grep -n "s_tx_cache" Src /can_wrapper.c | grep -v "Cache_Manager_Thread\|Process_Expired_Items"; then
149149 echo "ERROR: s_tx_cache accessed outside Cache_Manager_Thread!"
150150 exit 1
151151 else
@@ -154,7 +154,7 @@ jobs:
154154
155155 # Check ISR only uses queues
156156 echo "Checking ISR safety..."
157- if grep -A 20 "HAL_CAN_RxFifo0MsgPendingCallback" src /can_wrapper.c | grep -E "TxCache_|s_tx_cache"; then
157+ if grep -A 20 "HAL_CAN_RxFifo0MsgPendingCallback" Src /can_wrapper.c | grep -E "TxCache_|s_tx_cache"; then
158158 echo "ERROR: ISR directly accesses cache!"
159159 exit 1
160160 else
@@ -163,7 +163,7 @@ jobs:
163163
164164 # Check bit operations are fixed
165165 echo "Checking bit operations..."
166- if grep -n "rx_behaviour |" src /can_wrapper.c; then
166+ if grep -n "rx_behaviour |" Src /can_wrapper.c; then
167167 echo "ERROR: Bitwise OR bug still present!"
168168 exit 1
169169 else
0 commit comments