mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/CAN-Demo.git
synced 2025-06-10 02:55:59 +00:00
Working send WIP
This commit is contained in:
parent
06f6d57fcd
commit
97c5f6505e
10
.cproject
10
.cproject
@ -48,9 +48,8 @@
|
|||||||
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
|
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
|
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/Libs/sta-core/include}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Card_Module_Software/App/Inc}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/App/Inc}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Card_Module_Software/Libs/sta-core/include}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/Libs/driver-mcp2515/include}""/>
|
|
||||||
</option>
|
</option>
|
||||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1002361924" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1002361924" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
||||||
</tool>
|
</tool>
|
||||||
@ -63,9 +62,8 @@
|
|||||||
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
|
<listOptionValue builtIn="false" value="../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy"/>
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
|
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Device/ST/STM32F4xx/Include"/>
|
||||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/Libs/sta-core/include}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Card_Module_Software/Libs/sta-core/include}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/App/Inc}""/>
|
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Card_Module_Software/App/Inc}""/>
|
||||||
<listOptionValue builtIn="false" value=""${workspace_loc:/can-tests/Libs/driver-mcp2515/include}""/>
|
|
||||||
</option>
|
</option>
|
||||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols.2087867384" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols.2087867384" name="Define symbols (-D)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols" useByScannerDiscovery="false" valueType="definedSymbols">
|
||||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||||
|
50
.mxproject
50
.mxproject
@ -1,25 +1,25 @@
|
|||||||
[PreviousLibFiles]
|
[PreviousLibFiles]
|
||||||
LibFiles=Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.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_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_can.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_rcc_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_bus.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_rcc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_system.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_utils.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_flash_ramfunc.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_gpio_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_gpio.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma_ex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dma.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_dmamux.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_ll_pwr.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_cortex.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal.h;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_def.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_exti.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_hal_uart.h;Drivers\STM32F4xx_HAL_Driver\Inc\stm32f4xx_ll_usart.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f407xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Include\system_stm32f4xx.h;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Drivers\CMSIS\Include\cmsis_armcc.h;Drivers\CMSIS\Include\cmsis_armclang.h;Drivers\CMSIS\Include\cmsis_compiler.h;Drivers\CMSIS\Include\cmsis_gcc.h;Drivers\CMSIS\Include\cmsis_iccarm.h;Drivers\CMSIS\Include\cmsis_version.h;Drivers\CMSIS\Include\core_armv8mbl.h;Drivers\CMSIS\Include\core_armv8mml.h;Drivers\CMSIS\Include\core_cm0.h;Drivers\CMSIS\Include\core_cm0plus.h;Drivers\CMSIS\Include\core_cm1.h;Drivers\CMSIS\Include\core_cm23.h;Drivers\CMSIS\Include\core_cm3.h;Drivers\CMSIS\Include\core_cm33.h;Drivers\CMSIS\Include\core_cm4.h;Drivers\CMSIS\Include\core_cm7.h;Drivers\CMSIS\Include\core_sc000.h;Drivers\CMSIS\Include\core_sc300.h;Drivers\CMSIS\Include\mpu_armv7.h;Drivers\CMSIS\Include\mpu_armv8.h;Drivers\CMSIS\Include\tz_context.h;
|
LibFiles=Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_bus.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_system.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_utils.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dmamux.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_ll_pwr.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h;Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_exti.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usart.h;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_bus.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_rcc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_system.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_utils.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_gpio.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dma.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_dmamux.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_ll_pwr.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_cortex.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h;Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_exti.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h;Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_ll_usart.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_armv8mbl.h;
|
||||||
|
|
||||||
[PreviousUsedCubeIDEFiles]
|
[PreviousUsedCubeIDEFiles]
|
||||||
SourceFiles=Core\Src\main.c;Core\Src\stm32f4xx_it.c;Core\Src\stm32f4xx_hal_msp.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_rcc_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_flash_ramfunc.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_gpio.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_dma.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_pwr_ex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_cortex.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_exti.c;Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_uart.c;Drivers\CMSIS\Device\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c;Core\Src\system_stm32f4xx.c;;;
|
SourceFiles=Core/Src/main.c;Core/Src/stm32f4xx_it.c;Core/Src/stm32f4xx_hal_msp.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;Core/Src/system_stm32f4xx.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c;Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c;Drivers/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c;Core/Src/system_stm32f4xx.c;;;
|
||||||
HeaderPath=Drivers\STM32F4xx_HAL_Driver\Inc;Drivers\STM32F4xx_HAL_Driver\Inc\Legacy;Drivers\CMSIS\Device\ST\STM32F4xx\Include;Drivers\CMSIS\Include;Core\Inc;
|
HeaderPath=Drivers/STM32F4xx_HAL_Driver/Inc;Drivers/STM32F4xx_HAL_Driver/Inc/Legacy;Drivers/CMSIS/Device/ST/STM32F4xx/Include;Drivers/CMSIS/Include;Core/Inc;
|
||||||
CDefines=USE_HAL_DRIVER;STM32F407xx;USE_HAL_DRIVER;USE_HAL_DRIVER;
|
CDefines=USE_HAL_DRIVER;STM32F407xx;USE_HAL_DRIVER;USE_HAL_DRIVER;
|
||||||
|
|
||||||
[PreviousGenFiles]
|
[PreviousGenFiles]
|
||||||
AdvancedFolderStructure=true
|
AdvancedFolderStructure=true
|
||||||
HeaderFileListSize=3
|
HeaderFileListSize=3
|
||||||
HeaderFiles#0=..\Core\Inc\stm32f4xx_it.h
|
HeaderFiles#0=../Core/Inc/stm32f4xx_it.h
|
||||||
HeaderFiles#1=..\Core\Inc\stm32f4xx_hal_conf.h
|
HeaderFiles#1=../Core/Inc/stm32f4xx_hal_conf.h
|
||||||
HeaderFiles#2=..\Core\Inc\main.h
|
HeaderFiles#2=../Core/Inc/main.h
|
||||||
HeaderFolderListSize=1
|
HeaderFolderListSize=1
|
||||||
HeaderPath#0=..\Core\Inc
|
HeaderPath#0=../Core/Inc
|
||||||
HeaderFiles=;
|
HeaderFiles=;
|
||||||
SourceFileListSize=3
|
SourceFileListSize=3
|
||||||
SourceFiles#0=..\Core\Src\stm32f4xx_it.c
|
SourceFiles#0=../Core/Src/stm32f4xx_it.c
|
||||||
SourceFiles#1=..\Core\Src\stm32f4xx_hal_msp.c
|
SourceFiles#1=../Core/Src/stm32f4xx_hal_msp.c
|
||||||
SourceFiles#2=..\Core\Src\main.c
|
SourceFiles#2=../Core/Src/main.c
|
||||||
SourceFolderListSize=1
|
SourceFolderListSize=1
|
||||||
SourcePath#0=..\Core\Src
|
SourcePath#0=../Core/Src
|
||||||
SourceFiles=;
|
SourceFiles=;
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-333662596449102967" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1691560592812839866" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
</provider>
|
</provider>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||||
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-333662596449102967" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="1691560592812839866" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||||
</provider>
|
</provider>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
635E684B79701B039C64EA45C3F84D30=44DBEC1DE4EBA9B0485911FBE58BFC80
|
635E684B79701B039C64EA45C3F84D30=44DBEC1DE4EBA9B0485911FBE58BFC80
|
||||||
66BE74F758C12D739921AEA421D593D3=3
|
66BE74F758C12D739921AEA421D593D3=3
|
||||||
8DF89ED150041C4CBC7CB9A9CAA90856=7B5B92F1162457C6ECACD202698061B0
|
8DF89ED150041C4CBC7CB9A9CAA90856=84EF3C290D485BA5E95DA5C0811FD966
|
||||||
DC22A860405A8BF2F2C095E5B6529F12=7B5B92F1162457C6ECACD202698061B0
|
DC22A860405A8BF2F2C095E5B6529F12=84EF3C290D485BA5E95DA5C0811FD966
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
|
@ -15,20 +15,34 @@
|
|||||||
|
|
||||||
sta::STM32CanController canController(handle);
|
sta::STM32CanController canController(handle);
|
||||||
|
|
||||||
canController.start();
|
//canController.start();
|
||||||
|
|
||||||
|
|
||||||
|
CAN_TxHeaderTypeDef txHeader;
|
||||||
|
txHeader.DLC = 8;
|
||||||
|
txHeader.IDE = CAN_ID_STD;
|
||||||
|
txHeader.RTR = CAN_RTR_DATA;
|
||||||
|
txHeader.StdId = 0x030;
|
||||||
|
txHeader.ExtId = 0x02;
|
||||||
|
txHeader.TransmitGlobalTime = DISABLE;
|
||||||
|
|
||||||
|
HAL_CAN_Start(handle);
|
||||||
// Create a CanTxHeader for your message
|
// Create a CanTxHeader for your message
|
||||||
sta::CanTxHeader txHeader;
|
/*sta::CanTxHeader txHeader;
|
||||||
txHeader.id.format = sta::CanIdFormat::EXT; // Set to EXT for extended ID
|
txHeader.id.format = sta::CanIdFormat::STD; // Set to EXT for extended ID
|
||||||
txHeader.id.eid = 0xCAFE; // Set the standard ID or extended ID
|
txHeader.id.sid = 0x123; // Set the standard ID or extended ID
|
||||||
txHeader.payloadLength = 8; // Set the payload length (max 8 bytes)
|
txHeader.payloadLength = 8; // Set the payload length (max 8 bytes)*/
|
||||||
|
|
||||||
// Create your message payload
|
// Create your message payload
|
||||||
uint8_t payload[8] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};
|
uint8_t payload[8] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};
|
||||||
|
|
||||||
|
bool okay;
|
||||||
|
uint32_t canMailbox; //CAN Bus Mail box variable
|
||||||
// Send the CAN message
|
// Send the CAN message
|
||||||
while (true){
|
while (true){
|
||||||
canController.sendFrame(txHeader, payload);
|
//okay = canController.sendFrame(txHeader, payload);
|
||||||
|
HAL_CAN_AddTxMessage(handle,&txHeader,payload,&canMailbox);
|
||||||
|
HAL_Delay(1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
83
CAN-Card_Module_Software Debug.launch
Normal file
83
CAN-Card_Module_Software Debug.launch
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<launchConfiguration type="com.st.stm32cube.ide.mcu.debug.launch.launchConfigurationType">
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.access_port_id" value="0"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.cubeprog_external_loaders" value="[]"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_certif_path" value=""/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_check_enable" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_key_path" value=""/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.debug_auth_permission" value="debug_non_secure_L3"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_live_expr" value="true"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.enable_swv" value="false"/>
|
||||||
|
<intAttribute key="com.st.stm32cube.ide.mcu.debug.launch.formatVersion" value="2"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.ip_address_local" value="localhost"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.enabled" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.limit_swo_clock.value" value=""/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.loadList" value="{"fItems":[{"fIsFromMainTab":true,"fPath":"Debug/CAN-Card_Module_Software.elf","fProjectName":"CAN-Card_Module_Software","fPerformBuild":true,"fDownload":true,"fLoadSymbols":true}]}"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.override_start_address_mode" value="default"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.remoteCommand" value="target remote"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startServer" value="true"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.divby0" value="true"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.exception.unaligned" value="false"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.startuptab.haltonexception" value="true"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swd_mode" value="true"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_port" value="61235"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.swv_trace_hclk" value="16000000"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.useRemoteTarget" value="true"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.launch.vector_table" value=""/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.launch.verify_flash_download" value="true"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_allow_halt" value="false"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.cti_signal_halt" value="false"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_logging" value="false"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_max_halt_delay" value="false"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.enable_shared_stlink" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.frequency" value="100"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.halt_all_on_reset" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.log_file" value="/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Debug/st-link_gdbserver_log.txt"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.low_power_debug" value="enable"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.max_halt_delay" value="2"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.reset_strategy" value="connect_under_reset"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_check_serial_number" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.stlink_txt_serial_number" value=""/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlink.watchdog_config" value="none"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkenable_rtos" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.debug.stlinkrestart_configurations" value="{"fVersion":1,"fItems":[{"fDisplayName":"Reset","fIsSuppressible":false,"fResetAttribute":"Software system reset","fResetStrategies":[{"fDisplayName":"Software system reset","fLaunchAttribute":"system_reset","fGdbCommands":["monitor reset\n"],"fCmdOptions":["-g"]},{"fDisplayName":"Hardware reset","fLaunchAttribute":"hardware_reset","fGdbCommands":["monitor reset hardware\n"],"fCmdOptions":["-g"]},{"fDisplayName":"Core reset","fLaunchAttribute":"core_reset","fGdbCommands":["monitor reset core\n"],"fCmdOptions":["-g"]},{"fDisplayName":"None","fLaunchAttribute":"no_reset","fGdbCommands":[],"fCmdOptions":["-g"]}],"fGdbCommandGroup":{"name":"Additional commands","commands":[]},"fStartApplication":true}]}"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.enableRtosProxy" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyCustomProperties" value=""/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriver" value="threadx"/>
|
||||||
|
<booleanAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverAuto" value="false"/>
|
||||||
|
<stringAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyDriverPort" value="cortex_m0"/>
|
||||||
|
<intAttribute key="com.st.stm32cube.ide.mcu.rtosproxy.rtosProxyPort" value="60000"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doHalt" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.doReset" value="false"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.initCommands" value=""/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.ipAddress" value="localhost"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.jtagDeviceId" value="com.st.stm32cube.ide.mcu.debug.stlink"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.pcRegister" value=""/>
|
||||||
|
<intAttribute key="org.eclipse.cdt.debug.gdbjtag.core.portNumber" value="61234"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.runCommands" value=""/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setPcRegister" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setResume" value="true"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.debug.gdbjtag.core.setStopAt" value="true"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.debug.gdbjtag.core.stopAt" value="main"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="arm-none-eabi-gdb"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||||
|
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="remote"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="Debug/CAN-Card_Module_Software.elf"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="CAN-Card_Module_Software"/>
|
||||||
|
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||||
|
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.config.exe.debug.1763458346"/>
|
||||||
|
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||||
|
<listEntry value="/CAN-Card_Module_Software"/>
|
||||||
|
</listAttribute>
|
||||||
|
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||||
|
<listEntry value="4"/>
|
||||||
|
</listAttribute>
|
||||||
|
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||||
|
<stringAttribute key="process_factory_id" value="com.st.stm32cube.ide.mcu.debug.launch.HardwareDebugProcessFactory"/>
|
||||||
|
</launchConfiguration>
|
@ -3,53 +3,49 @@ CAD.formats=
|
|||||||
CAD.pinconfig=
|
CAD.pinconfig=
|
||||||
CAD.provider=
|
CAD.provider=
|
||||||
CAN1.BS1=CAN_BS1_2TQ
|
CAN1.BS1=CAN_BS1_2TQ
|
||||||
CAN1.CalculateBaudRate=500000
|
CAN1.BS2=CAN_BS2_7TQ
|
||||||
CAN1.CalculateTimeBit=2000
|
CAN1.CalculateBaudRate=200000
|
||||||
|
CAN1.CalculateTimeBit=5000
|
||||||
CAN1.CalculateTimeQuantum=500.0
|
CAN1.CalculateTimeQuantum=500.0
|
||||||
CAN1.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,Prescaler,SJW,BS1,NART
|
CAN1.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,Prescaler,SJW,NART,BS2,BS1
|
||||||
CAN1.NART=ENABLE
|
CAN1.NART=ENABLE
|
||||||
CAN1.Prescaler=8
|
CAN1.Prescaler=8
|
||||||
CAN1.SJW=CAN_SJW_1TQ
|
CAN1.SJW=CAN_SJW_1TQ
|
||||||
CAN2.BS1=CAN_BS1_2TQ
|
|
||||||
CAN2.CalculateBaudRate=500000
|
|
||||||
CAN2.CalculateTimeBit=2000
|
|
||||||
CAN2.CalculateTimeQuantum=500.0
|
|
||||||
CAN2.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,Prescaler,BS1,NART
|
|
||||||
CAN2.NART=ENABLE
|
|
||||||
CAN2.Prescaler=8
|
|
||||||
File.Version=6
|
File.Version=6
|
||||||
KeepUserPlacement=false
|
KeepUserPlacement=false
|
||||||
Mcu.CPN=STM32F407ZGT6
|
Mcu.CPN=STM32F407ZGT6
|
||||||
Mcu.Family=STM32F4
|
Mcu.Family=STM32F4
|
||||||
Mcu.IP0=CAN1
|
Mcu.IP0=CAN1
|
||||||
Mcu.IP1=CAN2
|
Mcu.IP1=NVIC
|
||||||
Mcu.IP2=NVIC
|
Mcu.IP2=RCC
|
||||||
Mcu.IP3=RCC
|
Mcu.IP3=UART4
|
||||||
Mcu.IP4=UART4
|
Mcu.IPNb=4
|
||||||
Mcu.IPNb=5
|
|
||||||
Mcu.Name=STM32F407Z(E-G)Tx
|
Mcu.Name=STM32F407Z(E-G)Tx
|
||||||
Mcu.Package=LQFP144
|
Mcu.Package=LQFP144
|
||||||
Mcu.Pin0=PA0-WKUP
|
Mcu.Pin0=PH0-OSC_IN
|
||||||
Mcu.Pin1=PA1
|
Mcu.Pin1=PH1-OSC_OUT
|
||||||
Mcu.Pin10=PC11
|
Mcu.Pin10=PA14
|
||||||
Mcu.Pin11=PC12
|
Mcu.Pin11=PA15
|
||||||
Mcu.Pin12=PB3
|
Mcu.Pin12=PC10
|
||||||
Mcu.Pin13=PB5
|
Mcu.Pin13=PC11
|
||||||
Mcu.Pin2=PB12
|
Mcu.Pin14=PC12
|
||||||
Mcu.Pin3=PB13
|
Mcu.Pin15=PB3
|
||||||
Mcu.Pin4=PA11
|
Mcu.Pin2=PA0-WKUP
|
||||||
Mcu.Pin5=PA12
|
Mcu.Pin3=PA1
|
||||||
Mcu.Pin6=PA13
|
Mcu.Pin4=PB12
|
||||||
Mcu.Pin7=PA14
|
Mcu.Pin5=PB13
|
||||||
Mcu.Pin8=PA15
|
Mcu.Pin6=PD8
|
||||||
Mcu.Pin9=PC10
|
Mcu.Pin7=PA11
|
||||||
Mcu.PinsNb=14
|
Mcu.Pin8=PA12
|
||||||
|
Mcu.Pin9=PA13
|
||||||
|
Mcu.PinsNb=16
|
||||||
Mcu.ThirdPartyNb=0
|
Mcu.ThirdPartyNb=0
|
||||||
Mcu.UserConstants=
|
Mcu.UserConstants=
|
||||||
Mcu.UserName=STM32F407ZGTx
|
Mcu.UserName=STM32F407ZGTx
|
||||||
MxCube.Version=6.9.2
|
MxCube.Version=6.9.2
|
||||||
MxDb.Version=DB.6.0.92
|
MxDb.Version=DB.6.0.92
|
||||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||||
|
NVIC.CAN1_RX0_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
||||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||||
NVIC.ForceEnableDMAVector=true
|
NVIC.ForceEnableDMAVector=true
|
||||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||||
@ -77,22 +73,30 @@ PA14.Signal=SYS_JTCK-SWCLK
|
|||||||
PA15.Locked=true
|
PA15.Locked=true
|
||||||
PA15.Signal=SYS_JTDI
|
PA15.Signal=SYS_JTDI
|
||||||
PB12.GPIOParameters=GPIO_Speed,PinState
|
PB12.GPIOParameters=GPIO_Speed,PinState
|
||||||
PB12.GPIO_Speed=GPIO_SPEED_FREQ_VERY_HIGH
|
PB12.GPIO_Speed=GPIO_SPEED_FREQ_LOW
|
||||||
PB12.Locked=true
|
PB12.Locked=true
|
||||||
PB12.PinState=GPIO_PIN_RESET
|
PB12.PinState=GPIO_PIN_RESET
|
||||||
PB12.Signal=GPIO_Output
|
PB12.Signal=GPIO_Output
|
||||||
PB13.Mode=CAN_Activate
|
PB13.GPIOParameters=PinState
|
||||||
PB13.Signal=CAN2_TX
|
PB13.Locked=true
|
||||||
|
PB13.PinState=GPIO_PIN_RESET
|
||||||
|
PB13.Signal=GPIO_Output
|
||||||
PB3.Locked=true
|
PB3.Locked=true
|
||||||
PB3.Signal=SYS_JTDO-SWO
|
PB3.Signal=SYS_JTDO-SWO
|
||||||
PB5.Mode=CAN_Activate
|
|
||||||
PB5.Signal=CAN2_RX
|
|
||||||
PC10.Locked=true
|
PC10.Locked=true
|
||||||
PC10.Signal=SPI3_SCK
|
PC10.Signal=SPI3_SCK
|
||||||
PC11.Locked=true
|
PC11.Locked=true
|
||||||
PC11.Signal=SPI3_MISO
|
PC11.Signal=SPI3_MISO
|
||||||
PC12.Locked=true
|
PC12.Locked=true
|
||||||
PC12.Signal=SPI3_MOSI
|
PC12.Signal=SPI3_MOSI
|
||||||
|
PD8.Locked=true
|
||||||
|
PD8.Signal=GPIO_Output
|
||||||
|
PH0-OSC_IN.Locked=true
|
||||||
|
PH0-OSC_IN.Mode=HSE-External-Oscillator
|
||||||
|
PH0-OSC_IN.Signal=RCC_OSC_IN
|
||||||
|
PH1-OSC_OUT.Locked=true
|
||||||
|
PH1-OSC_OUT.Mode=HSE-External-Oscillator
|
||||||
|
PH1-OSC_OUT.Signal=RCC_OSC_OUT
|
||||||
PinOutPanel.RotationAngle=0
|
PinOutPanel.RotationAngle=0
|
||||||
ProjectManager.AskForMigrate=true
|
ProjectManager.AskForMigrate=true
|
||||||
ProjectManager.BackupPrevious=false
|
ProjectManager.BackupPrevious=false
|
||||||
@ -114,8 +118,8 @@ ProjectManager.MainLocation=Core/Src
|
|||||||
ProjectManager.NoMain=false
|
ProjectManager.NoMain=false
|
||||||
ProjectManager.PreviousToolchain=
|
ProjectManager.PreviousToolchain=
|
||||||
ProjectManager.ProjectBuild=false
|
ProjectManager.ProjectBuild=false
|
||||||
ProjectManager.ProjectFileName=can-tests.ioc
|
ProjectManager.ProjectFileName=CAN-Card_Module_Software.ioc
|
||||||
ProjectManager.ProjectName=can-tests
|
ProjectManager.ProjectName=CAN-Card_Module_Software
|
||||||
ProjectManager.ProjectStructure=
|
ProjectManager.ProjectStructure=
|
||||||
ProjectManager.RegisterCallBack=
|
ProjectManager.RegisterCallBack=
|
||||||
ProjectManager.StackSize=0x400
|
ProjectManager.StackSize=0x400
|
||||||
@ -125,26 +129,38 @@ ProjectManager.UAScriptAfterPath=
|
|||||||
ProjectManager.UAScriptBeforePath=
|
ProjectManager.UAScriptBeforePath=
|
||||||
ProjectManager.UnderRoot=true
|
ProjectManager.UnderRoot=true
|
||||||
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_UART4_Init-UART4-false-HAL-true,4-MX_CAN1_Init-CAN1-false-HAL-true
|
ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_UART4_Init-UART4-false-HAL-true,4-MX_CAN1_Init-CAN1-false-HAL-true
|
||||||
|
RCC.48MHZClocksFreq_Value=32000000
|
||||||
|
RCC.AHBCLKDivider=RCC_SYSCLK_DIV4
|
||||||
RCC.AHBFreq_Value=16000000
|
RCC.AHBFreq_Value=16000000
|
||||||
RCC.APB1Freq_Value=16000000
|
RCC.APB1Freq_Value=16000000
|
||||||
|
RCC.APB1TimFreq_Value=16000000
|
||||||
RCC.APB2Freq_Value=16000000
|
RCC.APB2Freq_Value=16000000
|
||||||
|
RCC.APB2TimFreq_Value=16000000
|
||||||
RCC.CortexFreq_Value=16000000
|
RCC.CortexFreq_Value=16000000
|
||||||
|
RCC.EthernetFreq_Value=16000000
|
||||||
|
RCC.FCLKCortexFreq_Value=16000000
|
||||||
RCC.FamilyName=M
|
RCC.FamilyName=M
|
||||||
RCC.HSE_VALUE=25000000
|
RCC.HCLKFreq_Value=16000000
|
||||||
|
RCC.HSE_VALUE=8000000
|
||||||
RCC.HSI_VALUE=16000000
|
RCC.HSI_VALUE=16000000
|
||||||
RCC.I2SClocksFreq_Value=96000000
|
RCC.I2SClocksFreq_Value=192000000
|
||||||
RCC.IPParameters=AHBFreq_Value,APB1Freq_Value,APB2Freq_Value,CortexFreq_Value,FamilyName,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSE_VALUE,LSI_VALUE,PLLCLKFreq_Value,PLLQCLKFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VcooutputI2S
|
RCC.IPParameters=48MHZClocksFreq_Value,AHBCLKDivider,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,CortexFreq_Value,EthernetFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,I2SClocksFreq_Value,LSE_VALUE,LSI_VALUE,MCO2PinFreq_Value,PLLCLKFreq_Value,PLLM,PLLN,PLLQCLKFreq_Value,PLLSourceVirtual,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,VCOI2SOutputFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value,VcooutputI2S
|
||||||
RCC.LSE_VALUE=32768
|
RCC.LSE_VALUE=32768
|
||||||
RCC.LSI_VALUE=32000
|
RCC.LSI_VALUE=32000
|
||||||
RCC.PLLCLKFreq_Value=96000000
|
RCC.MCO2PinFreq_Value=64000000
|
||||||
RCC.PLLQCLKFreq_Value=48000000
|
RCC.PLLCLKFreq_Value=64000000
|
||||||
|
RCC.PLLM=4
|
||||||
|
RCC.PLLN=64
|
||||||
|
RCC.PLLQCLKFreq_Value=32000000
|
||||||
|
RCC.PLLSourceVirtual=RCC_PLLSOURCE_HSE
|
||||||
RCC.RTCFreq_Value=32000
|
RCC.RTCFreq_Value=32000
|
||||||
RCC.RTCHSEDivFreq_Value=12500000
|
RCC.RTCHSEDivFreq_Value=4000000
|
||||||
RCC.SYSCLKFreq_VALUE=16000000
|
RCC.SYSCLKFreq_VALUE=64000000
|
||||||
RCC.VCOI2SOutputFreq_Value=192000000
|
RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
|
||||||
RCC.VCOInputFreq_Value=1000000
|
RCC.VCOI2SOutputFreq_Value=384000000
|
||||||
RCC.VCOOutputFreq_Value=192000000
|
RCC.VCOInputFreq_Value=2000000
|
||||||
RCC.VcooutputI2S=96000000
|
RCC.VCOOutputFreq_Value=128000000
|
||||||
|
RCC.VcooutputI2S=192000000
|
||||||
UART4.IPParameters=VirtualMode
|
UART4.IPParameters=VirtualMode
|
||||||
UART4.VirtualMode=Asynchronous
|
UART4.VirtualMode=Asynchronous
|
||||||
board=custom
|
board=custom
|
138
Core/Inc/main.h
138
Core/Inc/main.h
@ -1,69 +1,69 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file : main.h
|
* @file : main.h
|
||||||
* @brief : Header for main.c file.
|
* @brief : Header for main.c file.
|
||||||
* This file contains the common defines of the application.
|
* This file contains the common defines of the application.
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 STMicroelectronics.
|
* Copyright (c) 2023 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||||
#ifndef __MAIN_H
|
#ifndef __MAIN_H
|
||||||
#define __MAIN_H
|
#define __MAIN_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "stm32f4xx_hal.h"
|
#include "stm32f4xx_hal.h"
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
/* Private includes ----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN ET */
|
/* USER CODE BEGIN ET */
|
||||||
|
|
||||||
/* USER CODE END ET */
|
/* USER CODE END ET */
|
||||||
|
|
||||||
/* Exported constants --------------------------------------------------------*/
|
/* Exported constants --------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN EC */
|
/* USER CODE BEGIN EC */
|
||||||
|
|
||||||
/* USER CODE END EC */
|
/* USER CODE END EC */
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
/* Exported macro ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN EM */
|
/* USER CODE BEGIN EM */
|
||||||
|
|
||||||
/* USER CODE END EM */
|
/* USER CODE END EM */
|
||||||
|
|
||||||
/* Exported functions prototypes ---------------------------------------------*/
|
/* Exported functions prototypes ---------------------------------------------*/
|
||||||
void Error_Handler(void);
|
void Error_Handler(void);
|
||||||
|
|
||||||
/* USER CODE BEGIN EFP */
|
/* USER CODE BEGIN EFP */
|
||||||
|
|
||||||
/* USER CODE END EFP */
|
/* USER CODE END EFP */
|
||||||
|
|
||||||
/* Private defines -----------------------------------------------------------*/
|
/* Private defines -----------------------------------------------------------*/
|
||||||
|
|
||||||
/* USER CODE BEGIN Private defines */
|
/* USER CODE BEGIN Private defines */
|
||||||
|
|
||||||
/* USER CODE END Private defines */
|
/* USER CODE END Private defines */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __MAIN_H */
|
#endif /* __MAIN_H */
|
||||||
|
@ -1,495 +1,495 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file stm32f4xx_hal_conf_template.h
|
* @file stm32f4xx_hal_conf_template.h
|
||||||
* @author MCD Application Team
|
* @author MCD Application Team
|
||||||
* @brief HAL configuration template file.
|
* @brief HAL configuration template file.
|
||||||
* This file should be copied to the application folder and renamed
|
* This file should be copied to the application folder and renamed
|
||||||
* to stm32f4xx_hal_conf.h.
|
* to stm32f4xx_hal_conf.h.
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2017 STMicroelectronics.
|
* Copyright (c) 2017 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||||
#ifndef __STM32F4xx_HAL_CONF_H
|
#ifndef __STM32F4xx_HAL_CONF_H
|
||||||
#define __STM32F4xx_HAL_CONF_H
|
#define __STM32F4xx_HAL_CONF_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
/* Exported constants --------------------------------------------------------*/
|
/* Exported constants --------------------------------------------------------*/
|
||||||
|
|
||||||
/* ########################## Module Selection ############################## */
|
/* ########################## Module Selection ############################## */
|
||||||
/**
|
/**
|
||||||
* @brief This is the list of modules to be used in the HAL driver
|
* @brief This is the list of modules to be used in the HAL driver
|
||||||
*/
|
*/
|
||||||
#define HAL_MODULE_ENABLED
|
#define HAL_MODULE_ENABLED
|
||||||
|
|
||||||
/* #define HAL_CRYP_MODULE_ENABLED */
|
/* #define HAL_CRYP_MODULE_ENABLED */
|
||||||
/* #define HAL_ADC_MODULE_ENABLED */
|
/* #define HAL_ADC_MODULE_ENABLED */
|
||||||
#define HAL_CAN_MODULE_ENABLED
|
#define HAL_CAN_MODULE_ENABLED
|
||||||
/* #define HAL_CRC_MODULE_ENABLED */
|
/* #define HAL_CRC_MODULE_ENABLED */
|
||||||
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */
|
/* #define HAL_CAN_LEGACY_MODULE_ENABLED */
|
||||||
/* #define HAL_DAC_MODULE_ENABLED */
|
/* #define HAL_DAC_MODULE_ENABLED */
|
||||||
/* #define HAL_DCMI_MODULE_ENABLED */
|
/* #define HAL_DCMI_MODULE_ENABLED */
|
||||||
/* #define HAL_DMA2D_MODULE_ENABLED */
|
/* #define HAL_DMA2D_MODULE_ENABLED */
|
||||||
/* #define HAL_ETH_MODULE_ENABLED */
|
/* #define HAL_ETH_MODULE_ENABLED */
|
||||||
/* #define HAL_ETH_LEGACY_MODULE_ENABLED */
|
/* #define HAL_ETH_LEGACY_MODULE_ENABLED */
|
||||||
/* #define HAL_NAND_MODULE_ENABLED */
|
/* #define HAL_NAND_MODULE_ENABLED */
|
||||||
/* #define HAL_NOR_MODULE_ENABLED */
|
/* #define HAL_NOR_MODULE_ENABLED */
|
||||||
/* #define HAL_PCCARD_MODULE_ENABLED */
|
/* #define HAL_PCCARD_MODULE_ENABLED */
|
||||||
/* #define HAL_SRAM_MODULE_ENABLED */
|
/* #define HAL_SRAM_MODULE_ENABLED */
|
||||||
/* #define HAL_SDRAM_MODULE_ENABLED */
|
/* #define HAL_SDRAM_MODULE_ENABLED */
|
||||||
/* #define HAL_HASH_MODULE_ENABLED */
|
/* #define HAL_HASH_MODULE_ENABLED */
|
||||||
/* #define HAL_I2C_MODULE_ENABLED */
|
/* #define HAL_I2C_MODULE_ENABLED */
|
||||||
/* #define HAL_I2S_MODULE_ENABLED */
|
/* #define HAL_I2S_MODULE_ENABLED */
|
||||||
/* #define HAL_IWDG_MODULE_ENABLED */
|
/* #define HAL_IWDG_MODULE_ENABLED */
|
||||||
/* #define HAL_LTDC_MODULE_ENABLED */
|
/* #define HAL_LTDC_MODULE_ENABLED */
|
||||||
/* #define HAL_RNG_MODULE_ENABLED */
|
/* #define HAL_RNG_MODULE_ENABLED */
|
||||||
/* #define HAL_RTC_MODULE_ENABLED */
|
/* #define HAL_RTC_MODULE_ENABLED */
|
||||||
/* #define HAL_SAI_MODULE_ENABLED */
|
/* #define HAL_SAI_MODULE_ENABLED */
|
||||||
/* #define HAL_SD_MODULE_ENABLED */
|
/* #define HAL_SD_MODULE_ENABLED */
|
||||||
/* #define HAL_MMC_MODULE_ENABLED */
|
/* #define HAL_MMC_MODULE_ENABLED */
|
||||||
/* #define HAL_SPI_MODULE_ENABLED */
|
/* #define HAL_SPI_MODULE_ENABLED */
|
||||||
/* #define HAL_TIM_MODULE_ENABLED */
|
/* #define HAL_TIM_MODULE_ENABLED */
|
||||||
#define HAL_UART_MODULE_ENABLED
|
#define HAL_UART_MODULE_ENABLED
|
||||||
/* #define HAL_USART_MODULE_ENABLED */
|
/* #define HAL_USART_MODULE_ENABLED */
|
||||||
/* #define HAL_IRDA_MODULE_ENABLED */
|
/* #define HAL_IRDA_MODULE_ENABLED */
|
||||||
/* #define HAL_SMARTCARD_MODULE_ENABLED */
|
/* #define HAL_SMARTCARD_MODULE_ENABLED */
|
||||||
/* #define HAL_SMBUS_MODULE_ENABLED */
|
/* #define HAL_SMBUS_MODULE_ENABLED */
|
||||||
/* #define HAL_WWDG_MODULE_ENABLED */
|
/* #define HAL_WWDG_MODULE_ENABLED */
|
||||||
/* #define HAL_PCD_MODULE_ENABLED */
|
/* #define HAL_PCD_MODULE_ENABLED */
|
||||||
/* #define HAL_HCD_MODULE_ENABLED */
|
/* #define HAL_HCD_MODULE_ENABLED */
|
||||||
/* #define HAL_DSI_MODULE_ENABLED */
|
/* #define HAL_DSI_MODULE_ENABLED */
|
||||||
/* #define HAL_QSPI_MODULE_ENABLED */
|
/* #define HAL_QSPI_MODULE_ENABLED */
|
||||||
/* #define HAL_QSPI_MODULE_ENABLED */
|
/* #define HAL_QSPI_MODULE_ENABLED */
|
||||||
/* #define HAL_CEC_MODULE_ENABLED */
|
/* #define HAL_CEC_MODULE_ENABLED */
|
||||||
/* #define HAL_FMPI2C_MODULE_ENABLED */
|
/* #define HAL_FMPI2C_MODULE_ENABLED */
|
||||||
/* #define HAL_FMPSMBUS_MODULE_ENABLED */
|
/* #define HAL_FMPSMBUS_MODULE_ENABLED */
|
||||||
/* #define HAL_SPDIFRX_MODULE_ENABLED */
|
/* #define HAL_SPDIFRX_MODULE_ENABLED */
|
||||||
/* #define HAL_DFSDM_MODULE_ENABLED */
|
/* #define HAL_DFSDM_MODULE_ENABLED */
|
||||||
/* #define HAL_LPTIM_MODULE_ENABLED */
|
/* #define HAL_LPTIM_MODULE_ENABLED */
|
||||||
#define HAL_GPIO_MODULE_ENABLED
|
#define HAL_GPIO_MODULE_ENABLED
|
||||||
#define HAL_EXTI_MODULE_ENABLED
|
#define HAL_EXTI_MODULE_ENABLED
|
||||||
#define HAL_DMA_MODULE_ENABLED
|
#define HAL_DMA_MODULE_ENABLED
|
||||||
#define HAL_RCC_MODULE_ENABLED
|
#define HAL_RCC_MODULE_ENABLED
|
||||||
#define HAL_FLASH_MODULE_ENABLED
|
#define HAL_FLASH_MODULE_ENABLED
|
||||||
#define HAL_PWR_MODULE_ENABLED
|
#define HAL_PWR_MODULE_ENABLED
|
||||||
#define HAL_CORTEX_MODULE_ENABLED
|
#define HAL_CORTEX_MODULE_ENABLED
|
||||||
|
|
||||||
/* ########################## HSE/HSI Values adaptation ##################### */
|
/* ########################## HSE/HSI Values adaptation ##################### */
|
||||||
/**
|
/**
|
||||||
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
* @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
|
||||||
* This value is used by the RCC HAL module to compute the system frequency
|
* This value is used by the RCC HAL module to compute the system frequency
|
||||||
* (when HSE is used as system clock source, directly or through the PLL).
|
* (when HSE is used as system clock source, directly or through the PLL).
|
||||||
*/
|
*/
|
||||||
#if !defined (HSE_VALUE)
|
#if !defined (HSE_VALUE)
|
||||||
#define HSE_VALUE 25000000U /*!< Value of the External oscillator in Hz */
|
#define HSE_VALUE 8000000U /*!< Value of the External oscillator in Hz */
|
||||||
#endif /* HSE_VALUE */
|
#endif /* HSE_VALUE */
|
||||||
|
|
||||||
#if !defined (HSE_STARTUP_TIMEOUT)
|
#if !defined (HSE_STARTUP_TIMEOUT)
|
||||||
#define HSE_STARTUP_TIMEOUT 100U /*!< Time out for HSE start up, in ms */
|
#define HSE_STARTUP_TIMEOUT 100U /*!< Time out for HSE start up, in ms */
|
||||||
#endif /* HSE_STARTUP_TIMEOUT */
|
#endif /* HSE_STARTUP_TIMEOUT */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Internal High Speed oscillator (HSI) value.
|
* @brief Internal High Speed oscillator (HSI) value.
|
||||||
* This value is used by the RCC HAL module to compute the system frequency
|
* This value is used by the RCC HAL module to compute the system frequency
|
||||||
* (when HSI is used as system clock source, directly or through the PLL).
|
* (when HSI is used as system clock source, directly or through the PLL).
|
||||||
*/
|
*/
|
||||||
#if !defined (HSI_VALUE)
|
#if !defined (HSI_VALUE)
|
||||||
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
|
#define HSI_VALUE ((uint32_t)16000000U) /*!< Value of the Internal oscillator in Hz*/
|
||||||
#endif /* HSI_VALUE */
|
#endif /* HSI_VALUE */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Internal Low Speed oscillator (LSI) value.
|
* @brief Internal Low Speed oscillator (LSI) value.
|
||||||
*/
|
*/
|
||||||
#if !defined (LSI_VALUE)
|
#if !defined (LSI_VALUE)
|
||||||
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
|
#define LSI_VALUE 32000U /*!< LSI Typical Value in Hz*/
|
||||||
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
|
#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
|
||||||
The real value may vary depending on the variations
|
The real value may vary depending on the variations
|
||||||
in voltage and temperature.*/
|
in voltage and temperature.*/
|
||||||
/**
|
/**
|
||||||
* @brief External Low Speed oscillator (LSE) value.
|
* @brief External Low Speed oscillator (LSE) value.
|
||||||
*/
|
*/
|
||||||
#if !defined (LSE_VALUE)
|
#if !defined (LSE_VALUE)
|
||||||
#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
|
#define LSE_VALUE 32768U /*!< Value of the External Low Speed oscillator in Hz */
|
||||||
#endif /* LSE_VALUE */
|
#endif /* LSE_VALUE */
|
||||||
|
|
||||||
#if !defined (LSE_STARTUP_TIMEOUT)
|
#if !defined (LSE_STARTUP_TIMEOUT)
|
||||||
#define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
|
#define LSE_STARTUP_TIMEOUT 5000U /*!< Time out for LSE start up, in ms */
|
||||||
#endif /* LSE_STARTUP_TIMEOUT */
|
#endif /* LSE_STARTUP_TIMEOUT */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief External clock source for I2S peripheral
|
* @brief External clock source for I2S peripheral
|
||||||
* This value is used by the I2S HAL module to compute the I2S clock source
|
* This value is used by the I2S HAL module to compute the I2S clock source
|
||||||
* frequency, this source is inserted directly through I2S_CKIN pad.
|
* frequency, this source is inserted directly through I2S_CKIN pad.
|
||||||
*/
|
*/
|
||||||
#if !defined (EXTERNAL_CLOCK_VALUE)
|
#if !defined (EXTERNAL_CLOCK_VALUE)
|
||||||
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External audio frequency in Hz*/
|
#define EXTERNAL_CLOCK_VALUE 12288000U /*!< Value of the External audio frequency in Hz*/
|
||||||
#endif /* EXTERNAL_CLOCK_VALUE */
|
#endif /* EXTERNAL_CLOCK_VALUE */
|
||||||
|
|
||||||
/* Tip: To avoid modifying this file each time you need to use different HSE,
|
/* Tip: To avoid modifying this file each time you need to use different HSE,
|
||||||
=== you can define the HSE value in your toolchain compiler preprocessor. */
|
=== you can define the HSE value in your toolchain compiler preprocessor. */
|
||||||
|
|
||||||
/* ########################### System Configuration ######################### */
|
/* ########################### System Configuration ######################### */
|
||||||
/**
|
/**
|
||||||
* @brief This is the HAL system configuration section
|
* @brief This is the HAL system configuration section
|
||||||
*/
|
*/
|
||||||
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
|
#define VDD_VALUE 3300U /*!< Value of VDD in mv */
|
||||||
#define TICK_INT_PRIORITY 15U /*!< tick interrupt priority */
|
#define TICK_INT_PRIORITY 15U /*!< tick interrupt priority */
|
||||||
#define USE_RTOS 0U
|
#define USE_RTOS 0U
|
||||||
#define PREFETCH_ENABLE 1U
|
#define PREFETCH_ENABLE 1U
|
||||||
#define INSTRUCTION_CACHE_ENABLE 1U
|
#define INSTRUCTION_CACHE_ENABLE 1U
|
||||||
#define DATA_CACHE_ENABLE 1U
|
#define DATA_CACHE_ENABLE 1U
|
||||||
|
|
||||||
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
|
#define USE_HAL_ADC_REGISTER_CALLBACKS 0U /* ADC register callback disabled */
|
||||||
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
|
#define USE_HAL_CAN_REGISTER_CALLBACKS 0U /* CAN register callback disabled */
|
||||||
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
|
#define USE_HAL_CEC_REGISTER_CALLBACKS 0U /* CEC register callback disabled */
|
||||||
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
|
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
|
||||||
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
|
#define USE_HAL_DAC_REGISTER_CALLBACKS 0U /* DAC register callback disabled */
|
||||||
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U /* DCMI register callback disabled */
|
#define USE_HAL_DCMI_REGISTER_CALLBACKS 0U /* DCMI register callback disabled */
|
||||||
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U /* DFSDM register callback disabled */
|
#define USE_HAL_DFSDM_REGISTER_CALLBACKS 0U /* DFSDM register callback disabled */
|
||||||
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U /* DMA2D register callback disabled */
|
#define USE_HAL_DMA2D_REGISTER_CALLBACKS 0U /* DMA2D register callback disabled */
|
||||||
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U /* DSI register callback disabled */
|
#define USE_HAL_DSI_REGISTER_CALLBACKS 0U /* DSI register callback disabled */
|
||||||
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
|
#define USE_HAL_ETH_REGISTER_CALLBACKS 0U /* ETH register callback disabled */
|
||||||
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
|
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
|
||||||
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
|
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
|
||||||
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
|
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
|
||||||
#define USE_HAL_FMPI2C_REGISTER_CALLBACKS 0U /* FMPI2C register callback disabled */
|
#define USE_HAL_FMPI2C_REGISTER_CALLBACKS 0U /* FMPI2C register callback disabled */
|
||||||
#define USE_HAL_FMPSMBUS_REGISTER_CALLBACKS 0U /* FMPSMBUS register callback disabled */
|
#define USE_HAL_FMPSMBUS_REGISTER_CALLBACKS 0U /* FMPSMBUS register callback disabled */
|
||||||
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
|
#define USE_HAL_I2S_REGISTER_CALLBACKS 0U /* I2S register callback disabled */
|
||||||
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
|
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
|
||||||
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
|
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
|
||||||
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U /* LTDC register callback disabled */
|
#define USE_HAL_LTDC_REGISTER_CALLBACKS 0U /* LTDC register callback disabled */
|
||||||
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
|
#define USE_HAL_MMC_REGISTER_CALLBACKS 0U /* MMC register callback disabled */
|
||||||
#define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
|
#define USE_HAL_NAND_REGISTER_CALLBACKS 0U /* NAND register callback disabled */
|
||||||
#define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
|
#define USE_HAL_NOR_REGISTER_CALLBACKS 0U /* NOR register callback disabled */
|
||||||
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
|
#define USE_HAL_PCCARD_REGISTER_CALLBACKS 0U /* PCCARD register callback disabled */
|
||||||
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
|
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
|
||||||
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U /* QSPI register callback disabled */
|
#define USE_HAL_QSPI_REGISTER_CALLBACKS 0U /* QSPI register callback disabled */
|
||||||
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
|
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
|
||||||
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
|
#define USE_HAL_RTC_REGISTER_CALLBACKS 0U /* RTC register callback disabled */
|
||||||
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
|
#define USE_HAL_SAI_REGISTER_CALLBACKS 0U /* SAI register callback disabled */
|
||||||
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
|
#define USE_HAL_SD_REGISTER_CALLBACKS 0U /* SD register callback disabled */
|
||||||
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
|
#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U /* SMARTCARD register callback disabled */
|
||||||
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
|
#define USE_HAL_SDRAM_REGISTER_CALLBACKS 0U /* SDRAM register callback disabled */
|
||||||
#define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
|
#define USE_HAL_SRAM_REGISTER_CALLBACKS 0U /* SRAM register callback disabled */
|
||||||
#define USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
|
#define USE_HAL_SPDIFRX_REGISTER_CALLBACKS 0U /* SPDIFRX register callback disabled */
|
||||||
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
|
#define USE_HAL_SMBUS_REGISTER_CALLBACKS 0U /* SMBUS register callback disabled */
|
||||||
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
|
#define USE_HAL_SPI_REGISTER_CALLBACKS 0U /* SPI register callback disabled */
|
||||||
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
|
#define USE_HAL_TIM_REGISTER_CALLBACKS 0U /* TIM register callback disabled */
|
||||||
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
|
#define USE_HAL_UART_REGISTER_CALLBACKS 0U /* UART register callback disabled */
|
||||||
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
|
#define USE_HAL_USART_REGISTER_CALLBACKS 0U /* USART register callback disabled */
|
||||||
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
|
#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U /* WWDG register callback disabled */
|
||||||
|
|
||||||
/* ########################## Assert Selection ############################## */
|
/* ########################## Assert Selection ############################## */
|
||||||
/**
|
/**
|
||||||
* @brief Uncomment the line below to expanse the "assert_param" macro in the
|
* @brief Uncomment the line below to expanse the "assert_param" macro in the
|
||||||
* HAL drivers code
|
* HAL drivers code
|
||||||
*/
|
*/
|
||||||
/* #define USE_FULL_ASSERT 1U */
|
/* #define USE_FULL_ASSERT 1U */
|
||||||
|
|
||||||
/* ################## Ethernet peripheral configuration ##################### */
|
/* ################## Ethernet peripheral configuration ##################### */
|
||||||
|
|
||||||
/* Section 1 : Ethernet peripheral configuration */
|
/* Section 1 : Ethernet peripheral configuration */
|
||||||
|
|
||||||
/* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
|
/* MAC ADDRESS: MAC_ADDR0:MAC_ADDR1:MAC_ADDR2:MAC_ADDR3:MAC_ADDR4:MAC_ADDR5 */
|
||||||
#define MAC_ADDR0 2U
|
#define MAC_ADDR0 2U
|
||||||
#define MAC_ADDR1 0U
|
#define MAC_ADDR1 0U
|
||||||
#define MAC_ADDR2 0U
|
#define MAC_ADDR2 0U
|
||||||
#define MAC_ADDR3 0U
|
#define MAC_ADDR3 0U
|
||||||
#define MAC_ADDR4 0U
|
#define MAC_ADDR4 0U
|
||||||
#define MAC_ADDR5 0U
|
#define MAC_ADDR5 0U
|
||||||
|
|
||||||
/* Definition of the Ethernet driver buffers size and count */
|
/* Definition of the Ethernet driver buffers size and count */
|
||||||
#define ETH_RX_BUF_SIZE /* buffer size for receive */
|
#define ETH_RX_BUF_SIZE /* buffer size for receive */
|
||||||
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
|
#define ETH_TX_BUF_SIZE ETH_MAX_PACKET_SIZE /* buffer size for transmit */
|
||||||
#define ETH_RXBUFNB 4U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
|
#define ETH_RXBUFNB 4U /* 4 Rx buffers of size ETH_RX_BUF_SIZE */
|
||||||
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
|
#define ETH_TXBUFNB 4U /* 4 Tx buffers of size ETH_TX_BUF_SIZE */
|
||||||
|
|
||||||
/* Section 2: PHY configuration section */
|
/* Section 2: PHY configuration section */
|
||||||
|
|
||||||
/* DP83848_PHY_ADDRESS Address*/
|
/* DP83848_PHY_ADDRESS Address*/
|
||||||
#define DP83848_PHY_ADDRESS
|
#define DP83848_PHY_ADDRESS
|
||||||
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
|
/* PHY Reset delay these values are based on a 1 ms Systick interrupt*/
|
||||||
#define PHY_RESET_DELAY 0x000000FFU
|
#define PHY_RESET_DELAY 0x000000FFU
|
||||||
/* PHY Configuration delay */
|
/* PHY Configuration delay */
|
||||||
#define PHY_CONFIG_DELAY 0x00000FFFU
|
#define PHY_CONFIG_DELAY 0x00000FFFU
|
||||||
|
|
||||||
#define PHY_READ_TO 0x0000FFFFU
|
#define PHY_READ_TO 0x0000FFFFU
|
||||||
#define PHY_WRITE_TO 0x0000FFFFU
|
#define PHY_WRITE_TO 0x0000FFFFU
|
||||||
|
|
||||||
/* Section 3: Common PHY Registers */
|
/* Section 3: Common PHY Registers */
|
||||||
|
|
||||||
#define PHY_BCR ((uint16_t)0x0000U) /*!< Transceiver Basic Control Register */
|
#define PHY_BCR ((uint16_t)0x0000U) /*!< Transceiver Basic Control Register */
|
||||||
#define PHY_BSR ((uint16_t)0x0001U) /*!< Transceiver Basic Status Register */
|
#define PHY_BSR ((uint16_t)0x0001U) /*!< Transceiver Basic Status Register */
|
||||||
|
|
||||||
#define PHY_RESET ((uint16_t)0x8000U) /*!< PHY Reset */
|
#define PHY_RESET ((uint16_t)0x8000U) /*!< PHY Reset */
|
||||||
#define PHY_LOOPBACK ((uint16_t)0x4000U) /*!< Select loop-back mode */
|
#define PHY_LOOPBACK ((uint16_t)0x4000U) /*!< Select loop-back mode */
|
||||||
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) /*!< Set the full-duplex mode at 100 Mb/s */
|
#define PHY_FULLDUPLEX_100M ((uint16_t)0x2100U) /*!< Set the full-duplex mode at 100 Mb/s */
|
||||||
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) /*!< Set the half-duplex mode at 100 Mb/s */
|
#define PHY_HALFDUPLEX_100M ((uint16_t)0x2000U) /*!< Set the half-duplex mode at 100 Mb/s */
|
||||||
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) /*!< Set the full-duplex mode at 10 Mb/s */
|
#define PHY_FULLDUPLEX_10M ((uint16_t)0x0100U) /*!< Set the full-duplex mode at 10 Mb/s */
|
||||||
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) /*!< Set the half-duplex mode at 10 Mb/s */
|
#define PHY_HALFDUPLEX_10M ((uint16_t)0x0000U) /*!< Set the half-duplex mode at 10 Mb/s */
|
||||||
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) /*!< Enable auto-negotiation function */
|
#define PHY_AUTONEGOTIATION ((uint16_t)0x1000U) /*!< Enable auto-negotiation function */
|
||||||
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) /*!< Restart auto-negotiation function */
|
#define PHY_RESTART_AUTONEGOTIATION ((uint16_t)0x0200U) /*!< Restart auto-negotiation function */
|
||||||
#define PHY_POWERDOWN ((uint16_t)0x0800U) /*!< Select the power down mode */
|
#define PHY_POWERDOWN ((uint16_t)0x0800U) /*!< Select the power down mode */
|
||||||
#define PHY_ISOLATE ((uint16_t)0x0400U) /*!< Isolate PHY from MII */
|
#define PHY_ISOLATE ((uint16_t)0x0400U) /*!< Isolate PHY from MII */
|
||||||
|
|
||||||
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) /*!< Auto-Negotiation process completed */
|
#define PHY_AUTONEGO_COMPLETE ((uint16_t)0x0020U) /*!< Auto-Negotiation process completed */
|
||||||
#define PHY_LINKED_STATUS ((uint16_t)0x0004U) /*!< Valid link established */
|
#define PHY_LINKED_STATUS ((uint16_t)0x0004U) /*!< Valid link established */
|
||||||
#define PHY_JABBER_DETECTION ((uint16_t)0x0002U) /*!< Jabber condition detected */
|
#define PHY_JABBER_DETECTION ((uint16_t)0x0002U) /*!< Jabber condition detected */
|
||||||
|
|
||||||
/* Section 4: Extended PHY Registers */
|
/* Section 4: Extended PHY Registers */
|
||||||
#define PHY_SR ((uint16_t)) /*!< PHY status register Offset */
|
#define PHY_SR ((uint16_t)) /*!< PHY status register Offset */
|
||||||
|
|
||||||
#define PHY_SPEED_STATUS ((uint16_t)) /*!< PHY Speed mask */
|
#define PHY_SPEED_STATUS ((uint16_t)) /*!< PHY Speed mask */
|
||||||
#define PHY_DUPLEX_STATUS ((uint16_t)) /*!< PHY Duplex mask */
|
#define PHY_DUPLEX_STATUS ((uint16_t)) /*!< PHY Duplex mask */
|
||||||
|
|
||||||
/* ################## SPI peripheral configuration ########################## */
|
/* ################## SPI peripheral configuration ########################## */
|
||||||
|
|
||||||
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
|
/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
|
||||||
* Activated: CRC code is present inside driver
|
* Activated: CRC code is present inside driver
|
||||||
* Deactivated: CRC code cleaned from driver
|
* Deactivated: CRC code cleaned from driver
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define USE_SPI_CRC 0U
|
#define USE_SPI_CRC 0U
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* @brief Include module's header file
|
* @brief Include module's header file
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef HAL_RCC_MODULE_ENABLED
|
#ifdef HAL_RCC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_rcc.h"
|
#include "stm32f4xx_hal_rcc.h"
|
||||||
#endif /* HAL_RCC_MODULE_ENABLED */
|
#endif /* HAL_RCC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_GPIO_MODULE_ENABLED
|
#ifdef HAL_GPIO_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_gpio.h"
|
#include "stm32f4xx_hal_gpio.h"
|
||||||
#endif /* HAL_GPIO_MODULE_ENABLED */
|
#endif /* HAL_GPIO_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_EXTI_MODULE_ENABLED
|
#ifdef HAL_EXTI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_exti.h"
|
#include "stm32f4xx_hal_exti.h"
|
||||||
#endif /* HAL_EXTI_MODULE_ENABLED */
|
#endif /* HAL_EXTI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DMA_MODULE_ENABLED
|
#ifdef HAL_DMA_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dma.h"
|
#include "stm32f4xx_hal_dma.h"
|
||||||
#endif /* HAL_DMA_MODULE_ENABLED */
|
#endif /* HAL_DMA_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CORTEX_MODULE_ENABLED
|
#ifdef HAL_CORTEX_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_cortex.h"
|
#include "stm32f4xx_hal_cortex.h"
|
||||||
#endif /* HAL_CORTEX_MODULE_ENABLED */
|
#endif /* HAL_CORTEX_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_ADC_MODULE_ENABLED
|
#ifdef HAL_ADC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_adc.h"
|
#include "stm32f4xx_hal_adc.h"
|
||||||
#endif /* HAL_ADC_MODULE_ENABLED */
|
#endif /* HAL_ADC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CAN_MODULE_ENABLED
|
#ifdef HAL_CAN_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_can.h"
|
#include "stm32f4xx_hal_can.h"
|
||||||
#endif /* HAL_CAN_MODULE_ENABLED */
|
#endif /* HAL_CAN_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
|
#ifdef HAL_CAN_LEGACY_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_can_legacy.h"
|
#include "stm32f4xx_hal_can_legacy.h"
|
||||||
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
|
#endif /* HAL_CAN_LEGACY_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CRC_MODULE_ENABLED
|
#ifdef HAL_CRC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_crc.h"
|
#include "stm32f4xx_hal_crc.h"
|
||||||
#endif /* HAL_CRC_MODULE_ENABLED */
|
#endif /* HAL_CRC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CRYP_MODULE_ENABLED
|
#ifdef HAL_CRYP_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_cryp.h"
|
#include "stm32f4xx_hal_cryp.h"
|
||||||
#endif /* HAL_CRYP_MODULE_ENABLED */
|
#endif /* HAL_CRYP_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DMA2D_MODULE_ENABLED
|
#ifdef HAL_DMA2D_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dma2d.h"
|
#include "stm32f4xx_hal_dma2d.h"
|
||||||
#endif /* HAL_DMA2D_MODULE_ENABLED */
|
#endif /* HAL_DMA2D_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DAC_MODULE_ENABLED
|
#ifdef HAL_DAC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dac.h"
|
#include "stm32f4xx_hal_dac.h"
|
||||||
#endif /* HAL_DAC_MODULE_ENABLED */
|
#endif /* HAL_DAC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DCMI_MODULE_ENABLED
|
#ifdef HAL_DCMI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dcmi.h"
|
#include "stm32f4xx_hal_dcmi.h"
|
||||||
#endif /* HAL_DCMI_MODULE_ENABLED */
|
#endif /* HAL_DCMI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_ETH_MODULE_ENABLED
|
#ifdef HAL_ETH_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_eth.h"
|
#include "stm32f4xx_hal_eth.h"
|
||||||
#endif /* HAL_ETH_MODULE_ENABLED */
|
#endif /* HAL_ETH_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_ETH_LEGACY_MODULE_ENABLED
|
#ifdef HAL_ETH_LEGACY_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_eth_legacy.h"
|
#include "stm32f4xx_hal_eth_legacy.h"
|
||||||
#endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
|
#endif /* HAL_ETH_LEGACY_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_FLASH_MODULE_ENABLED
|
#ifdef HAL_FLASH_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_flash.h"
|
#include "stm32f4xx_hal_flash.h"
|
||||||
#endif /* HAL_FLASH_MODULE_ENABLED */
|
#endif /* HAL_FLASH_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SRAM_MODULE_ENABLED
|
#ifdef HAL_SRAM_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_sram.h"
|
#include "stm32f4xx_hal_sram.h"
|
||||||
#endif /* HAL_SRAM_MODULE_ENABLED */
|
#endif /* HAL_SRAM_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_NOR_MODULE_ENABLED
|
#ifdef HAL_NOR_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_nor.h"
|
#include "stm32f4xx_hal_nor.h"
|
||||||
#endif /* HAL_NOR_MODULE_ENABLED */
|
#endif /* HAL_NOR_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_NAND_MODULE_ENABLED
|
#ifdef HAL_NAND_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_nand.h"
|
#include "stm32f4xx_hal_nand.h"
|
||||||
#endif /* HAL_NAND_MODULE_ENABLED */
|
#endif /* HAL_NAND_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_PCCARD_MODULE_ENABLED
|
#ifdef HAL_PCCARD_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_pccard.h"
|
#include "stm32f4xx_hal_pccard.h"
|
||||||
#endif /* HAL_PCCARD_MODULE_ENABLED */
|
#endif /* HAL_PCCARD_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SDRAM_MODULE_ENABLED
|
#ifdef HAL_SDRAM_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_sdram.h"
|
#include "stm32f4xx_hal_sdram.h"
|
||||||
#endif /* HAL_SDRAM_MODULE_ENABLED */
|
#endif /* HAL_SDRAM_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_HASH_MODULE_ENABLED
|
#ifdef HAL_HASH_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_hash.h"
|
#include "stm32f4xx_hal_hash.h"
|
||||||
#endif /* HAL_HASH_MODULE_ENABLED */
|
#endif /* HAL_HASH_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_I2C_MODULE_ENABLED
|
#ifdef HAL_I2C_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_i2c.h"
|
#include "stm32f4xx_hal_i2c.h"
|
||||||
#endif /* HAL_I2C_MODULE_ENABLED */
|
#endif /* HAL_I2C_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SMBUS_MODULE_ENABLED
|
#ifdef HAL_SMBUS_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_smbus.h"
|
#include "stm32f4xx_hal_smbus.h"
|
||||||
#endif /* HAL_SMBUS_MODULE_ENABLED */
|
#endif /* HAL_SMBUS_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_I2S_MODULE_ENABLED
|
#ifdef HAL_I2S_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_i2s.h"
|
#include "stm32f4xx_hal_i2s.h"
|
||||||
#endif /* HAL_I2S_MODULE_ENABLED */
|
#endif /* HAL_I2S_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_IWDG_MODULE_ENABLED
|
#ifdef HAL_IWDG_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_iwdg.h"
|
#include "stm32f4xx_hal_iwdg.h"
|
||||||
#endif /* HAL_IWDG_MODULE_ENABLED */
|
#endif /* HAL_IWDG_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_LTDC_MODULE_ENABLED
|
#ifdef HAL_LTDC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_ltdc.h"
|
#include "stm32f4xx_hal_ltdc.h"
|
||||||
#endif /* HAL_LTDC_MODULE_ENABLED */
|
#endif /* HAL_LTDC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_PWR_MODULE_ENABLED
|
#ifdef HAL_PWR_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_pwr.h"
|
#include "stm32f4xx_hal_pwr.h"
|
||||||
#endif /* HAL_PWR_MODULE_ENABLED */
|
#endif /* HAL_PWR_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_RNG_MODULE_ENABLED
|
#ifdef HAL_RNG_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_rng.h"
|
#include "stm32f4xx_hal_rng.h"
|
||||||
#endif /* HAL_RNG_MODULE_ENABLED */
|
#endif /* HAL_RNG_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_RTC_MODULE_ENABLED
|
#ifdef HAL_RTC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_rtc.h"
|
#include "stm32f4xx_hal_rtc.h"
|
||||||
#endif /* HAL_RTC_MODULE_ENABLED */
|
#endif /* HAL_RTC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SAI_MODULE_ENABLED
|
#ifdef HAL_SAI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_sai.h"
|
#include "stm32f4xx_hal_sai.h"
|
||||||
#endif /* HAL_SAI_MODULE_ENABLED */
|
#endif /* HAL_SAI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SD_MODULE_ENABLED
|
#ifdef HAL_SD_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_sd.h"
|
#include "stm32f4xx_hal_sd.h"
|
||||||
#endif /* HAL_SD_MODULE_ENABLED */
|
#endif /* HAL_SD_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SPI_MODULE_ENABLED
|
#ifdef HAL_SPI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_spi.h"
|
#include "stm32f4xx_hal_spi.h"
|
||||||
#endif /* HAL_SPI_MODULE_ENABLED */
|
#endif /* HAL_SPI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_TIM_MODULE_ENABLED
|
#ifdef HAL_TIM_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_tim.h"
|
#include "stm32f4xx_hal_tim.h"
|
||||||
#endif /* HAL_TIM_MODULE_ENABLED */
|
#endif /* HAL_TIM_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_UART_MODULE_ENABLED
|
#ifdef HAL_UART_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_uart.h"
|
#include "stm32f4xx_hal_uart.h"
|
||||||
#endif /* HAL_UART_MODULE_ENABLED */
|
#endif /* HAL_UART_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_USART_MODULE_ENABLED
|
#ifdef HAL_USART_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_usart.h"
|
#include "stm32f4xx_hal_usart.h"
|
||||||
#endif /* HAL_USART_MODULE_ENABLED */
|
#endif /* HAL_USART_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_IRDA_MODULE_ENABLED
|
#ifdef HAL_IRDA_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_irda.h"
|
#include "stm32f4xx_hal_irda.h"
|
||||||
#endif /* HAL_IRDA_MODULE_ENABLED */
|
#endif /* HAL_IRDA_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SMARTCARD_MODULE_ENABLED
|
#ifdef HAL_SMARTCARD_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_smartcard.h"
|
#include "stm32f4xx_hal_smartcard.h"
|
||||||
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
|
#endif /* HAL_SMARTCARD_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_WWDG_MODULE_ENABLED
|
#ifdef HAL_WWDG_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_wwdg.h"
|
#include "stm32f4xx_hal_wwdg.h"
|
||||||
#endif /* HAL_WWDG_MODULE_ENABLED */
|
#endif /* HAL_WWDG_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_PCD_MODULE_ENABLED
|
#ifdef HAL_PCD_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_pcd.h"
|
#include "stm32f4xx_hal_pcd.h"
|
||||||
#endif /* HAL_PCD_MODULE_ENABLED */
|
#endif /* HAL_PCD_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_HCD_MODULE_ENABLED
|
#ifdef HAL_HCD_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_hcd.h"
|
#include "stm32f4xx_hal_hcd.h"
|
||||||
#endif /* HAL_HCD_MODULE_ENABLED */
|
#endif /* HAL_HCD_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DSI_MODULE_ENABLED
|
#ifdef HAL_DSI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dsi.h"
|
#include "stm32f4xx_hal_dsi.h"
|
||||||
#endif /* HAL_DSI_MODULE_ENABLED */
|
#endif /* HAL_DSI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_QSPI_MODULE_ENABLED
|
#ifdef HAL_QSPI_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_qspi.h"
|
#include "stm32f4xx_hal_qspi.h"
|
||||||
#endif /* HAL_QSPI_MODULE_ENABLED */
|
#endif /* HAL_QSPI_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_CEC_MODULE_ENABLED
|
#ifdef HAL_CEC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_cec.h"
|
#include "stm32f4xx_hal_cec.h"
|
||||||
#endif /* HAL_CEC_MODULE_ENABLED */
|
#endif /* HAL_CEC_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_FMPI2C_MODULE_ENABLED
|
#ifdef HAL_FMPI2C_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_fmpi2c.h"
|
#include "stm32f4xx_hal_fmpi2c.h"
|
||||||
#endif /* HAL_FMPI2C_MODULE_ENABLED */
|
#endif /* HAL_FMPI2C_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_FMPSMBUS_MODULE_ENABLED
|
#ifdef HAL_FMPSMBUS_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_fmpsmbus.h"
|
#include "stm32f4xx_hal_fmpsmbus.h"
|
||||||
#endif /* HAL_FMPSMBUS_MODULE_ENABLED */
|
#endif /* HAL_FMPSMBUS_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_SPDIFRX_MODULE_ENABLED
|
#ifdef HAL_SPDIFRX_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_spdifrx.h"
|
#include "stm32f4xx_hal_spdifrx.h"
|
||||||
#endif /* HAL_SPDIFRX_MODULE_ENABLED */
|
#endif /* HAL_SPDIFRX_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_DFSDM_MODULE_ENABLED
|
#ifdef HAL_DFSDM_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_dfsdm.h"
|
#include "stm32f4xx_hal_dfsdm.h"
|
||||||
#endif /* HAL_DFSDM_MODULE_ENABLED */
|
#endif /* HAL_DFSDM_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_LPTIM_MODULE_ENABLED
|
#ifdef HAL_LPTIM_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_lptim.h"
|
#include "stm32f4xx_hal_lptim.h"
|
||||||
#endif /* HAL_LPTIM_MODULE_ENABLED */
|
#endif /* HAL_LPTIM_MODULE_ENABLED */
|
||||||
|
|
||||||
#ifdef HAL_MMC_MODULE_ENABLED
|
#ifdef HAL_MMC_MODULE_ENABLED
|
||||||
#include "stm32f4xx_hal_mmc.h"
|
#include "stm32f4xx_hal_mmc.h"
|
||||||
#endif /* HAL_MMC_MODULE_ENABLED */
|
#endif /* HAL_MMC_MODULE_ENABLED */
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
/* Exported macro ------------------------------------------------------------*/
|
||||||
#ifdef USE_FULL_ASSERT
|
#ifdef USE_FULL_ASSERT
|
||||||
/**
|
/**
|
||||||
* @brief The assert_param macro is used for function's parameters check.
|
* @brief The assert_param macro is used for function's parameters check.
|
||||||
* @param expr If expr is false, it calls assert_failed function
|
* @param expr If expr is false, it calls assert_failed function
|
||||||
* which reports the name of the source file and the source
|
* which reports the name of the source file and the source
|
||||||
* line number of the call that failed.
|
* line number of the call that failed.
|
||||||
* If expr is true, it returns no value.
|
* If expr is true, it returns no value.
|
||||||
* @retval None
|
* @retval None
|
||||||
*/
|
*/
|
||||||
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
|
#define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
|
||||||
/* Exported functions ------------------------------------------------------- */
|
/* Exported functions ------------------------------------------------------- */
|
||||||
void assert_failed(uint8_t* file, uint32_t line);
|
void assert_failed(uint8_t* file, uint32_t line);
|
||||||
#else
|
#else
|
||||||
#define assert_param(expr) ((void)0U)
|
#define assert_param(expr) ((void)0U)
|
||||||
#endif /* USE_FULL_ASSERT */
|
#endif /* USE_FULL_ASSERT */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __STM32F4xx_HAL_CONF_H */
|
#endif /* __STM32F4xx_HAL_CONF_H */
|
||||||
|
@ -1,66 +1,67 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file stm32f4xx_it.h
|
* @file stm32f4xx_it.h
|
||||||
* @brief This file contains the headers of the interrupt handlers.
|
* @brief This file contains the headers of the interrupt handlers.
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 STMicroelectronics.
|
* Copyright (c) 2023 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
|
|
||||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||||
#ifndef __STM32F4xx_IT_H
|
#ifndef __STM32F4xx_IT_H
|
||||||
#define __STM32F4xx_IT_H
|
#define __STM32F4xx_IT_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
/* Private includes ----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
/* Exported types ------------------------------------------------------------*/
|
/* Exported types ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN ET */
|
/* USER CODE BEGIN ET */
|
||||||
|
|
||||||
/* USER CODE END ET */
|
/* USER CODE END ET */
|
||||||
|
|
||||||
/* Exported constants --------------------------------------------------------*/
|
/* Exported constants --------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN EC */
|
/* USER CODE BEGIN EC */
|
||||||
|
|
||||||
/* USER CODE END EC */
|
/* USER CODE END EC */
|
||||||
|
|
||||||
/* Exported macro ------------------------------------------------------------*/
|
/* Exported macro ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN EM */
|
/* USER CODE BEGIN EM */
|
||||||
|
|
||||||
/* USER CODE END EM */
|
/* USER CODE END EM */
|
||||||
|
|
||||||
/* Exported functions prototypes ---------------------------------------------*/
|
/* Exported functions prototypes ---------------------------------------------*/
|
||||||
void NMI_Handler(void);
|
void NMI_Handler(void);
|
||||||
void HardFault_Handler(void);
|
void HardFault_Handler(void);
|
||||||
void MemManage_Handler(void);
|
void MemManage_Handler(void);
|
||||||
void BusFault_Handler(void);
|
void BusFault_Handler(void);
|
||||||
void UsageFault_Handler(void);
|
void UsageFault_Handler(void);
|
||||||
void SVC_Handler(void);
|
void SVC_Handler(void);
|
||||||
void DebugMon_Handler(void);
|
void DebugMon_Handler(void);
|
||||||
void PendSV_Handler(void);
|
void PendSV_Handler(void);
|
||||||
void SysTick_Handler(void);
|
void SysTick_Handler(void);
|
||||||
/* USER CODE BEGIN EFP */
|
void CAN1_RX0_IRQHandler(void);
|
||||||
|
/* USER CODE BEGIN EFP */
|
||||||
/* USER CODE END EFP */
|
|
||||||
|
/* USER CODE END EFP */
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
#ifdef __cplusplus
|
||||||
#endif
|
}
|
||||||
|
#endif
|
||||||
#endif /* __STM32F4xx_IT_H */
|
|
||||||
|
#endif /* __STM32F4xx_IT_H */
|
||||||
|
693
Core/Src/main.c
693
Core/Src/main.c
@ -1,335 +1,358 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file : main.c
|
* @file : main.c
|
||||||
* @brief : Main program body
|
* @brief : Main program body
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 STMicroelectronics.
|
* Copyright (c) 2023 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
/* Private includes ----------------------------------------------------------*/
|
/* Private includes ----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
//#include <sta/devices/stm32/can.hpp>
|
//#include <sta/devices/stm32/can.hpp>
|
||||||
extern void testCan(CAN_HandleTypeDef * handle);
|
extern void testCan(CAN_HandleTypeDef * handle);
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PTD */
|
/* USER CODE BEGIN PTD */
|
||||||
|
|
||||||
/* USER CODE END PTD */
|
/* USER CODE END PTD */
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PD */
|
/* USER CODE BEGIN PD */
|
||||||
/* USER CODE END PD */
|
CAN_RxHeaderTypeDef rxHeader; //CAN Bus Transmit Header
|
||||||
|
CAN_TxHeaderTypeDef txHeader; //CAN Bus Receive Header
|
||||||
/* Private macro -------------------------------------------------------------*/
|
uint8_t canRX[8] = {0,0,0,0,0,0,0,0}; //CAN Bus Receive Buffer
|
||||||
/* USER CODE BEGIN PM */
|
CAN_FilterTypeDef canfil; //CAN Bus Filter
|
||||||
|
uint32_t canMailbox; //CAN Bus Mail box variable
|
||||||
/* USER CODE END PM */
|
/* USER CODE END PD */
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
/* Private macro -------------------------------------------------------------*/
|
||||||
CAN_HandleTypeDef hcan1;
|
/* USER CODE BEGIN PM */
|
||||||
CAN_HandleTypeDef hcan2;
|
|
||||||
|
/* USER CODE END PM */
|
||||||
UART_HandleTypeDef huart4;
|
|
||||||
|
/* Private variables ---------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PV */
|
CAN_HandleTypeDef hcan1;
|
||||||
|
|
||||||
/* USER CODE END PV */
|
UART_HandleTypeDef huart4;
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
/* USER CODE BEGIN PV */
|
||||||
void SystemClock_Config(void);
|
|
||||||
static void MX_GPIO_Init(void);
|
/* USER CODE END PV */
|
||||||
static void MX_UART4_Init(void);
|
|
||||||
static void MX_CAN1_Init(void);
|
/* Private function prototypes -----------------------------------------------*/
|
||||||
static void MX_CAN2_Init(void);
|
void SystemClock_Config(void);
|
||||||
/* USER CODE BEGIN PFP */
|
static void MX_GPIO_Init(void);
|
||||||
|
static void MX_UART4_Init(void);
|
||||||
/* USER CODE END PFP */
|
static void MX_CAN1_Init(void);
|
||||||
|
/* USER CODE BEGIN PFP */
|
||||||
/* Private user code ---------------------------------------------------------*/
|
|
||||||
/* USER CODE BEGIN 0 */
|
/* USER CODE END PFP */
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
/* Private user code ---------------------------------------------------------*/
|
||||||
|
/* USER CODE BEGIN 0 */
|
||||||
/**
|
|
||||||
* @brief The application entry point.
|
/* USER CODE END 0 */
|
||||||
* @retval int
|
|
||||||
*/
|
/**
|
||||||
int main(void)
|
* @brief The application entry point.
|
||||||
{
|
* @retval int
|
||||||
/* USER CODE BEGIN 1 */
|
*/
|
||||||
|
int main(void)
|
||||||
/* USER CODE END 1 */
|
{
|
||||||
|
/* USER CODE BEGIN 1 */
|
||||||
/* MCU Configuration--------------------------------------------------------*/
|
|
||||||
|
/* USER CODE END 1 */
|
||||||
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
|
|
||||||
HAL_Init();
|
/* MCU Configuration--------------------------------------------------------*/
|
||||||
|
|
||||||
/* USER CODE BEGIN Init */
|
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
|
||||||
|
HAL_Init();
|
||||||
/* USER CODE END Init */
|
|
||||||
|
/* USER CODE BEGIN Init */
|
||||||
/* Configure the system clock */
|
|
||||||
SystemClock_Config();
|
/* USER CODE END Init */
|
||||||
|
|
||||||
/* USER CODE BEGIN SysInit */
|
/* Configure the system clock */
|
||||||
|
SystemClock_Config();
|
||||||
/* USER CODE END SysInit */
|
|
||||||
|
/* USER CODE BEGIN SysInit */
|
||||||
/* Initialize all configured peripherals */
|
|
||||||
MX_GPIO_Init();
|
/* USER CODE END SysInit */
|
||||||
MX_UART4_Init();
|
|
||||||
MX_CAN1_Init();
|
/* Initialize all configured peripherals */
|
||||||
MX_CAN2_Init();
|
MX_GPIO_Init();
|
||||||
/* USER CODE BEGIN 2 */
|
MX_UART4_Init();
|
||||||
testCan(&hcan2);
|
MX_CAN1_Init();
|
||||||
HAL_GPIO_TogglePin(GPIOB,GPIO_PIN_12);
|
/* USER CODE BEGIN 2 */
|
||||||
/* USER CODE END 2 */
|
|
||||||
|
txHeader.DLC = 8;
|
||||||
/* Infinite loop */
|
txHeader.IDE = CAN_ID_STD;
|
||||||
/* USER CODE BEGIN WHILE */
|
txHeader.RTR = CAN_RTR_DATA;
|
||||||
while (1)
|
txHeader.StdId = 0x030;
|
||||||
{
|
txHeader.ExtId = 0x02;
|
||||||
/* USER CODE END WHILE */
|
txHeader.TransmitGlobalTime = DISABLE;
|
||||||
|
|
||||||
/* USER CODE BEGIN 3 */
|
HAL_CAN_ConfigFilter(&hcan1,&canfil);
|
||||||
|
HAL_CAN_Start(&hcan1);
|
||||||
}
|
//HAL_CAN_ActivateNotification(&hcan1,CAN_IT_RX_FIFO0_MSG_PENDING);
|
||||||
/* USER CODE END 3 */
|
|
||||||
}
|
//HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12, GPIO_PIN_SET);
|
||||||
|
//testCan(&hcan1);
|
||||||
/**
|
|
||||||
* @brief System Clock Configuration
|
/* USER CODE END 2 */
|
||||||
* @retval None
|
|
||||||
*/
|
/* Infinite loop */
|
||||||
void SystemClock_Config(void)
|
/* USER CODE BEGIN WHILE */
|
||||||
{
|
while (1)
|
||||||
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
|
{
|
||||||
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
|
|
||||||
|
//HAL_Delay(1);
|
||||||
/** Configure the main internal regulator output voltage
|
//HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12, GPIO_PIN_RESET);
|
||||||
*/
|
//HAL_Delay(100);
|
||||||
__HAL_RCC_PWR_CLK_ENABLE();
|
//HAL_GPIO_WritePin(GPIOB,GPIO_PIN_12, GPIO_PIN_SET);#
|
||||||
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
|
|
||||||
|
HAL_CAN_GetRxMessage(&hcan1, CAN_RX_FIFO0, &rxHeader, canRX);
|
||||||
/** Initializes the RCC Oscillators according to the specified parameters
|
if (canRX[0] != 0){
|
||||||
* in the RCC_OscInitTypeDef structure.
|
HAL_GPIO_TogglePin(GPIOD,GPIO_PIN_8);
|
||||||
*/
|
HAL_Delay(1000);
|
||||||
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
|
}
|
||||||
RCC_OscInitStruct.HSIState = RCC_HSI_ON;
|
|
||||||
RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
|
uint8_t csend[] = {0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};
|
||||||
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
|
HAL_CAN_AddTxMessage(&hcan1,&txHeader,csend,&canMailbox);
|
||||||
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
|
/*HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_RESET);
|
||||||
{
|
HAL_Delay(100);
|
||||||
Error_Handler();
|
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_SET);*/
|
||||||
}
|
HAL_Delay(1000);
|
||||||
|
/* USER CODE END WHILE */
|
||||||
/** Initializes the CPU, AHB and APB buses clocks
|
|
||||||
*/
|
/* USER CODE BEGIN 3 */
|
||||||
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|
|
||||||
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
|
}
|
||||||
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
|
/* USER CODE END 3 */
|
||||||
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
|
}
|
||||||
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
|
|
||||||
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
|
/**
|
||||||
|
* @brief System Clock Configuration
|
||||||
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
|
* @retval None
|
||||||
{
|
*/
|
||||||
Error_Handler();
|
void SystemClock_Config(void)
|
||||||
}
|
{
|
||||||
}
|
RCC_OscInitTypeDef RCC_OscInitStruct = {0};
|
||||||
|
RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
|
||||||
/**
|
|
||||||
* @brief CAN1 Initialization Function
|
/** Configure the main internal regulator output voltage
|
||||||
* @param None
|
*/
|
||||||
* @retval None
|
__HAL_RCC_PWR_CLK_ENABLE();
|
||||||
*/
|
__HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
|
||||||
static void MX_CAN1_Init(void)
|
|
||||||
{
|
/** Initializes the RCC Oscillators according to the specified parameters
|
||||||
|
* in the RCC_OscInitTypeDef structure.
|
||||||
/* USER CODE BEGIN CAN1_Init 0 */
|
*/
|
||||||
|
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
|
||||||
/* USER CODE END CAN1_Init 0 */
|
RCC_OscInitStruct.HSEState = RCC_HSE_ON;
|
||||||
|
RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
|
||||||
/* USER CODE BEGIN CAN1_Init 1 */
|
RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
|
||||||
|
RCC_OscInitStruct.PLL.PLLM = 4;
|
||||||
/* USER CODE END CAN1_Init 1 */
|
RCC_OscInitStruct.PLL.PLLN = 64;
|
||||||
hcan1.Instance = CAN1;
|
RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
|
||||||
hcan1.Init.Prescaler = 8;
|
RCC_OscInitStruct.PLL.PLLQ = 4;
|
||||||
hcan1.Init.Mode = CAN_MODE_NORMAL;
|
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
|
||||||
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
{
|
||||||
hcan1.Init.TimeSeg1 = CAN_BS1_2TQ;
|
Error_Handler();
|
||||||
hcan1.Init.TimeSeg2 = CAN_BS2_1TQ;
|
}
|
||||||
hcan1.Init.TimeTriggeredMode = DISABLE;
|
|
||||||
hcan1.Init.AutoBusOff = DISABLE;
|
/** Initializes the CPU, AHB and APB buses clocks
|
||||||
hcan1.Init.AutoWakeUp = DISABLE;
|
*/
|
||||||
hcan1.Init.AutoRetransmission = ENABLE;
|
RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
|
||||||
hcan1.Init.ReceiveFifoLocked = DISABLE;
|
|RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
|
||||||
hcan1.Init.TransmitFifoPriority = DISABLE;
|
RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
|
||||||
if (HAL_CAN_Init(&hcan1) != HAL_OK)
|
RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV4;
|
||||||
{
|
RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
|
||||||
Error_Handler();
|
RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
|
||||||
}
|
|
||||||
/* USER CODE BEGIN CAN1_Init 2 */
|
if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
|
||||||
|
{
|
||||||
/* USER CODE END CAN1_Init 2 */
|
Error_Handler();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief CAN2 Initialization Function
|
* @brief CAN1 Initialization Function
|
||||||
* @param None
|
* @param None
|
||||||
* @retval None
|
* @retval None
|
||||||
*/
|
*/
|
||||||
static void MX_CAN2_Init(void)
|
static void MX_CAN1_Init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* USER CODE BEGIN CAN2_Init 0 */
|
/* USER CODE BEGIN CAN1_Init 0 */
|
||||||
|
|
||||||
/* USER CODE END CAN2_Init 0 */
|
/* USER CODE END CAN1_Init 0 */
|
||||||
|
|
||||||
/* USER CODE BEGIN CAN2_Init 1 */
|
/* USER CODE BEGIN CAN1_Init 1 */
|
||||||
|
|
||||||
/* USER CODE END CAN2_Init 1 */
|
/* USER CODE END CAN1_Init 1 */
|
||||||
hcan2.Instance = CAN2;
|
hcan1.Instance = CAN1;
|
||||||
hcan2.Init.Prescaler = 8;
|
hcan1.Init.Prescaler = 8;
|
||||||
hcan2.Init.Mode = CAN_MODE_NORMAL;
|
hcan1.Init.Mode = CAN_MODE_NORMAL;
|
||||||
hcan2.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
||||||
hcan2.Init.TimeSeg1 = CAN_BS1_2TQ;
|
hcan1.Init.TimeSeg1 = CAN_BS1_2TQ;
|
||||||
hcan2.Init.TimeSeg2 = CAN_BS2_1TQ;
|
hcan1.Init.TimeSeg2 = CAN_BS2_7TQ;
|
||||||
hcan2.Init.TimeTriggeredMode = DISABLE;
|
hcan1.Init.TimeTriggeredMode = DISABLE;
|
||||||
hcan2.Init.AutoBusOff = DISABLE;
|
hcan1.Init.AutoBusOff = DISABLE;
|
||||||
hcan2.Init.AutoWakeUp = DISABLE;
|
hcan1.Init.AutoWakeUp = DISABLE;
|
||||||
hcan2.Init.AutoRetransmission = ENABLE;
|
hcan1.Init.AutoRetransmission = ENABLE;
|
||||||
hcan2.Init.ReceiveFifoLocked = DISABLE;
|
hcan1.Init.ReceiveFifoLocked = DISABLE;
|
||||||
hcan2.Init.TransmitFifoPriority = DISABLE;
|
hcan1.Init.TransmitFifoPriority = DISABLE;
|
||||||
if (HAL_CAN_Init(&hcan2) != HAL_OK)
|
if (HAL_CAN_Init(&hcan1) != HAL_OK)
|
||||||
{
|
{
|
||||||
Error_Handler();
|
Error_Handler();
|
||||||
}
|
}
|
||||||
/* USER CODE BEGIN CAN2_Init 2 */
|
/* USER CODE BEGIN CAN1_Init 2 */
|
||||||
|
|
||||||
/* USER CODE END CAN2_Init 2 */
|
/* USER CODE END CAN1_Init 2 */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief UART4 Initialization Function
|
* @brief UART4 Initialization Function
|
||||||
* @param None
|
* @param None
|
||||||
* @retval None
|
* @retval None
|
||||||
*/
|
*/
|
||||||
static void MX_UART4_Init(void)
|
static void MX_UART4_Init(void)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* USER CODE BEGIN UART4_Init 0 */
|
/* USER CODE BEGIN UART4_Init 0 */
|
||||||
|
|
||||||
/* USER CODE END UART4_Init 0 */
|
/* USER CODE END UART4_Init 0 */
|
||||||
|
|
||||||
/* USER CODE BEGIN UART4_Init 1 */
|
/* USER CODE BEGIN UART4_Init 1 */
|
||||||
|
|
||||||
/* USER CODE END UART4_Init 1 */
|
/* USER CODE END UART4_Init 1 */
|
||||||
huart4.Instance = UART4;
|
huart4.Instance = UART4;
|
||||||
huart4.Init.BaudRate = 115200;
|
huart4.Init.BaudRate = 115200;
|
||||||
huart4.Init.WordLength = UART_WORDLENGTH_8B;
|
huart4.Init.WordLength = UART_WORDLENGTH_8B;
|
||||||
huart4.Init.StopBits = UART_STOPBITS_1;
|
huart4.Init.StopBits = UART_STOPBITS_1;
|
||||||
huart4.Init.Parity = UART_PARITY_NONE;
|
huart4.Init.Parity = UART_PARITY_NONE;
|
||||||
huart4.Init.Mode = UART_MODE_TX_RX;
|
huart4.Init.Mode = UART_MODE_TX_RX;
|
||||||
huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||||
huart4.Init.OverSampling = UART_OVERSAMPLING_16;
|
huart4.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||||
if (HAL_UART_Init(&huart4) != HAL_OK)
|
if (HAL_UART_Init(&huart4) != HAL_OK)
|
||||||
{
|
{
|
||||||
Error_Handler();
|
Error_Handler();
|
||||||
}
|
}
|
||||||
/* USER CODE BEGIN UART4_Init 2 */
|
/* USER CODE BEGIN UART4_Init 2 */
|
||||||
|
|
||||||
/* USER CODE END UART4_Init 2 */
|
/* USER CODE END UART4_Init 2 */
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief GPIO Initialization Function
|
* @brief GPIO Initialization Function
|
||||||
* @param None
|
* @param None
|
||||||
* @retval None
|
* @retval None
|
||||||
*/
|
*/
|
||||||
static void MX_GPIO_Init(void)
|
static void MX_GPIO_Init(void)
|
||||||
{
|
{
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||||
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
||||||
/* USER CODE END MX_GPIO_Init_1 */
|
/* USER CODE END MX_GPIO_Init_1 */
|
||||||
|
|
||||||
/* GPIO Ports Clock Enable */
|
/* GPIO Ports Clock Enable */
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||||
|
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||||
/*Configure GPIO pin Output Level */
|
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12, GPIO_PIN_RESET);
|
|
||||||
|
/*Configure GPIO pin Output Level */
|
||||||
/*Configure GPIO pin : PB12 */
|
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12|GPIO_PIN_13, GPIO_PIN_RESET);
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_12;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
/*Configure GPIO pin Output Level */
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_8, GPIO_PIN_RESET);
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
/*Configure GPIO pins : PB12 PB13 */
|
||||||
|
GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13;
|
||||||
/*Configure GPIO pins : PC10 PC11 PC12 */
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12;
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF6_SPI3;
|
/*Configure GPIO pin : PD8 */
|
||||||
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
GPIO_InitStruct.Pin = GPIO_PIN_8;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
/* USER CODE END MX_GPIO_Init_2 */
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||||
}
|
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
|
||||||
|
|
||||||
/* USER CODE BEGIN 4 */
|
/*Configure GPIO pins : PC10 PC11 PC12 */
|
||||||
|
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12;
|
||||||
/* USER CODE END 4 */
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
/**
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
* @brief This function is executed in case of error occurrence.
|
GPIO_InitStruct.Alternate = GPIO_AF6_SPI3;
|
||||||
* @retval None
|
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
||||||
*/
|
|
||||||
void Error_Handler(void)
|
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
||||||
{
|
/* USER CODE END MX_GPIO_Init_2 */
|
||||||
/* USER CODE BEGIN Error_Handler_Debug */
|
}
|
||||||
/* User can add his own implementation to report the HAL error return state */
|
|
||||||
__disable_irq();
|
/* USER CODE BEGIN 4 */
|
||||||
while (1)
|
|
||||||
{
|
void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
|
||||||
}
|
{
|
||||||
/* USER CODE END Error_Handler_Debug */
|
|
||||||
}
|
HAL_GPIO_TogglePin(GPIOD,GPIO_PIN_8);
|
||||||
|
HAL_Delay(1000);
|
||||||
#ifdef USE_FULL_ASSERT
|
|
||||||
/**
|
HAL_CAN_GetRxMessage(hcan1, CAN_RX_FIFO0, &rxHeader, canRX);
|
||||||
* @brief Reports the name of the source file and the source line number
|
|
||||||
* where the assert_param error has occurred.
|
|
||||||
* @param file: pointer to the source file name
|
}
|
||||||
* @param line: assert_param error line source number
|
|
||||||
* @retval None
|
/* USER CODE END 4 */
|
||||||
*/
|
|
||||||
void assert_failed(uint8_t *file, uint32_t line)
|
/**
|
||||||
{
|
* @brief This function is executed in case of error occurrence.
|
||||||
/* USER CODE BEGIN 6 */
|
* @retval None
|
||||||
/* User can add his own implementation to report the file name and line number,
|
*/
|
||||||
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
|
void Error_Handler(void)
|
||||||
/* USER CODE END 6 */
|
{
|
||||||
}
|
/* USER CODE BEGIN Error_Handler_Debug */
|
||||||
#endif /* USE_FULL_ASSERT */
|
/* User can add his own implementation to report the HAL error return state */
|
||||||
|
__disable_irq();
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
/* USER CODE END Error_Handler_Debug */
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef USE_FULL_ASSERT
|
||||||
|
/**
|
||||||
|
* @brief Reports the name of the source file and the source line number
|
||||||
|
* where the assert_param error has occurred.
|
||||||
|
* @param file: pointer to the source file name
|
||||||
|
* @param line: assert_param error line source number
|
||||||
|
* @retval None
|
||||||
|
*/
|
||||||
|
void assert_failed(uint8_t *file, uint32_t line)
|
||||||
|
{
|
||||||
|
/* USER CODE BEGIN 6 */
|
||||||
|
/* User can add his own implementation to report the file name and line number,
|
||||||
|
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
|
||||||
|
/* USER CODE END 6 */
|
||||||
|
}
|
||||||
|
#endif /* USE_FULL_ASSERT */
|
||||||
|
@ -1,270 +1,217 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file stm32f4xx_hal_msp.c
|
* @file stm32f4xx_hal_msp.c
|
||||||
* @brief This file provides code for the MSP Initialization
|
* @brief This file provides code for the MSP Initialization
|
||||||
* and de-Initialization codes.
|
* and de-Initialization codes.
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 STMicroelectronics.
|
* Copyright (c) 2023 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
|
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
|
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN TD */
|
/* USER CODE BEGIN TD */
|
||||||
|
|
||||||
/* USER CODE END TD */
|
/* USER CODE END TD */
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Define */
|
/* USER CODE BEGIN Define */
|
||||||
|
|
||||||
/* USER CODE END Define */
|
/* USER CODE END Define */
|
||||||
|
|
||||||
/* Private macro -------------------------------------------------------------*/
|
/* Private macro -------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Macro */
|
/* USER CODE BEGIN Macro */
|
||||||
|
|
||||||
/* USER CODE END Macro */
|
/* USER CODE END Macro */
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
/* Private variables ---------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PV */
|
/* USER CODE BEGIN PV */
|
||||||
|
|
||||||
/* USER CODE END PV */
|
/* USER CODE END PV */
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
/* Private function prototypes -----------------------------------------------*/
|
||||||
/* USER CODE BEGIN PFP */
|
/* USER CODE BEGIN PFP */
|
||||||
|
|
||||||
/* USER CODE END PFP */
|
/* USER CODE END PFP */
|
||||||
|
|
||||||
/* External functions --------------------------------------------------------*/
|
/* External functions --------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN ExternalFunctions */
|
/* USER CODE BEGIN ExternalFunctions */
|
||||||
|
|
||||||
/* USER CODE END ExternalFunctions */
|
/* USER CODE END ExternalFunctions */
|
||||||
|
|
||||||
/* USER CODE BEGIN 0 */
|
/* USER CODE BEGIN 0 */
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
/* USER CODE END 0 */
|
||||||
/**
|
/**
|
||||||
* Initializes the Global MSP.
|
* Initializes the Global MSP.
|
||||||
*/
|
*/
|
||||||
void HAL_MspInit(void)
|
void HAL_MspInit(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN MspInit 0 */
|
/* USER CODE BEGIN MspInit 0 */
|
||||||
|
|
||||||
/* USER CODE END MspInit 0 */
|
/* USER CODE END MspInit 0 */
|
||||||
|
|
||||||
__HAL_RCC_SYSCFG_CLK_ENABLE();
|
__HAL_RCC_SYSCFG_CLK_ENABLE();
|
||||||
__HAL_RCC_PWR_CLK_ENABLE();
|
__HAL_RCC_PWR_CLK_ENABLE();
|
||||||
|
|
||||||
/* System interrupt init*/
|
/* System interrupt init*/
|
||||||
|
|
||||||
/* USER CODE BEGIN MspInit 1 */
|
/* USER CODE BEGIN MspInit 1 */
|
||||||
|
|
||||||
/* USER CODE END MspInit 1 */
|
/* USER CODE END MspInit 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint32_t HAL_RCC_CAN1_CLK_ENABLED=0;
|
/**
|
||||||
|
* @brief CAN MSP Initialization
|
||||||
/**
|
* This function configures the hardware resources used in this example
|
||||||
* @brief CAN MSP Initialization
|
* @param hcan: CAN handle pointer
|
||||||
* This function configures the hardware resources used in this example
|
* @retval None
|
||||||
* @param hcan: CAN handle pointer
|
*/
|
||||||
* @retval None
|
void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
|
||||||
*/
|
{
|
||||||
void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
|
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||||
{
|
if(hcan->Instance==CAN1)
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
{
|
||||||
if(hcan->Instance==CAN1)
|
/* USER CODE BEGIN CAN1_MspInit 0 */
|
||||||
{
|
|
||||||
/* USER CODE BEGIN CAN1_MspInit 0 */
|
/* USER CODE END CAN1_MspInit 0 */
|
||||||
|
/* Peripheral clock enable */
|
||||||
/* USER CODE END CAN1_MspInit 0 */
|
__HAL_RCC_CAN1_CLK_ENABLE();
|
||||||
/* Peripheral clock enable */
|
|
||||||
HAL_RCC_CAN1_CLK_ENABLED++;
|
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||||
if(HAL_RCC_CAN1_CLK_ENABLED==1){
|
/**CAN1 GPIO Configuration
|
||||||
__HAL_RCC_CAN1_CLK_ENABLE();
|
PA11 ------> CAN1_RX
|
||||||
}
|
PA12 ------> CAN1_TX
|
||||||
|
*/
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
|
||||||
/**CAN1 GPIO Configuration
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
PA11 ------> CAN1_RX
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
PA12 ------> CAN1_TX
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
*/
|
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
|
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
/* CAN1 interrupt Init */
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 0, 0);
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
|
HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn);
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
/* USER CODE BEGIN CAN1_MspInit 1 */
|
||||||
|
|
||||||
/* USER CODE BEGIN CAN1_MspInit 1 */
|
/* USER CODE END CAN1_MspInit 1 */
|
||||||
|
}
|
||||||
/* USER CODE END CAN1_MspInit 1 */
|
|
||||||
}
|
}
|
||||||
else if(hcan->Instance==CAN2)
|
|
||||||
{
|
/**
|
||||||
/* USER CODE BEGIN CAN2_MspInit 0 */
|
* @brief CAN MSP De-Initialization
|
||||||
|
* This function freeze the hardware resources used in this example
|
||||||
/* USER CODE END CAN2_MspInit 0 */
|
* @param hcan: CAN handle pointer
|
||||||
/* Peripheral clock enable */
|
* @retval None
|
||||||
__HAL_RCC_CAN2_CLK_ENABLE();
|
*/
|
||||||
HAL_RCC_CAN1_CLK_ENABLED++;
|
void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
|
||||||
if(HAL_RCC_CAN1_CLK_ENABLED==1){
|
{
|
||||||
__HAL_RCC_CAN1_CLK_ENABLE();
|
if(hcan->Instance==CAN1)
|
||||||
}
|
{
|
||||||
|
/* USER CODE BEGIN CAN1_MspDeInit 0 */
|
||||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
|
||||||
/**CAN2 GPIO Configuration
|
/* USER CODE END CAN1_MspDeInit 0 */
|
||||||
PB13 ------> CAN2_TX
|
/* Peripheral clock disable */
|
||||||
PB5 ------> CAN2_RX
|
__HAL_RCC_CAN1_CLK_DISABLE();
|
||||||
*/
|
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_13|GPIO_PIN_5;
|
/**CAN1 GPIO Configuration
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
PA11 ------> CAN1_RX
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
PA12 ------> CAN1_TX
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
*/
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF9_CAN2;
|
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
|
||||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
|
||||||
|
/* CAN1 interrupt DeInit */
|
||||||
/* USER CODE BEGIN CAN2_MspInit 1 */
|
HAL_NVIC_DisableIRQ(CAN1_RX0_IRQn);
|
||||||
|
/* USER CODE BEGIN CAN1_MspDeInit 1 */
|
||||||
/* USER CODE END CAN2_MspInit 1 */
|
|
||||||
}
|
/* USER CODE END CAN1_MspDeInit 1 */
|
||||||
|
}
|
||||||
}
|
|
||||||
|
}
|
||||||
/**
|
|
||||||
* @brief CAN MSP De-Initialization
|
/**
|
||||||
* This function freeze the hardware resources used in this example
|
* @brief UART MSP Initialization
|
||||||
* @param hcan: CAN handle pointer
|
* This function configures the hardware resources used in this example
|
||||||
* @retval None
|
* @param huart: UART handle pointer
|
||||||
*/
|
* @retval None
|
||||||
void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
|
*/
|
||||||
{
|
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
|
||||||
if(hcan->Instance==CAN1)
|
{
|
||||||
{
|
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||||
/* USER CODE BEGIN CAN1_MspDeInit 0 */
|
if(huart->Instance==UART4)
|
||||||
|
{
|
||||||
/* USER CODE END CAN1_MspDeInit 0 */
|
/* USER CODE BEGIN UART4_MspInit 0 */
|
||||||
/* Peripheral clock disable */
|
|
||||||
HAL_RCC_CAN1_CLK_ENABLED--;
|
/* USER CODE END UART4_MspInit 0 */
|
||||||
if(HAL_RCC_CAN1_CLK_ENABLED==0){
|
/* Peripheral clock enable */
|
||||||
__HAL_RCC_CAN1_CLK_DISABLE();
|
__HAL_RCC_UART4_CLK_ENABLE();
|
||||||
}
|
|
||||||
|
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||||
/**CAN1 GPIO Configuration
|
/**UART4 GPIO Configuration
|
||||||
PA11 ------> CAN1_RX
|
PA0-WKUP ------> UART4_TX
|
||||||
PA12 ------> CAN1_TX
|
PA1 ------> UART4_RX
|
||||||
*/
|
*/
|
||||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
|
GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
|
||||||
|
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||||
/* USER CODE BEGIN CAN1_MspDeInit 1 */
|
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||||
|
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||||
/* USER CODE END CAN1_MspDeInit 1 */
|
GPIO_InitStruct.Alternate = GPIO_AF8_UART4;
|
||||||
}
|
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||||
else if(hcan->Instance==CAN2)
|
|
||||||
{
|
/* USER CODE BEGIN UART4_MspInit 1 */
|
||||||
/* USER CODE BEGIN CAN2_MspDeInit 0 */
|
|
||||||
|
/* USER CODE END UART4_MspInit 1 */
|
||||||
/* USER CODE END CAN2_MspDeInit 0 */
|
}
|
||||||
/* Peripheral clock disable */
|
|
||||||
__HAL_RCC_CAN2_CLK_DISABLE();
|
}
|
||||||
HAL_RCC_CAN1_CLK_ENABLED--;
|
|
||||||
if(HAL_RCC_CAN1_CLK_ENABLED==0){
|
/**
|
||||||
__HAL_RCC_CAN1_CLK_DISABLE();
|
* @brief UART MSP De-Initialization
|
||||||
}
|
* This function freeze the hardware resources used in this example
|
||||||
|
* @param huart: UART handle pointer
|
||||||
/**CAN2 GPIO Configuration
|
* @retval None
|
||||||
PB13 ------> CAN2_TX
|
*/
|
||||||
PB5 ------> CAN2_RX
|
void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
|
||||||
*/
|
{
|
||||||
HAL_GPIO_DeInit(GPIOB, GPIO_PIN_13|GPIO_PIN_5);
|
if(huart->Instance==UART4)
|
||||||
|
{
|
||||||
/* USER CODE BEGIN CAN2_MspDeInit 1 */
|
/* USER CODE BEGIN UART4_MspDeInit 0 */
|
||||||
|
|
||||||
/* USER CODE END CAN2_MspDeInit 1 */
|
/* USER CODE END UART4_MspDeInit 0 */
|
||||||
}
|
/* Peripheral clock disable */
|
||||||
|
__HAL_RCC_UART4_CLK_DISABLE();
|
||||||
}
|
|
||||||
|
/**UART4 GPIO Configuration
|
||||||
/**
|
PA0-WKUP ------> UART4_TX
|
||||||
* @brief UART MSP Initialization
|
PA1 ------> UART4_RX
|
||||||
* This function configures the hardware resources used in this example
|
*/
|
||||||
* @param huart: UART handle pointer
|
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0|GPIO_PIN_1);
|
||||||
* @retval None
|
|
||||||
*/
|
/* USER CODE BEGIN UART4_MspDeInit 1 */
|
||||||
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
|
|
||||||
{
|
/* USER CODE END UART4_MspDeInit 1 */
|
||||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
}
|
||||||
if(huart->Instance==UART4)
|
|
||||||
{
|
}
|
||||||
/* USER CODE BEGIN UART4_MspInit 0 */
|
|
||||||
|
/* USER CODE BEGIN 1 */
|
||||||
/* USER CODE END UART4_MspInit 0 */
|
|
||||||
/* Peripheral clock enable */
|
/* USER CODE END 1 */
|
||||||
__HAL_RCC_UART4_CLK_ENABLE();
|
|
||||||
|
|
||||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
|
||||||
/**UART4 GPIO Configuration
|
|
||||||
PA0-WKUP ------> UART4_TX
|
|
||||||
PA1 ------> UART4_RX
|
|
||||||
*/
|
|
||||||
GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
|
|
||||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
|
||||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
|
||||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
|
||||||
GPIO_InitStruct.Alternate = GPIO_AF8_UART4;
|
|
||||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN UART4_MspInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END UART4_MspInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief UART MSP De-Initialization
|
|
||||||
* This function freeze the hardware resources used in this example
|
|
||||||
* @param huart: UART handle pointer
|
|
||||||
* @retval None
|
|
||||||
*/
|
|
||||||
void HAL_UART_MspDeInit(UART_HandleTypeDef* huart)
|
|
||||||
{
|
|
||||||
if(huart->Instance==UART4)
|
|
||||||
{
|
|
||||||
/* USER CODE BEGIN UART4_MspDeInit 0 */
|
|
||||||
|
|
||||||
/* USER CODE END UART4_MspDeInit 0 */
|
|
||||||
/* Peripheral clock disable */
|
|
||||||
__HAL_RCC_UART4_CLK_DISABLE();
|
|
||||||
|
|
||||||
/**UART4 GPIO Configuration
|
|
||||||
PA0-WKUP ------> UART4_TX
|
|
||||||
PA1 ------> UART4_RX
|
|
||||||
*/
|
|
||||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0|GPIO_PIN_1);
|
|
||||||
|
|
||||||
/* USER CODE BEGIN UART4_MspDeInit 1 */
|
|
||||||
|
|
||||||
/* USER CODE END UART4_MspDeInit 1 */
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
/* USER CODE BEGIN 1 */
|
|
||||||
|
|
||||||
/* USER CODE END 1 */
|
|
||||||
|
@ -1,203 +1,217 @@
|
|||||||
/* USER CODE BEGIN Header */
|
/* USER CODE BEGIN Header */
|
||||||
/**
|
/**
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @file stm32f4xx_it.c
|
* @file stm32f4xx_it.c
|
||||||
* @brief Interrupt Service Routines.
|
* @brief Interrupt Service Routines.
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
* @attention
|
* @attention
|
||||||
*
|
*
|
||||||
* Copyright (c) 2023 STMicroelectronics.
|
* Copyright (c) 2023 STMicroelectronics.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This software is licensed under terms that can be found in the LICENSE file
|
* This software is licensed under terms that can be found in the LICENSE file
|
||||||
* in the root directory of this software component.
|
* in the root directory of this software component.
|
||||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||||
*
|
*
|
||||||
******************************************************************************
|
******************************************************************************
|
||||||
*/
|
*/
|
||||||
/* USER CODE END Header */
|
/* USER CODE END Header */
|
||||||
|
|
||||||
/* Includes ------------------------------------------------------------------*/
|
/* Includes ------------------------------------------------------------------*/
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "stm32f4xx_it.h"
|
#include "stm32f4xx_it.h"
|
||||||
/* Private includes ----------------------------------------------------------*/
|
/* Private includes ----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN Includes */
|
/* USER CODE BEGIN Includes */
|
||||||
/* USER CODE END Includes */
|
/* USER CODE END Includes */
|
||||||
|
|
||||||
/* Private typedef -----------------------------------------------------------*/
|
/* Private typedef -----------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN TD */
|
/* USER CODE BEGIN TD */
|
||||||
|
|
||||||
/* USER CODE END TD */
|
/* USER CODE END TD */
|
||||||
|
|
||||||
/* Private define ------------------------------------------------------------*/
|
/* Private define ------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PD */
|
/* USER CODE BEGIN PD */
|
||||||
|
|
||||||
/* USER CODE END PD */
|
/* USER CODE END PD */
|
||||||
|
|
||||||
/* Private macro -------------------------------------------------------------*/
|
/* Private macro -------------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PM */
|
/* USER CODE BEGIN PM */
|
||||||
|
|
||||||
/* USER CODE END PM */
|
/* USER CODE END PM */
|
||||||
|
|
||||||
/* Private variables ---------------------------------------------------------*/
|
/* Private variables ---------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN PV */
|
/* USER CODE BEGIN PV */
|
||||||
|
|
||||||
/* USER CODE END PV */
|
/* USER CODE END PV */
|
||||||
|
|
||||||
/* Private function prototypes -----------------------------------------------*/
|
/* Private function prototypes -----------------------------------------------*/
|
||||||
/* USER CODE BEGIN PFP */
|
/* USER CODE BEGIN PFP */
|
||||||
|
|
||||||
/* USER CODE END PFP */
|
/* USER CODE END PFP */
|
||||||
|
|
||||||
/* Private user code ---------------------------------------------------------*/
|
/* Private user code ---------------------------------------------------------*/
|
||||||
/* USER CODE BEGIN 0 */
|
/* USER CODE BEGIN 0 */
|
||||||
|
|
||||||
/* USER CODE END 0 */
|
/* USER CODE END 0 */
|
||||||
|
|
||||||
/* External variables --------------------------------------------------------*/
|
/* External variables --------------------------------------------------------*/
|
||||||
|
extern CAN_HandleTypeDef hcan1;
|
||||||
/* USER CODE BEGIN EV */
|
/* USER CODE BEGIN EV */
|
||||||
|
|
||||||
/* USER CODE END EV */
|
/* USER CODE END EV */
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* Cortex-M4 Processor Interruption and Exception Handlers */
|
/* Cortex-M4 Processor Interruption and Exception Handlers */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Non maskable interrupt.
|
* @brief This function handles Non maskable interrupt.
|
||||||
*/
|
*/
|
||||||
void NMI_Handler(void)
|
void NMI_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
|
/* USER CODE BEGIN NonMaskableInt_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END NonMaskableInt_IRQn 0 */
|
/* USER CODE END NonMaskableInt_IRQn 0 */
|
||||||
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
|
/* USER CODE BEGIN NonMaskableInt_IRQn 1 */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
/* USER CODE END NonMaskableInt_IRQn 1 */
|
/* USER CODE END NonMaskableInt_IRQn 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Hard fault interrupt.
|
* @brief This function handles Hard fault interrupt.
|
||||||
*/
|
*/
|
||||||
void HardFault_Handler(void)
|
void HardFault_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN HardFault_IRQn 0 */
|
/* USER CODE BEGIN HardFault_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END HardFault_IRQn 0 */
|
/* USER CODE END HardFault_IRQn 0 */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
|
/* USER CODE BEGIN W1_HardFault_IRQn 0 */
|
||||||
/* USER CODE END W1_HardFault_IRQn 0 */
|
/* USER CODE END W1_HardFault_IRQn 0 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Memory management fault.
|
* @brief This function handles Memory management fault.
|
||||||
*/
|
*/
|
||||||
void MemManage_Handler(void)
|
void MemManage_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN MemoryManagement_IRQn 0 */
|
/* USER CODE BEGIN MemoryManagement_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END MemoryManagement_IRQn 0 */
|
/* USER CODE END MemoryManagement_IRQn 0 */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
|
/* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
|
||||||
/* USER CODE END W1_MemoryManagement_IRQn 0 */
|
/* USER CODE END W1_MemoryManagement_IRQn 0 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Pre-fetch fault, memory access fault.
|
* @brief This function handles Pre-fetch fault, memory access fault.
|
||||||
*/
|
*/
|
||||||
void BusFault_Handler(void)
|
void BusFault_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN BusFault_IRQn 0 */
|
/* USER CODE BEGIN BusFault_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END BusFault_IRQn 0 */
|
/* USER CODE END BusFault_IRQn 0 */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN W1_BusFault_IRQn 0 */
|
/* USER CODE BEGIN W1_BusFault_IRQn 0 */
|
||||||
/* USER CODE END W1_BusFault_IRQn 0 */
|
/* USER CODE END W1_BusFault_IRQn 0 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Undefined instruction or illegal state.
|
* @brief This function handles Undefined instruction or illegal state.
|
||||||
*/
|
*/
|
||||||
void UsageFault_Handler(void)
|
void UsageFault_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN UsageFault_IRQn 0 */
|
/* USER CODE BEGIN UsageFault_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END UsageFault_IRQn 0 */
|
/* USER CODE END UsageFault_IRQn 0 */
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN W1_UsageFault_IRQn 0 */
|
/* USER CODE BEGIN W1_UsageFault_IRQn 0 */
|
||||||
/* USER CODE END W1_UsageFault_IRQn 0 */
|
/* USER CODE END W1_UsageFault_IRQn 0 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles System service call via SWI instruction.
|
* @brief This function handles System service call via SWI instruction.
|
||||||
*/
|
*/
|
||||||
void SVC_Handler(void)
|
void SVC_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN SVCall_IRQn 0 */
|
/* USER CODE BEGIN SVCall_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END SVCall_IRQn 0 */
|
/* USER CODE END SVCall_IRQn 0 */
|
||||||
/* USER CODE BEGIN SVCall_IRQn 1 */
|
/* USER CODE BEGIN SVCall_IRQn 1 */
|
||||||
|
|
||||||
/* USER CODE END SVCall_IRQn 1 */
|
/* USER CODE END SVCall_IRQn 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Debug monitor.
|
* @brief This function handles Debug monitor.
|
||||||
*/
|
*/
|
||||||
void DebugMon_Handler(void)
|
void DebugMon_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN DebugMonitor_IRQn 0 */
|
/* USER CODE BEGIN DebugMonitor_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END DebugMonitor_IRQn 0 */
|
/* USER CODE END DebugMonitor_IRQn 0 */
|
||||||
/* USER CODE BEGIN DebugMonitor_IRQn 1 */
|
/* USER CODE BEGIN DebugMonitor_IRQn 1 */
|
||||||
|
|
||||||
/* USER CODE END DebugMonitor_IRQn 1 */
|
/* USER CODE END DebugMonitor_IRQn 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles Pendable request for system service.
|
* @brief This function handles Pendable request for system service.
|
||||||
*/
|
*/
|
||||||
void PendSV_Handler(void)
|
void PendSV_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN PendSV_IRQn 0 */
|
/* USER CODE BEGIN PendSV_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END PendSV_IRQn 0 */
|
/* USER CODE END PendSV_IRQn 0 */
|
||||||
/* USER CODE BEGIN PendSV_IRQn 1 */
|
/* USER CODE BEGIN PendSV_IRQn 1 */
|
||||||
|
|
||||||
/* USER CODE END PendSV_IRQn 1 */
|
/* USER CODE END PendSV_IRQn 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief This function handles System tick timer.
|
* @brief This function handles System tick timer.
|
||||||
*/
|
*/
|
||||||
void SysTick_Handler(void)
|
void SysTick_Handler(void)
|
||||||
{
|
{
|
||||||
/* USER CODE BEGIN SysTick_IRQn 0 */
|
/* USER CODE BEGIN SysTick_IRQn 0 */
|
||||||
|
|
||||||
/* USER CODE END SysTick_IRQn 0 */
|
/* USER CODE END SysTick_IRQn 0 */
|
||||||
HAL_IncTick();
|
HAL_IncTick();
|
||||||
/* USER CODE BEGIN SysTick_IRQn 1 */
|
/* USER CODE BEGIN SysTick_IRQn 1 */
|
||||||
|
|
||||||
/* USER CODE END SysTick_IRQn 1 */
|
/* USER CODE END SysTick_IRQn 1 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* STM32F4xx Peripheral Interrupt Handlers */
|
/* STM32F4xx Peripheral Interrupt Handlers */
|
||||||
/* Add here the Interrupt Handlers for the used peripherals. */
|
/* Add here the Interrupt Handlers for the used peripherals. */
|
||||||
/* For the available peripheral interrupt handler names, */
|
/* For the available peripheral interrupt handler names, */
|
||||||
/* please refer to the startup file (startup_stm32f4xx.s). */
|
/* please refer to the startup file (startup_stm32f4xx.s). */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
||||||
/* USER CODE BEGIN 1 */
|
/**
|
||||||
|
* @brief This function handles CAN1 RX0 interrupts.
|
||||||
/* USER CODE END 1 */
|
*/
|
||||||
|
void CAN1_RX0_IRQHandler(void)
|
||||||
|
{
|
||||||
|
/* USER CODE BEGIN CAN1_RX0_IRQn 0 */
|
||||||
|
|
||||||
|
/* USER CODE END CAN1_RX0_IRQn 0 */
|
||||||
|
HAL_CAN_IRQHandler(&hcan1);
|
||||||
|
/* USER CODE BEGIN CAN1_RX0_IRQn 1 */
|
||||||
|
|
||||||
|
/* USER CODE END CAN1_RX0_IRQn 1 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* USER CODE BEGIN 1 */
|
||||||
|
|
||||||
|
/* USER CODE END 1 */
|
||||||
|
@ -16,7 +16,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
App/Src/%.o App/Src/%.su App/Src/%.cyclo: ../App/Src/%.cpp App/Src/subdir.mk
|
App/Src/%.o App/Src/%.su App/Src/%.cyclo: ../App/Src/%.cpp App/Src/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-App-2f-Src
|
clean: clean-App-2f-Src
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
App/Src/test.o: ../App/Src/test.cpp \
|
App/Src/test.o: ../App/Src/test.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/can.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/stm32/can.hpp \
|
||||||
../Core/Inc/sta/config.hpp \
|
../Core/Inc/sta/config.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/hal.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/stm32/hal.hpp \
|
||||||
../Core/Inc/main.h ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
|
../Core/Inc/main.h ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
|
||||||
../Core/Inc/stm32f4xx_hal_conf.h \
|
../Core/Inc/stm32f4xx_hal_conf.h \
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
|
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
|
||||||
@ -29,14 +29,14 @@ App/Src/test.o: ../App/Src/test.cpp \
|
|||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.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_pwr_ex.h \
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
|
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/controller.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/controller.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/filter.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/filter.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/id.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/headers.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/headers.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/iter.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/can.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/stm32/can.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
||||||
../Core/Inc/main.h:
|
../Core/Inc/main.h:
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||||
../Core/Inc/stm32f4xx_hal_conf.h:
|
../Core/Inc/stm32f4xx_hal_conf.h:
|
||||||
@ -65,8 +65,8 @@ C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta
|
|||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.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_pwr_ex.h:
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
|
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/controller.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/controller.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/filter.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/filter.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/id.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/headers.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/headers.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
../App/Src/test.cpp:14:18:void testCan(CAN_HandleTypeDef*) 608 static
|
../App/Src/test.cpp:14:18:void testCan(CAN_HandleTypeDef*) 624 static
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
../Core/Src/main.c:69:5:main 1
|
../Core/Src/main.c:74:5:main 2
|
||||||
../Core/Src/main.c:116:6:SystemClock_Config 3
|
../Core/Src/main.c:152:6:SystemClock_Config 3
|
||||||
../Core/Src/main.c:158:13:MX_CAN1_Init 2
|
../Core/Src/main.c:198:13:MX_CAN1_Init 2
|
||||||
../Core/Src/main.c:195:13:MX_UART4_Init 2
|
../Core/Src/main.c:235:13:MX_UART4_Init 2
|
||||||
../Core/Src/main.c:228:13:MX_GPIO_Init 1
|
../Core/Src/main.c:268:13:MX_GPIO_Init 1
|
||||||
../Core/Src/main.c:269:6:Error_Handler 1
|
../Core/Src/main.c:315:6:HAL_CAN_RxFifo0MsgPendingCallback 1
|
||||||
|
../Core/Src/main.c:332:6:Error_Handler 1
|
||||||
|
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
../Core/Src/main.c:69:5:main 8 static
|
../Core/Src/main.c:74:5:main 16 static
|
||||||
../Core/Src/main.c:116:6:SystemClock_Config 88 static
|
../Core/Src/main.c:152:6:SystemClock_Config 88 static
|
||||||
../Core/Src/main.c:158:13:MX_CAN1_Init 8 static
|
../Core/Src/main.c:198:13:MX_CAN1_Init 8 static
|
||||||
../Core/Src/main.c:195:13:MX_UART4_Init 8 static
|
../Core/Src/main.c:235:13:MX_UART4_Init 8 static
|
||||||
../Core/Src/main.c:228:13:MX_GPIO_Init 40 static
|
../Core/Src/main.c:268:13:MX_GPIO_Init 48 static
|
||||||
../Core/Src/main.c:269:6:Error_Handler 4 static,ignoring_inline_asm
|
../Core/Src/main.c:315:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static
|
||||||
|
../Core/Src/main.c:332:6:Error_Handler 4 static,ignoring_inline_asm
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 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:86:6:HAL_CAN_MspInit 2
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:122:6:HAL_CAN_MspDeInit 2
|
../Core/Src/stm32f4xx_hal_msp.c:125:6:HAL_CAN_MspDeInit 2
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:151:6:HAL_UART_MspInit 2
|
../Core/Src/stm32f4xx_hal_msp.c:156:6:HAL_UART_MspInit 2
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:187:6:HAL_UART_MspDeInit 2
|
../Core/Src/stm32f4xx_hal_msp.c:192:6:HAL_UART_MspDeInit 2
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 16 static
|
../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:86:6:HAL_CAN_MspInit 48 static
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:122:6:HAL_CAN_MspDeInit 16 static
|
../Core/Src/stm32f4xx_hal_msp.c:125:6:HAL_CAN_MspDeInit 16 static
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:151:6:HAL_UART_MspInit 48 static
|
../Core/Src/stm32f4xx_hal_msp.c:156:6:HAL_UART_MspInit 48 static
|
||||||
../Core/Src/stm32f4xx_hal_msp.c:187:6:HAL_UART_MspDeInit 16 static
|
../Core/Src/stm32f4xx_hal_msp.c:192:6:HAL_UART_MspDeInit 16 static
|
||||||
|
@ -7,3 +7,4 @@
|
|||||||
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_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:170:6:PendSV_Handler 1
|
||||||
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 1
|
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 1
|
||||||
|
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 1
|
||||||
|
Binary file not shown.
@ -7,3 +7,4 @@
|
|||||||
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_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:170:6:PendSV_Handler 4 static
|
||||||
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 8 static
|
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 8 static
|
||||||
|
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 8 static
|
||||||
|
@ -31,7 +31,7 @@ OBJS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# 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
|
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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -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-Card_Module_Software/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/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 "$@"
|
||||||
|
|
||||||
clean: clean-Core-2f-Src
|
clean: clean-Core-2f-Src
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,74 +0,0 @@
|
|||||||
Core/Src/test.o: ../Core/Src/test.cpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/can.hpp \
|
|
||||||
../Core/Inc/sta/config.hpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/hal.hpp \
|
|
||||||
../Core/Inc/main.h ../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h \
|
|
||||||
../Core/Inc/stm32f4xx_hal_conf.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h \
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h \
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h \
|
|
||||||
../Drivers/CMSIS/Include/core_cm4.h \
|
|
||||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
|
||||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
|
||||||
../Drivers/CMSIS/Include/cmsis_gcc.h \
|
|
||||||
../Drivers/CMSIS/Include/mpu_armv7.h \
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h \
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.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 \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/controller.hpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/filter.hpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/headers.hpp \
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp \
|
|
||||||
../Core/Inc/test.hpp
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/can.hpp:
|
|
||||||
../Core/Inc/sta/config.hpp:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
|
||||||
../Core/Inc/main.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
|
||||||
../Core/Inc/stm32f4xx_hal_conf.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_def.h:
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h:
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/stm32f407xx.h:
|
|
||||||
../Drivers/CMSIS/Include/core_cm4.h:
|
|
||||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
|
||||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
|
||||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
|
||||||
../Drivers/CMSIS/Include/mpu_armv7.h:
|
|
||||||
../Drivers/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_rcc_ex.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_gpio_ex.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_exti.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_dma_ex.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_cortex.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_can.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash.h:
|
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ex.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:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/controller.hpp:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/filter.hpp:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/headers.hpp:
|
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
|
||||||
../Core/Inc/test.hpp:
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -4,7 +4,7 @@
|
|||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:775:6:HAL_RCC_MCOConfig 56 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:775:6:HAL_RCC_MCOConfig 56 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:841:6:HAL_RCC_EnableCSS 4 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:841:6:HAL_RCC_EnableCSS 4 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:850:6:HAL_RCC_DisableCSS 4 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:850:6:HAL_RCC_DisableCSS 4 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:885:17:HAL_RCC_GetSysClockFreq 96 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:885:17:HAL_RCC_GetSysClockFreq 112 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:941:10:HAL_RCC_GetHCLKFreq 4 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:941:10:HAL_RCC_GetHCLKFreq 4 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:952:10:HAL_RCC_GetPCLK1Freq 8 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:952:10:HAL_RCC_GetPCLK1Freq 8 static
|
||||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:964:10:HAL_RCC_GetPCLK2Freq 8 static
|
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c:964:10:HAL_RCC_GetPCLK2Freq 8 static
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -58,7 +58,7 @@ OBJS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Drivers/STM32F4xx_HAL_Driver/Src/%.o Drivers/STM32F4xx_HAL_Driver/Src/%.su Drivers/STM32F4xx_HAL_Driver/Src/%.cyclo: ../Drivers/STM32F4xx_HAL_Driver/Src/%.c Drivers/STM32F4xx_HAL_Driver/Src/subdir.mk
|
Drivers/STM32F4xx_HAL_Driver/Src/%.o Drivers/STM32F4xx_HAL_Driver/Src/%.su Drivers/STM32F4xx_HAL_Driver/Src/%.cyclo: ../Drivers/STM32F4xx_HAL_Driver/Src/%.c Drivers/STM32F4xx_HAL_Driver/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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -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-Card_Module_Software/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/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 "$@"
|
||||||
|
|
||||||
clean: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
|
clean: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Libs/sta-core/src/atomic/mutex.o: ../Libs/sta-core/src/atomic/mutex.cpp \
|
Libs/sta-core/src/atomic/mutex.o: ../Libs/sta-core/src/atomic/mutex.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/atomic/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/atomic/mutex.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/atomic/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/atomic/mutex.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
Libs/sta-core/src/atomic/signal.o: ../Libs/sta-core/src/atomic/signal.cpp \
|
Libs/sta-core/src/atomic/signal.o: ../Libs/sta-core/src/atomic/signal.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/atomic/signal.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/atomic/signal.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/atomic/signal.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/atomic/signal.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/atomic/%.o Libs/sta-core/src/atomic/%.su Libs/sta-core/src/atomic/%.cyclo: ../Libs/sta-core/src/atomic/%.cpp Libs/sta-core/src/atomic/subdir.mk
|
Libs/sta-core/src/atomic/%.o Libs/sta-core/src/atomic/%.su Libs/sta-core/src/atomic/%.cyclo: ../Libs/sta-core/src/atomic/%.cpp Libs/sta-core/src/atomic/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-atomic
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-atomic
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
Libs/sta-core/src/bus/device.o: ../Libs/sta-core/src/bus/device.cpp \
|
Libs/sta-core/src/bus/device.o: ../Libs/sta-core/src/bus/device.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,16 +1,16 @@
|
|||||||
Libs/sta-core/src/bus/i2c/device.o: \
|
Libs/sta-core/src/bus/i2c/device.o: \
|
||||||
../Libs/sta-core/src/bus/i2c/device.cpp \
|
../Libs/sta-core/src/bus/i2c/device.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/device.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/device.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/i2c.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/i2c.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/device.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/device.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/i2c.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/i2c.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
Libs/sta-core/src/bus/i2c/i2c.o: ../Libs/sta-core/src/bus/i2c/i2c.cpp \
|
Libs/sta-core/src/bus/i2c/i2c.o: ../Libs/sta-core/src/bus/i2c/i2c.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/i2c.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/i2c.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/i2c/i2c.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/i2c/i2c.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/bus/i2c/%.o Libs/sta-core/src/bus/i2c/%.su Libs/sta-core/src/bus/i2c/%.cyclo: ../Libs/sta-core/src/bus/i2c/%.cpp Libs/sta-core/src/bus/i2c/subdir.mk
|
Libs/sta-core/src/bus/i2c/%.o Libs/sta-core/src/bus/i2c/%.su Libs/sta-core/src/bus/i2c/%.cyclo: ../Libs/sta-core/src/bus/i2c/%.cpp Libs/sta-core/src/bus/i2c/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-i2c
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-i2c
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Libs/sta-core/src/bus/interface.o: ../Libs/sta-core/src/bus/interface.cpp \
|
Libs/sta-core/src/bus/interface.o: ../Libs/sta-core/src/bus/interface.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,20 +1,20 @@
|
|||||||
Libs/sta-core/src/bus/spi/device.o: \
|
Libs/sta-core/src/bus/spi/device.o: \
|
||||||
../Libs/sta-core/src/bus/spi/device.cpp \
|
../Libs/sta-core/src/bus/spi/device.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/device.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/device.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/spi.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/spi.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/gpio_pin.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/gpio_pin.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/device.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/device.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/device.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/device.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/spi.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/spi.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/gpio_pin.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/gpio_pin.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
Libs/sta-core/src/bus/spi/settings.o: \
|
Libs/sta-core/src/bus/spi/settings.o: \
|
||||||
../Libs/sta-core/src/bus/spi/settings.cpp \
|
../Libs/sta-core/src/bus/spi/settings.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp \
|
../Core/Inc/sta/config.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp:
|
||||||
|
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
Libs/sta-core/src/bus/spi/spi.o: ../Libs/sta-core/src/bus/spi/spi.cpp \
|
Libs/sta-core/src/bus/spi/spi.o: ../Libs/sta-core/src/bus/spi/spi.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/spi.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/spi.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/spi.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/spi.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
||||||
|
Binary file not shown.
@ -22,7 +22,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/bus/spi/%.o Libs/sta-core/src/bus/spi/%.su Libs/sta-core/src/bus/spi/%.cyclo: ../Libs/sta-core/src/bus/spi/%.cpp Libs/sta-core/src/bus/spi/subdir.mk
|
Libs/sta-core/src/bus/spi/%.o Libs/sta-core/src/bus/spi/%.su Libs/sta-core/src/bus/spi/%.cyclo: ../Libs/sta-core/src/bus/spi/%.cpp Libs/sta-core/src/bus/spi/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-spi
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-spi
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/bus/%.o Libs/sta-core/src/bus/%.su Libs/sta-core/src/bus/%.cyclo: ../Libs/sta-core/src/bus/%.cpp Libs/sta-core/src/bus/subdir.mk
|
Libs/sta-core/src/bus/%.o Libs/sta-core/src/bus/%.su Libs/sta-core/src/bus/%.cyclo: ../Libs/sta-core/src/bus/%.cpp Libs/sta-core/src/bus/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-bus
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-bus
|
||||||
|
|
||||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/bus/uart/%.o Libs/sta-core/src/bus/uart/%.su Libs/sta-core/src/bus/uart/%.cyclo: ../Libs/sta-core/src/bus/uart/%.cpp Libs/sta-core/src/bus/uart/subdir.mk
|
Libs/sta-core/src/bus/uart/%.o Libs/sta-core/src/bus/uart/%.su Libs/sta-core/src/bus/uart/%.cyclo: ../Libs/sta-core/src/bus/uart/%.cpp Libs/sta-core/src/bus/uart/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-uart
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-bus-2f-uart
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Libs/sta-core/src/bus/uart/uart.o: ../Libs/sta-core/src/bus/uart/uart.cpp \
|
Libs/sta-core/src/bus/uart/uart.o: ../Libs/sta-core/src/bus/uart/uart.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/uart.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/uart.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/settings.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/settings.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/uart.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/uart.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/settings.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/settings.hpp:
|
||||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
Libs/sta-core/src/can/id.o: ../Libs/sta-core/src/can/id.cpp \
|
Libs/sta-core/src/can/id.o: ../Libs/sta-core/src/can/id.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/id.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/id.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/id.hpp:
|
||||||
|
Binary file not shown.
@ -1,7 +1,7 @@
|
|||||||
Libs/sta-core/src/can/iter.o: ../Libs/sta-core/src/can/iter.cpp \
|
Libs/sta-core/src/can/iter.o: ../Libs/sta-core/src/can/iter.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/iter.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/can/%.o Libs/sta-core/src/can/%.su Libs/sta-core/src/can/%.cyclo: ../Libs/sta-core/src/can/%.cpp Libs/sta-core/src/can/subdir.mk
|
Libs/sta-core/src/can/%.o Libs/sta-core/src/can/%.su Libs/sta-core/src/can/%.cyclo: ../Libs/sta-core/src/can/%.cpp Libs/sta-core/src/can/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-can
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-can
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
Libs/sta-core/src/debug/assert.o: ../Libs/sta-core/src/debug/assert.cpp \
|
Libs/sta-core/src/debug/assert.o: ../Libs/sta-core/src/debug/assert.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp \
|
../Core/Inc/sta/config.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/debug.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/debug.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/debug.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/debug.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp:
|
||||||
|
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
Libs/sta-core/src/debug/printing/printable.o: \
|
Libs/sta-core/src/debug/printing/printable.o: \
|
||||||
../Libs/sta-core/src/debug/printing/printable.cpp \
|
../Libs/sta-core/src/debug/printing/printable.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp \
|
../Core/Inc/sta/config.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/lang.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/lang.hpp:
|
||||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 1
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 1
|
||||||
../Libs/sta-core/src/debug/printing/printable_printf.cpp:8:5:sta::PrintablePrintf::PrintablePrintf() 1
|
../Libs/sta-core/src/debug/printing/printable_printf.cpp:8:5:sta::PrintablePrintf::PrintablePrintf() 1
|
||||||
../Libs/sta-core/src/debug/printing/printable_printf.cpp:13:10:virtual void sta::PrintablePrintf::print(const char*, size_t) 3
|
../Libs/sta-core/src/debug/printing/printable_printf.cpp:13:10:virtual void sta::PrintablePrintf::print(const char*, size_t) 3
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
Libs/sta-core/src/debug/printing/printable_printf.o: \
|
Libs/sta-core/src/debug/printing/printable_printf.o: \
|
||||||
../Libs/sta-core/src/debug/printing/printable_printf.cpp \
|
../Libs/sta-core/src/debug/printing/printable_printf.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 16 static
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 16 static
|
||||||
../Libs/sta-core/src/debug/printing/printable_printf.cpp:8:5:sta::PrintablePrintf::PrintablePrintf() 16 static
|
../Libs/sta-core/src/debug/printing/printable_printf.cpp:8:5:sta::PrintablePrintf::PrintablePrintf() 16 static
|
||||||
../Libs/sta-core/src/debug/printing/printable_printf.cpp:13:10:virtual void sta::PrintablePrintf::print(const char*, size_t) 24 static
|
../Libs/sta-core/src/debug/printing/printable_printf.cpp:13:10:virtual void sta::PrintablePrintf::print(const char*, size_t) 24 static
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 1
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 1
|
||||||
../Libs/sta-core/src/debug/printing/printable_uart.cpp:13:5:sta::PrintableUART::PrintableUART(sta::UART*) 4
|
../Libs/sta-core/src/debug/printing/printable_uart.cpp:13:5:sta::PrintableUART::PrintableUART(sta::UART*) 4
|
||||||
../Libs/sta-core/src/debug/printing/printable_uart.cpp:20:10:virtual void sta::PrintableUART::print(const char*, size_t) 1
|
../Libs/sta-core/src/debug/printing/printable_uart.cpp:20:10:virtual void sta::PrintableUART::print(const char*, size_t) 1
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
Libs/sta-core/src/debug/printing/printable_uart.o: \
|
Libs/sta-core/src/debug/printing/printable_uart.o: \
|
||||||
../Libs/sta-core/src/debug/printing/printable_uart.cpp \
|
../Libs/sta-core/src/debug/printing/printable_uart.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable_uart.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable_uart.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/uart.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/uart.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/settings.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/settings.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||||
../Core/Inc/sta/config.hpp \
|
../Core/Inc/sta/config.hpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/printf.hpp
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/printf.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable_uart.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable_uart.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/uart.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/uart.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/interface.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/mutex.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/mutex.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/bus/uart/settings.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/bus/uart/settings.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/assert.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/printf.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/printf.hpp:
|
||||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 16 static
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/debug/printing/printable.hpp:26:11:constexpr sta::Printable::Printable() 16 static
|
||||||
../Libs/sta-core/src/debug/printing/printable_uart.cpp:13:5:sta::PrintableUART::PrintableUART(sta::UART*) 16 static
|
../Libs/sta-core/src/debug/printing/printable_uart.cpp:13:5:sta::PrintableUART::PrintableUART(sta::UART*) 16 static
|
||||||
../Libs/sta-core/src/debug/printing/printable_uart.cpp:20:10:virtual void sta::PrintableUART::print(const char*, size_t) 24 static
|
../Libs/sta-core/src/debug/printing/printable_uart.cpp:20:10:virtual void sta::PrintableUART::print(const char*, size_t) 24 static
|
||||||
|
@ -22,7 +22,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/debug/printing/%.o Libs/sta-core/src/debug/printing/%.su Libs/sta-core/src/debug/printing/%.cyclo: ../Libs/sta-core/src/debug/printing/%.cpp Libs/sta-core/src/debug/printing/subdir.mk
|
Libs/sta-core/src/debug/printing/%.o Libs/sta-core/src/debug/printing/%.su Libs/sta-core/src/debug/printing/%.cyclo: ../Libs/sta-core/src/debug/printing/%.cpp Libs/sta-core/src/debug/printing/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-debug-2f-printing
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-debug-2f-printing
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ CPP_DEPS += \
|
|||||||
|
|
||||||
# Each subdirectory must supply rules for building sources it contributes
|
# Each subdirectory must supply rules for building sources it contributes
|
||||||
Libs/sta-core/src/debug/%.o Libs/sta-core/src/debug/%.su Libs/sta-core/src/debug/%.cyclo: ../Libs/sta-core/src/debug/%.cpp Libs/sta-core/src/debug/subdir.mk
|
Libs/sta-core/src/debug/%.o Libs/sta-core/src/debug/%.su Libs/sta-core/src/debug/%.cyclo: ../Libs/sta-core/src/debug/%.cpp Libs/sta-core/src/debug/subdir.mk
|
||||||
arm-none-eabi-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include" -I"C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-g++ "$<" -mcpu=cortex-m4 -std=gnu++14 -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-Card_Module_Software/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/App/Inc" -O0 -ffunction-sections -fdata-sections -fno-exceptions -fno-rtti -fno-use-cxa-atexit -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-Libs-2f-sta-2d-core-2f-src-2f-debug
|
clean: clean-Libs-2f-sta-2d-core-2f-src-2f-debug
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Libs/sta-core/src/devices/arduino/bus/i2c.o: \
|
Libs/sta-core/src/devices/arduino/bus/i2c.o: \
|
||||||
../Libs/sta-core/src/devices/arduino/bus/i2c.cpp \
|
../Libs/sta-core/src/devices/arduino/bus/i2c.cpp \
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp \
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp \
|
||||||
../Core/Inc/sta/config.hpp
|
../Core/Inc/sta/config.hpp
|
||||||
C:/Users/carlw/Desktop/to-the-moon/workspace/can-tests/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp:
|
/Users/carlos/Documents/RWTH/space_team/CAN-Card_Module_Software/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp:
|
||||||
../Core/Inc/sta/config.hpp:
|
../Core/Inc/sta/config.hpp:
|
||||||
|
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user