Working CAN sending on TACOS via user space

This commit is contained in:
CarlWachter
2023-12-10 14:59:05 +01:00
parent 98ecffac48
commit af703eaea3
168 changed files with 45744 additions and 485 deletions

View File

@@ -1,7 +1,4 @@
../Core/Src/main.c:79:5:main 3
../Core/Src/main.c:159:6:SystemClock_Config 3
../Core/Src/main.c:205:13:MX_CAN1_Init 2
../Core/Src/main.c:242:13:MX_UART4_Init 2
../Core/Src/main.c:275:13:MX_GPIO_Init 1
../Core/Src/main.c:322:6:HAL_CAN_RxFifo0MsgPendingCallback 1
../Core/Src/main.c:351:6:Error_Handler 1
../Core/Src/main.c:78:5:main 2
../Core/Src/main.c:168:6:SystemClock_Config 3
../Core/Src/main.c:211:6:HAL_CAN_RxFifo0MsgPendingCallback 1
../Core/Src/main.c:240:6:Error_Handler 1

View File

@@ -25,7 +25,20 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h \
../Core/Inc/FreeRTOSConfig.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h \
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h \
../Core/Inc/can.h ../Core/Inc/main.h ../Core/Inc/usart.h \
../Core/Inc/gpio.h
../Core/Inc/main.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
../Core/Inc/stm32f4xx_hal_conf.h:
@@ -54,3 +67,18 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h:
../Core/Inc/FreeRTOSConfig.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h:
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h:
../Core/Inc/can.h:
../Core/Inc/main.h:
../Core/Inc/usart.h:
../Core/Inc/gpio.h:

Binary file not shown.

View File

@@ -1,7 +1,4 @@
../Core/Src/main.c:79:5:main 8 static
../Core/Src/main.c:159:6:SystemClock_Config 88 static
../Core/Src/main.c:205:13:MX_CAN1_Init 8 static
../Core/Src/main.c:242:13:MX_UART4_Init 8 static
../Core/Src/main.c:275:13:MX_GPIO_Init 48 static
../Core/Src/main.c:322:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static
../Core/Src/main.c:351:6:Error_Handler 8 static,ignoring_inline_asm
../Core/Src/main.c:78:5:main 8 static
../Core/Src/main.c:168:6:SystemClock_Config 88 static
../Core/Src/main.c:211:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static
../Core/Src/main.c:240:6:Error_Handler 8 static,ignoring_inline_asm

View File

@@ -1,5 +1 @@
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 1
../Core/Src/stm32f4xx_hal_msp.c:86:6:HAL_CAN_MspInit 2
../Core/Src/stm32f4xx_hal_msp.c:127:6:HAL_CAN_MspDeInit 2
../Core/Src/stm32f4xx_hal_msp.c:159:6:HAL_UART_MspInit 2
../Core/Src/stm32f4xx_hal_msp.c:195:6:HAL_UART_MspDeInit 2

Binary file not shown.

View File

@@ -1,5 +1 @@
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 16 static
../Core/Src/stm32f4xx_hal_msp.c:86:6:HAL_CAN_MspInit 48 static
../Core/Src/stm32f4xx_hal_msp.c:127:6:HAL_CAN_MspDeInit 16 static
../Core/Src/stm32f4xx_hal_msp.c:159:6:HAL_UART_MspInit 48 static
../Core/Src/stm32f4xx_hal_msp.c:195:6:HAL_UART_MspDeInit 16 static

View File

@@ -1,11 +1,9 @@
../Core/Src/stm32f4xx_it.c:69:6:NMI_Handler 1
../Core/Src/stm32f4xx_it.c:84:6:HardFault_Handler 1
../Core/Src/stm32f4xx_it.c:99:6:MemManage_Handler 1
../Core/Src/stm32f4xx_it.c:114:6:BusFault_Handler 1
../Core/Src/stm32f4xx_it.c:129:6:UsageFault_Handler 1
../Core/Src/stm32f4xx_it.c:144:6:SVC_Handler 1
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_Handler 1
../Core/Src/stm32f4xx_it.c:170:6:PendSV_Handler 1
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 1
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 1
../Core/Src/stm32f4xx_it.c:218:6:CAN1_RX1_IRQHandler 1
../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 1
../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 1
../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 1
../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 1
../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 1
../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 1
../Core/Src/stm32f4xx_it.c:159:6:SysTick_Handler 2
../Core/Src/stm32f4xx_it.c:188:6:CAN1_RX0_IRQHandler 1
../Core/Src/stm32f4xx_it.c:202:6:CAN1_RX1_IRQHandler 1

View File

@@ -26,7 +26,16 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
../Core/Inc/stm32f4xx_it.h
../Core/Inc/stm32f4xx_it.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h \
../Core/Inc/FreeRTOSConfig.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h \
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h
../Core/Inc/main.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
../Core/Inc/stm32f4xx_hal_conf.h:
@@ -56,3 +65,12 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
../Core/Inc/stm32f4xx_it.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h:
../Core/Inc/FreeRTOSConfig.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h:
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:

Binary file not shown.

View File

@@ -1,11 +1,9 @@
../Core/Src/stm32f4xx_it.c:69:6:NMI_Handler 4 static
../Core/Src/stm32f4xx_it.c:84:6:HardFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:99:6:MemManage_Handler 4 static
../Core/Src/stm32f4xx_it.c:114:6:BusFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:129:6:UsageFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:144:6:SVC_Handler 4 static
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_Handler 4 static
../Core/Src/stm32f4xx_it.c:170:6:PendSV_Handler 4 static
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 8 static
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 8 static
../Core/Src/stm32f4xx_it.c:218:6:CAN1_RX1_IRQHandler 8 static
../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 4 static
../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 4 static
../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 4 static
../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 4 static
../Core/Src/stm32f4xx_it.c:159:6:SysTick_Handler 8 static
../Core/Src/stm32f4xx_it.c:188:6:CAN1_RX0_IRQHandler 8 static
../Core/Src/stm32f4xx_it.c:202:6:CAN1_RX1_IRQHandler 8 static

View File

@@ -5,38 +5,50 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Core/Src/can.c \
../Core/Src/freertos.c \
../Core/Src/gpio.c \
../Core/Src/main.c \
../Core/Src/stm32f4xx_hal_msp.c \
../Core/Src/stm32f4xx_it.c \
../Core/Src/syscalls.c \
../Core/Src/sysmem.c \
../Core/Src/system_stm32f4xx.c
../Core/Src/system_stm32f4xx.c \
../Core/Src/usart.c
C_DEPS += \
./Core/Src/can.d \
./Core/Src/freertos.d \
./Core/Src/gpio.d \
./Core/Src/main.d \
./Core/Src/stm32f4xx_hal_msp.d \
./Core/Src/stm32f4xx_it.d \
./Core/Src/syscalls.d \
./Core/Src/sysmem.d \
./Core/Src/system_stm32f4xx.d
./Core/Src/system_stm32f4xx.d \
./Core/Src/usart.d
OBJS += \
./Core/Src/can.o \
./Core/Src/freertos.o \
./Core/Src/gpio.o \
./Core/Src/main.o \
./Core/Src/stm32f4xx_hal_msp.o \
./Core/Src/stm32f4xx_it.o \
./Core/Src/syscalls.o \
./Core/Src/sysmem.o \
./Core/Src/system_stm32f4xx.o
./Core/Src/system_stm32f4xx.o \
./Core/Src/usart.o
# Each subdirectory must supply rules for building sources it contributes
Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
clean: clean-Core-2f-Src
clean-Core-2f-Src:
-$(RM) ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su
-$(RM) ./Core/Src/can.cyclo ./Core/Src/can.d ./Core/Src/can.o ./Core/Src/can.su ./Core/Src/freertos.cyclo ./Core/Src/freertos.d ./Core/Src/freertos.o ./Core/Src/freertos.su ./Core/Src/gpio.cyclo ./Core/Src/gpio.d ./Core/Src/gpio.o ./Core/Src/gpio.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su ./Core/Src/usart.cyclo ./Core/Src/usart.d ./Core/Src/usart.o ./Core/Src/usart.su
.PHONY: clean-Core-2f-Src