mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/CAN-Demo.git
synced 2025-06-09 18:55:58 +00:00
Working CAN sending on TACOS via user space
This commit is contained in:
parent
98ecffac48
commit
af703eaea3
26
.cproject
26
.cproject
@ -23,7 +23,7 @@
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.120558157" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.24995356" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.1158949736" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.251996276" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407ZGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F407ZGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.251996276" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Debug || true || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407ZGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FreeRTOS/Source/include | ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 | ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Middlewares | Core || || || ${workspace_loc:/${ProjName}/STM32F407ZGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.176912155" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="16" valueType="string"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1003279050" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||
<builder buildPath="${workspace_loc:/can-tests}/Debug" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1347089105" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
||||
@ -50,6 +50,11 @@
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Demo/App/Inc}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Demo/Libs/sta-core/include}""/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F"/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Libs/rtos2-utils/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Tacos/include}""/>
|
||||
</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"/>
|
||||
</tool>
|
||||
@ -64,6 +69,12 @@
|
||||
<listOptionValue builtIn="false" value="../Drivers/CMSIS/Include"/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Demo/Libs/sta-core/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/CAN-Demo/App/Inc}""/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F"/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Tacos/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/Libs/rtos2-utils/include}""/>
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/App/Inc/sta}""/>
|
||||
</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">
|
||||
<listOptionValue builtIn="false" value="DEBUG"/>
|
||||
@ -99,9 +110,11 @@
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="App"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Libs"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Libs"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name="Tacos"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
@ -129,7 +142,7 @@
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.536104521" name="Floating-point unit" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.fpu.value.fpv4-sp-d16" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.1295716475" name="Floating-point ABI" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi" useByScannerDiscovery="true" value="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.floatabi.value.hard" valueType="enumerated"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board.560718309" name="Board" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.target_board" useByScannerDiscovery="false" value="genericBoard" valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.2072042682" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407ZGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Core || || || ${workspace_loc:/${ProjName}/STM32F407ZGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults.2072042682" name="Defaults" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.option.defaults" useByScannerDiscovery="false" value="com.st.stm32cube.ide.common.services.build.inputs.revA.1.0.6 || Release || false || Executable || com.st.stm32cube.ide.mcu.gnu.managedbuild.option.toolchain.value.workspace || STM32F407ZGTx || 0 || 0 || arm-none-eabi- || ${gnu_tools_for_stm32_compiler_path} || ../Drivers/CMSIS/Include | ../Core/Inc | ../Drivers/STM32F4xx_HAL_Driver/Inc | ../Drivers/CMSIS/Device/ST/STM32F4xx/Include | ../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy | ../Middlewares/Third_Party/FreeRTOS/Source/include | ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 | ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F || || || USE_HAL_DRIVER | STM32F407xx || || Drivers | Core/Startup | Middlewares | Core || || || ${workspace_loc:/${ProjName}/STM32F407ZGTX_FLASH.ld} || true || NonSecure || || secure_nsclib.o || || None || || || " valueType="string"/>
|
||||
<option id="com.st.stm32cube.ide.mcu.debug.option.cpuclock.255155897" name="Cpu clock frequence" superClass="com.st.stm32cube.ide.mcu.debug.option.cpuclock" useByScannerDiscovery="false" value="16" valueType="string"/>
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform.1350304210" isAbstract="false" osList="all" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.targetplatform"/>
|
||||
<builder buildPath="${workspace_loc:/can-tests}/Release" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder.1494703573" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.builder"/>
|
||||
@ -150,6 +163,9 @@
|
||||
<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/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F"/>
|
||||
</option>
|
||||
<inputType id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c.1300905399" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.compiler.input.c"/>
|
||||
</tool>
|
||||
@ -162,6 +178,9 @@
|
||||
<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/Include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/include"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2"/>
|
||||
<listOptionValue builtIn="false" value="../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F"/>
|
||||
</option>
|
||||
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.definedsymbols.353350306" 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="USE_HAL_DRIVER"/>
|
||||
@ -196,6 +215,7 @@
|
||||
</folderInfo>
|
||||
<sourceEntries>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Core"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Middlewares"/>
|
||||
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>
|
||||
</sourceEntries>
|
||||
</configuration>
|
||||
|
7
.gitmodules
vendored
7
.gitmodules
vendored
@ -2,6 +2,7 @@
|
||||
path = Libs/sta-core
|
||||
url = ssh://git@git.intern.spaceteamaachen.de:22222/ALPAKA/sta-core.git
|
||||
branch = can
|
||||
[submodule "Libs/driver-mcp2515"]
|
||||
path = Libs/driver-mcp2515
|
||||
url = ssh://git@git.intern.spaceteamaachen.de:22222/ALPAKA/driver-mcp2515.git
|
||||
[submodule "Libs/rtos2-utils"]
|
||||
path = Libs/rtos2-utils
|
||||
url = ssh://git@git.intern.spaceteamaachen.de:22222/ALPAKA/rtos2-utils.git
|
||||
branch = libs-rework
|
||||
|
30
.mxproject
30
.mxproject
File diff suppressed because one or more lines are too long
BIN
App/.DS_Store
vendored
Normal file
BIN
App/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
App/Inc/.DS_Store
vendored
Normal file
BIN
App/Inc/.DS_Store
vendored
Normal file
Binary file not shown.
41
App/Inc/sta/config.hpp
Normal file
41
App/Inc/sta/config.hpp
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Configuration file for STA-Core.
|
||||
*
|
||||
* Created on: Aug 30, 2023
|
||||
* Author: Dario
|
||||
*/
|
||||
|
||||
#ifndef INC_STA_CONFIG_HPP_
|
||||
#define INC_STA_CONFIG_HPP_
|
||||
|
||||
#include <sta/devices/stm32/mcu/common.hpp>
|
||||
|
||||
// Doesn't really do too much right now. Has to be added for successful compilation.
|
||||
#define STA_PRINTF_USE_STDLIB
|
||||
|
||||
#define STA_MCU_LITTLE_ENDIAN
|
||||
#define STA_PLATFORM_STM32
|
||||
|
||||
// Enable debug serial output and assertions.
|
||||
#define STA_ASSERT_FORCE
|
||||
#define STA_DEBUGGING_ENABLED
|
||||
|
||||
// Activate the timer for microsecond delays.
|
||||
// #define STA_STM32_DELAY_ENABLE
|
||||
// #define STA_STM32_DELAY_US_TIM htim1
|
||||
|
||||
// Settings for the rtos-utils
|
||||
#define STA_RTOS_SYSTEM_EVENTS_ENABLE
|
||||
// #define STA_RTOS_SYSTEM_WATCHDOG_ENABLE
|
||||
// #define STA_RTOS_WATCHDOG_ENABLE
|
||||
|
||||
|
||||
// Settings for TACOS
|
||||
#define STA_TACOS_MANAGER_PRIORITY osPriorityNormal
|
||||
#define STA_TACOS_STATEMACHINE_PRIORITY osPriorityNormal
|
||||
|
||||
// Statemachine settings. Here, we only have a single state which is also the initial state.
|
||||
#define STA_TACOS_NUM_STATES 3
|
||||
#define STA_TACOS_INITIAL_STATE 0
|
||||
|
||||
#endif /* INC_STA_CONFIG_HPP_ */
|
32
App/Inc/tasks/can_task.hpp
Normal file
32
App/Inc/tasks/can_task.hpp
Normal file
@ -0,0 +1,32 @@
|
||||
/*
|
||||
* can_task.hpp
|
||||
*
|
||||
* Created on: 10 Dec 2023
|
||||
* Author: Carl
|
||||
*/
|
||||
|
||||
#ifndef INC_TASKS_CANTASK_HPP_
|
||||
#define INC_TASKS_CANTASK_HPP_
|
||||
|
||||
#include <sta/tacos/thread.hpp>
|
||||
#include <sta/devices/stm32/can.hpp>
|
||||
|
||||
namespace demo
|
||||
{
|
||||
class CanTask : public sta::tacos::TacosThread {
|
||||
public:
|
||||
CanTask(const char* name, CAN_HandleTypeDef * handle);
|
||||
|
||||
void init() override;
|
||||
|
||||
void func() override;
|
||||
|
||||
private:
|
||||
|
||||
uint8_t payload[8];
|
||||
sta::STM32CanController canController;
|
||||
sta::CanTxHeader txHeader;
|
||||
};
|
||||
} // namespace demo
|
||||
|
||||
#endif /* INC_TASKS_CANTASK_HPP_ */
|
43
App/Src/startup.cpp
Normal file
43
App/Src/startup.cpp
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* printable.cpp
|
||||
*
|
||||
* Created on: Aug 30, 2023
|
||||
* Author: Dario
|
||||
*/
|
||||
|
||||
|
||||
#include <sta/tacos/startup.hpp>
|
||||
#include <sta/debug/debug.hpp>
|
||||
#include <tasks/can_task.hpp>
|
||||
#include <sta/tacos/manager.hpp>
|
||||
#include <sta/tacos/statemachine.hpp>
|
||||
#include <sta/devices/stm32/gpio_pin.hpp>
|
||||
#include <sta/rtos/debug/heap_stats.hpp>
|
||||
|
||||
#include <memory>
|
||||
|
||||
extern CAN_HandleTypeDef hcan1;
|
||||
|
||||
namespace sta
|
||||
{
|
||||
namespace tacos
|
||||
{
|
||||
void onStatemachineInit()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void onManagerInit()
|
||||
{
|
||||
// ###### Register different threads for different states here. ######
|
||||
|
||||
// The dummy task runs for state 0.
|
||||
Manager::instance()->registerThread(std::make_shared<demo::CanTask>("CAN SPAM", &hcan1), {0});
|
||||
|
||||
STA_DEBUG_PRINTF("The answer to everything is %d", 42);
|
||||
|
||||
STA_DEBUG_HEAP_STATS();
|
||||
}
|
||||
} // namespace tacos
|
||||
} // namespace sta
|
||||
|
42
App/Src/tasks/can_task.cpp
Normal file
42
App/Src/tasks/can_task.cpp
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* can_task.cpp
|
||||
*
|
||||
* Created on: 10 Dec 2023
|
||||
* Author: Carl
|
||||
*/
|
||||
|
||||
#include <tasks/can_task.hpp>
|
||||
#include <sta/debug/debug.hpp>
|
||||
|
||||
#include <cmsis_os2.h>
|
||||
|
||||
namespace demo
|
||||
{
|
||||
CanTask::CanTask(const char* name, CAN_HandleTypeDef * handle)
|
||||
: TacosThread(name, osPriorityNormal), canController(handle)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void CanTask::init()
|
||||
{
|
||||
|
||||
canController.start();
|
||||
|
||||
txHeader.id.format = sta::CanIdFormat::STD; // Set to EXT for extended ID
|
||||
txHeader.id.sid = 0x30; // Set the standard ID or extended ID
|
||||
txHeader.payloadLength = 8; // Set the payload length (max 8 bytes)
|
||||
|
||||
// Create your message payload
|
||||
for (int i = 0; i < 8; ++i) {
|
||||
payload[i] = i + 1;
|
||||
}
|
||||
}
|
||||
|
||||
void CanTask::func()
|
||||
{
|
||||
canController.sendFrame(txHeader, payload);
|
||||
HAL_Delay(1000);
|
||||
}
|
||||
} // namespace demo
|
||||
|
51
CAN-Demo.ioc
51
CAN-Demo.ioc
@ -11,15 +11,22 @@ CAN1.IPParameters=CalculateTimeQuantum,CalculateTimeBit,CalculateBaudRate,Presca
|
||||
CAN1.NART=ENABLE
|
||||
CAN1.Prescaler=8
|
||||
CAN1.SJW=CAN_SJW_1TQ
|
||||
FREERTOS.IPParameters=Tasks01,configRECORD_STACK_HIGH_ADDRESS,configTIMER_TASK_PRIORITY,configUSE_NEWLIB_REENTRANT
|
||||
FREERTOS.Tasks01=defaultTask,24,128,StartDefaultTask,Default,NULL,Dynamic,NULL,NULL
|
||||
FREERTOS.configRECORD_STACK_HIGH_ADDRESS=1
|
||||
FREERTOS.configTIMER_TASK_PRIORITY=55
|
||||
FREERTOS.configUSE_NEWLIB_REENTRANT=1
|
||||
File.Version=6
|
||||
KeepUserPlacement=false
|
||||
Mcu.CPN=STM32F407ZGT6
|
||||
Mcu.Family=STM32F4
|
||||
Mcu.IP0=CAN1
|
||||
Mcu.IP1=NVIC
|
||||
Mcu.IP2=RCC
|
||||
Mcu.IP3=UART4
|
||||
Mcu.IPNb=4
|
||||
Mcu.IP1=FREERTOS
|
||||
Mcu.IP2=NVIC
|
||||
Mcu.IP3=RCC
|
||||
Mcu.IP4=SYS
|
||||
Mcu.IP5=UART4
|
||||
Mcu.IPNb=6
|
||||
Mcu.Name=STM32F407Z(E-G)Tx
|
||||
Mcu.Package=LQFP144
|
||||
Mcu.Pin0=PH0-OSC_IN
|
||||
@ -31,6 +38,8 @@ Mcu.Pin13=PC10
|
||||
Mcu.Pin14=PC11
|
||||
Mcu.Pin15=PC12
|
||||
Mcu.Pin16=PB3
|
||||
Mcu.Pin17=VP_FREERTOS_VS_CMSIS_V2
|
||||
Mcu.Pin18=VP_SYS_VS_Systick
|
||||
Mcu.Pin2=PA0-WKUP
|
||||
Mcu.Pin3=PA1
|
||||
Mcu.Pin4=PB12
|
||||
@ -39,25 +48,28 @@ Mcu.Pin6=PD8
|
||||
Mcu.Pin7=PD9
|
||||
Mcu.Pin8=PA11
|
||||
Mcu.Pin9=PA12
|
||||
Mcu.PinsNb=17
|
||||
Mcu.PinsNb=19
|
||||
Mcu.ThirdPartyNb=0
|
||||
Mcu.UserConstants=
|
||||
Mcu.UserName=STM32F407ZGTx
|
||||
MxCube.Version=6.10.0
|
||||
MxDb.Version=DB.6.0.100
|
||||
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.CAN1_RX1_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
|
||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.CAN1_RX0_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.CAN1_RX1_IRQn=true\:5\:0\:false\:false\:true\:true\:true\:true\:true
|
||||
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.ForceEnableDMAVector=true
|
||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
NVIC.PendSV_IRQn=true\:15\:0\:false\:false\:false\:true\:false\:false\:false
|
||||
NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
|
||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false
|
||||
NVIC.SVCall_IRQn=true\:0\:0\:false\:false\:false\:false\:false\:false\:false
|
||||
NVIC.SavedPendsvIrqHandlerGenerated=true
|
||||
NVIC.SavedSvcallIrqHandlerGenerated=true
|
||||
NVIC.SavedSystickIrqHandlerGenerated=true
|
||||
NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:true\:false\:true\:false
|
||||
NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false\:false
|
||||
PA0-WKUP.Mode=Asynchronous
|
||||
PA0-WKUP.Signal=UART4_TX
|
||||
PA1.Mode=Asynchronous
|
||||
@ -106,7 +118,7 @@ ProjectManager.AskForMigrate=true
|
||||
ProjectManager.BackupPrevious=false
|
||||
ProjectManager.CompilerOptimize=6
|
||||
ProjectManager.ComputerToolchain=false
|
||||
ProjectManager.CoupleFile=false
|
||||
ProjectManager.CoupleFile=true
|
||||
ProjectManager.CustomerFirmwarePackage=
|
||||
ProjectManager.DefaultFWLocation=true
|
||||
ProjectManager.DeletePrevious=true
|
||||
@ -167,5 +179,10 @@ RCC.VCOOutputFreq_Value=128000000
|
||||
RCC.VcooutputI2S=192000000
|
||||
UART4.IPParameters=VirtualMode
|
||||
UART4.VirtualMode=Asynchronous
|
||||
VP_FREERTOS_VS_CMSIS_V2.Mode=CMSIS_V2
|
||||
VP_FREERTOS_VS_CMSIS_V2.Signal=FREERTOS_VS_CMSIS_V2
|
||||
VP_SYS_VS_Systick.Mode=SysTick
|
||||
VP_SYS_VS_Systick.Signal=SYS_VS_Systick
|
||||
board=custom
|
||||
rtos.0.ip=FREERTOS
|
||||
isbadioc=false
|
||||
|
175
Core/Inc/FreeRTOSConfig.h
Normal file
175
Core/Inc/FreeRTOSConfig.h
Normal file
@ -0,0 +1,175 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/*
|
||||
* FreeRTOS Kernel V10.3.1
|
||||
* Portion Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
* Portion Copyright (C) 2019 StMicroelectronics, Inc. All Rights Reserved.
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
* this software and associated documentation files (the "Software"), to deal in
|
||||
* the Software without restriction, including without limitation the rights to
|
||||
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
* subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in all
|
||||
* copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* http://www.FreeRTOS.org
|
||||
* http://aws.amazon.com/freertos
|
||||
*
|
||||
* 1 tab == 4 spaces!
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
#ifndef FREERTOS_CONFIG_H
|
||||
#define FREERTOS_CONFIG_H
|
||||
|
||||
/*-----------------------------------------------------------
|
||||
* Application specific definitions.
|
||||
*
|
||||
* These definitions should be adjusted for your particular hardware and
|
||||
* application requirements.
|
||||
*
|
||||
* These parameters and more are described within the 'configuration' section of the
|
||||
* FreeRTOS API documentation available on the FreeRTOS.org web site.
|
||||
*
|
||||
* See http://www.freertos.org/a00110.html
|
||||
*----------------------------------------------------------*/
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
/* Section where include file can be added */
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Ensure definitions are only used by the compiler, and not by the assembler. */
|
||||
#if defined(__ICCARM__) || defined(__CC_ARM) || defined(__GNUC__)
|
||||
#include <stdint.h>
|
||||
extern uint32_t SystemCoreClock;
|
||||
void xPortSysTickHandler(void);
|
||||
#endif
|
||||
#ifndef CMSIS_device_header
|
||||
#define CMSIS_device_header "stm32f4xx.h"
|
||||
#endif /* CMSIS_device_header */
|
||||
|
||||
#define configENABLE_FPU 0
|
||||
#define configENABLE_MPU 0
|
||||
|
||||
#define configUSE_PREEMPTION 1
|
||||
#define configSUPPORT_STATIC_ALLOCATION 1
|
||||
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configCPU_CLOCK_HZ ( SystemCoreClock )
|
||||
#define configTICK_RATE_HZ ((TickType_t)1000)
|
||||
#define configMAX_PRIORITIES ( 56 )
|
||||
#define configMINIMAL_STACK_SIZE ((uint16_t)128)
|
||||
#define configTOTAL_HEAP_SIZE ((size_t)15360)
|
||||
#define configMAX_TASK_NAME_LEN ( 16 )
|
||||
#define configUSE_TRACE_FACILITY 1
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
#define configUSE_MUTEXES 1
|
||||
#define configQUEUE_REGISTRY_SIZE 8
|
||||
#define configUSE_RECURSIVE_MUTEXES 1
|
||||
#define configUSE_COUNTING_SEMAPHORES 1
|
||||
#define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
|
||||
#define configRECORD_STACK_HIGH_ADDRESS 1
|
||||
/* USER CODE BEGIN MESSAGE_BUFFER_LENGTH_TYPE */
|
||||
/* Defaults to size_t for backward compatibility, but can be changed
|
||||
if lengths will always be less than the number of bytes in a size_t. */
|
||||
#define configMESSAGE_BUFFER_LENGTH_TYPE size_t
|
||||
/* USER CODE END MESSAGE_BUFFER_LENGTH_TYPE */
|
||||
|
||||
/* Co-routine definitions. */
|
||||
#define configUSE_CO_ROUTINES 0
|
||||
#define configMAX_CO_ROUTINE_PRIORITIES ( 2 )
|
||||
|
||||
/* Software timer definitions. */
|
||||
#define configUSE_TIMERS 1
|
||||
#define configTIMER_TASK_PRIORITY ( 55 )
|
||||
#define configTIMER_QUEUE_LENGTH 10
|
||||
#define configTIMER_TASK_STACK_DEPTH 256
|
||||
|
||||
/* The following flag must be enabled only when using newlib */
|
||||
#define configUSE_NEWLIB_REENTRANT 1
|
||||
|
||||
/* CMSIS-RTOS V2 flags */
|
||||
#define configUSE_OS2_THREAD_SUSPEND_RESUME 1
|
||||
#define configUSE_OS2_THREAD_ENUMERATE 1
|
||||
#define configUSE_OS2_EVENTFLAGS_FROM_ISR 1
|
||||
#define configUSE_OS2_THREAD_FLAGS 1
|
||||
#define configUSE_OS2_TIMER 1
|
||||
#define configUSE_OS2_MUTEX 1
|
||||
|
||||
/* Set the following definitions to 1 to include the API function, or zero
|
||||
to exclude the API function. */
|
||||
#define INCLUDE_vTaskPrioritySet 1
|
||||
#define INCLUDE_uxTaskPriorityGet 1
|
||||
#define INCLUDE_vTaskDelete 1
|
||||
#define INCLUDE_vTaskCleanUpResources 0
|
||||
#define INCLUDE_vTaskSuspend 1
|
||||
#define INCLUDE_vTaskDelayUntil 1
|
||||
#define INCLUDE_vTaskDelay 1
|
||||
#define INCLUDE_xTaskGetSchedulerState 1
|
||||
#define INCLUDE_xTimerPendFunctionCall 1
|
||||
#define INCLUDE_xQueueGetMutexHolder 1
|
||||
#define INCLUDE_uxTaskGetStackHighWaterMark 1
|
||||
#define INCLUDE_xTaskGetCurrentTaskHandle 1
|
||||
#define INCLUDE_eTaskGetState 1
|
||||
|
||||
/*
|
||||
* The CMSIS-RTOS V2 FreeRTOS wrapper is dependent on the heap implementation used
|
||||
* by the application thus the correct define need to be enabled below
|
||||
*/
|
||||
#define USE_FreeRTOS_HEAP_4
|
||||
|
||||
/* Cortex-M specific definitions. */
|
||||
#ifdef __NVIC_PRIO_BITS
|
||||
/* __BVIC_PRIO_BITS will be specified when CMSIS is being used. */
|
||||
#define configPRIO_BITS __NVIC_PRIO_BITS
|
||||
#else
|
||||
#define configPRIO_BITS 4
|
||||
#endif
|
||||
|
||||
/* The lowest interrupt priority that can be used in a call to a "set priority"
|
||||
function. */
|
||||
#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 15
|
||||
|
||||
/* The highest interrupt priority that can be used by any interrupt service
|
||||
routine that makes calls to interrupt safe FreeRTOS API functions. DO NOT CALL
|
||||
INTERRUPT SAFE FREERTOS API FUNCTIONS FROM ANY INTERRUPT THAT HAS A HIGHER
|
||||
PRIORITY THAN THIS! (higher priorities are lower numeric values. */
|
||||
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 5
|
||||
|
||||
/* Interrupt priorities used by the kernel port layer itself. These are generic
|
||||
to all Cortex-M ports, and do not rely on any particular library functions. */
|
||||
#define configKERNEL_INTERRUPT_PRIORITY ( configLIBRARY_LOWEST_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
|
||||
/* !!!! configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to zero !!!!
|
||||
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
||||
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
|
||||
|
||||
/* Normal assert() semantics without relying on the provision of an assert.h
|
||||
header file. */
|
||||
/* USER CODE BEGIN 1 */
|
||||
#define configASSERT( x ) if ((x) == 0) {taskDISABLE_INTERRUPTS(); for( ;; );}
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/* Definitions that map the FreeRTOS port interrupt handlers to their CMSIS
|
||||
standard names. */
|
||||
#define vPortSVCHandler SVC_Handler
|
||||
#define xPortPendSVHandler PendSV_Handler
|
||||
|
||||
/* IMPORTANT: After 10.3.1 update, Systick_Handler comes from NVIC (if SYS timebase = systick), otherwise from cmsis_os2.c */
|
||||
|
||||
#define USE_CUSTOM_SYSTICK_HANDLER_IMPLEMENTATION 1
|
||||
|
||||
/* USER CODE BEGIN Defines */
|
||||
/* Section where parameter definitions can be added (for instance, to override default ones in FreeRTOS.h) */
|
||||
/* USER CODE END Defines */
|
||||
|
||||
#endif /* FREERTOS_CONFIG_H */
|
52
Core/Inc/can.h
Normal file
52
Core/Inc/can.h
Normal file
@ -0,0 +1,52 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file can.h
|
||||
* @brief This file contains all the function prototypes for
|
||||
* the can.c file
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __CAN_H__
|
||||
#define __CAN_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
extern CAN_HandleTypeDef hcan1;
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_CAN1_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
|
||||
/* USER CODE END Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __CAN_H__ */
|
||||
|
49
Core/Inc/gpio.h
Normal file
49
Core/Inc/gpio.h
Normal file
@ -0,0 +1,49 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file gpio.h
|
||||
* @brief This file contains all the function prototypes for
|
||||
* the gpio.c file
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __GPIO_H__
|
||||
#define __GPIO_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_GPIO_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
|
||||
/* USER CODE END Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /*__ GPIO_H__ */
|
||||
|
@ -1,20 +0,0 @@
|
||||
/*
|
||||
* config.hpp
|
||||
*
|
||||
* Created on: Oct 24, 2023
|
||||
* Author: carlw
|
||||
*/
|
||||
|
||||
#ifndef INC_STA_CONFIG_HPP_
|
||||
#define INC_STA_CONFIG_HPP_
|
||||
|
||||
// Use the STM32F411 microprocessor.
|
||||
//#include <sta/devices/stm32/mcu/STM32F411xE.hpp>
|
||||
|
||||
#define HAL_CAN_MODULE_ENABLED
|
||||
#define STA_MCU_LITTLE_ENDIAN
|
||||
#define STA_PLATFORM_STM32
|
||||
|
||||
#define STA_PRINTF_USE_STDLIB
|
||||
|
||||
#endif /* INC_STA_CONFIG_HPP_ */
|
@ -51,9 +51,7 @@ void HardFault_Handler(void);
|
||||
void MemManage_Handler(void);
|
||||
void BusFault_Handler(void);
|
||||
void UsageFault_Handler(void);
|
||||
void SVC_Handler(void);
|
||||
void DebugMon_Handler(void);
|
||||
void PendSV_Handler(void);
|
||||
void SysTick_Handler(void);
|
||||
void CAN1_RX0_IRQHandler(void);
|
||||
void CAN1_RX1_IRQHandler(void);
|
||||
|
52
Core/Inc/usart.h
Normal file
52
Core/Inc/usart.h
Normal file
@ -0,0 +1,52 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file usart.h
|
||||
* @brief This file contains all the function prototypes for
|
||||
* the usart.c file
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Define to prevent recursive inclusion -------------------------------------*/
|
||||
#ifndef __USART_H__
|
||||
#define __USART_H__
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
extern UART_HandleTypeDef huart4;
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
void MX_UART4_Init(void);
|
||||
|
||||
/* USER CODE BEGIN Prototypes */
|
||||
|
||||
/* USER CODE END Prototypes */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* __USART_H__ */
|
||||
|
125
Core/Src/can.c
Normal file
125
Core/Src/can.c
Normal file
@ -0,0 +1,125 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file can.c
|
||||
* @brief This file provides code for the configuration
|
||||
* of the CAN instances.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "can.h"
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
CAN_HandleTypeDef hcan1;
|
||||
|
||||
/* CAN1 init function */
|
||||
void MX_CAN1_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN CAN1_Init 0 */
|
||||
|
||||
/* USER CODE END CAN1_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN CAN1_Init 1 */
|
||||
|
||||
/* USER CODE END CAN1_Init 1 */
|
||||
hcan1.Instance = CAN1;
|
||||
hcan1.Init.Prescaler = 8;
|
||||
hcan1.Init.Mode = CAN_MODE_NORMAL;
|
||||
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
||||
hcan1.Init.TimeSeg1 = CAN_BS1_2TQ;
|
||||
hcan1.Init.TimeSeg2 = CAN_BS2_7TQ;
|
||||
hcan1.Init.TimeTriggeredMode = DISABLE;
|
||||
hcan1.Init.AutoBusOff = DISABLE;
|
||||
hcan1.Init.AutoWakeUp = DISABLE;
|
||||
hcan1.Init.AutoRetransmission = ENABLE;
|
||||
hcan1.Init.ReceiveFifoLocked = DISABLE;
|
||||
hcan1.Init.TransmitFifoPriority = DISABLE;
|
||||
if (HAL_CAN_Init(&hcan1) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN CAN1_Init 2 */
|
||||
|
||||
/* USER CODE END CAN1_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
void HAL_CAN_MspInit(CAN_HandleTypeDef* canHandle)
|
||||
{
|
||||
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(canHandle->Instance==CAN1)
|
||||
{
|
||||
/* USER CODE BEGIN CAN1_MspInit 0 */
|
||||
|
||||
/* USER CODE END CAN1_MspInit 0 */
|
||||
/* CAN1 clock enable */
|
||||
__HAL_RCC_CAN1_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
/**CAN1 GPIO Configuration
|
||||
PA11 ------> CAN1_RX
|
||||
PA12 ------> CAN1_TX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* CAN1 interrupt Init */
|
||||
HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn);
|
||||
HAL_NVIC_SetPriority(CAN1_RX1_IRQn, 5, 0);
|
||||
HAL_NVIC_EnableIRQ(CAN1_RX1_IRQn);
|
||||
/* USER CODE BEGIN CAN1_MspInit 1 */
|
||||
|
||||
/* USER CODE END CAN1_MspInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_CAN_MspDeInit(CAN_HandleTypeDef* canHandle)
|
||||
{
|
||||
|
||||
if(canHandle->Instance==CAN1)
|
||||
{
|
||||
/* USER CODE BEGIN CAN1_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END CAN1_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_CAN1_CLK_DISABLE();
|
||||
|
||||
/**CAN1 GPIO Configuration
|
||||
PA11 ------> CAN1_RX
|
||||
PA12 ------> CAN1_TX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
|
||||
|
||||
/* CAN1 interrupt Deinit */
|
||||
HAL_NVIC_DisableIRQ(CAN1_RX0_IRQn);
|
||||
HAL_NVIC_DisableIRQ(CAN1_RX1_IRQn);
|
||||
/* USER CODE BEGIN CAN1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END CAN1_MspDeInit 1 */
|
||||
}
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
143
Core/Src/freertos.c
Normal file
143
Core/Src/freertos.c
Normal file
@ -0,0 +1,143 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* File Name : freertos.c
|
||||
* Description : Code for freertos applications
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "main.h"
|
||||
#include "cmsis_os.h"
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
|
||||
/* USER CODE END Includes */
|
||||
|
||||
/* Private typedef -----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PTD */
|
||||
typedef StaticSemaphore_t osStaticMutexDef_t;
|
||||
/* USER CODE END PTD */
|
||||
|
||||
/* Private define ------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PD */
|
||||
|
||||
/* USER CODE END PD */
|
||||
|
||||
/* Private macro -------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN PM */
|
||||
|
||||
/* USER CODE END PM */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Variables */
|
||||
|
||||
/* USER CODE END Variables */
|
||||
/* Definitions for defaultTask */
|
||||
osThreadId_t defaultTaskHandle;
|
||||
const osThreadAttr_t defaultTask_attributes = {
|
||||
.name = "defaultTask",
|
||||
.stack_size = 128 * 4,
|
||||
.priority = (osPriority_t) osPriorityNormal,
|
||||
};
|
||||
|
||||
|
||||
/* Definitions for uartMutex */
|
||||
osMutexId_t uartMutexHandle;
|
||||
osStaticMutexDef_t uartMutex_cb;
|
||||
const osMutexAttr_t uartMutex_attributes = {
|
||||
.name = "uartMutex",
|
||||
.cb_mem = &uartMutex_cb,
|
||||
.cb_size = sizeof(uartMutex_cb),
|
||||
};
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
/* USER CODE BEGIN FunctionPrototypes */
|
||||
|
||||
/* USER CODE END FunctionPrototypes */
|
||||
|
||||
void StartDefaultTask(void *argument);
|
||||
|
||||
void MX_FREERTOS_Init(void); /* (MISRA C 2004 rule 8.1) */
|
||||
|
||||
/**
|
||||
* @brief FreeRTOS initialization
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
void MX_FREERTOS_Init(void) {
|
||||
/* USER CODE BEGIN Init */
|
||||
uartMutexHandle = osMutexNew(&uartMutex_attributes);
|
||||
|
||||
/* USER CODE END Init */
|
||||
|
||||
/* USER CODE BEGIN RTOS_MUTEX */
|
||||
/* add mutexes, ... */
|
||||
/* USER CODE END RTOS_MUTEX */
|
||||
|
||||
/* USER CODE BEGIN RTOS_SEMAPHORES */
|
||||
/* add semaphores, ... */
|
||||
/* USER CODE END RTOS_SEMAPHORES */
|
||||
|
||||
/* USER CODE BEGIN RTOS_TIMERS */
|
||||
/* start timers, add new ones, ... */
|
||||
/* USER CODE END RTOS_TIMERS */
|
||||
|
||||
/* USER CODE BEGIN RTOS_QUEUES */
|
||||
/* add queues, ... */
|
||||
/* USER CODE END RTOS_QUEUES */
|
||||
|
||||
/* Create the thread(s) */
|
||||
/* creation of defaultTask */
|
||||
defaultTaskHandle = osThreadNew(StartDefaultTask, NULL, &defaultTask_attributes);
|
||||
|
||||
/* USER CODE BEGIN RTOS_THREADS */
|
||||
/* add threads, ... */
|
||||
/* USER CODE END RTOS_THREADS */
|
||||
|
||||
/* USER CODE BEGIN RTOS_EVENTS */
|
||||
/* add events, ... */
|
||||
/* USER CODE END RTOS_EVENTS */
|
||||
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN Header_StartDefaultTask */
|
||||
/**
|
||||
* @brief Function implementing the defaultTask thread.
|
||||
* @param argument: Not used
|
||||
* @retval None
|
||||
*/
|
||||
/* USER CODE END Header_StartDefaultTask */
|
||||
void StartDefaultTask(void *argument)
|
||||
{
|
||||
/* USER CODE BEGIN StartDefaultTask */
|
||||
/* Infinite loop */
|
||||
|
||||
extern void startALPAKA(void *);
|
||||
startALPAKA(argument);
|
||||
for(;;)
|
||||
{
|
||||
osDelay(1);
|
||||
}
|
||||
/* USER CODE END StartDefaultTask */
|
||||
}
|
||||
|
||||
/* Private application code --------------------------------------------------*/
|
||||
/* USER CODE BEGIN Application */
|
||||
|
||||
/* USER CODE END Application */
|
||||
|
89
Core/Src/gpio.c
Normal file
89
Core/Src/gpio.c
Normal file
@ -0,0 +1,89 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file gpio.c
|
||||
* @brief This file provides code for the configuration
|
||||
* of all used GPIO pins.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "gpio.h"
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* Configure GPIO */
|
||||
/*----------------------------------------------------------------------------*/
|
||||
/* USER CODE BEGIN 1 */
|
||||
|
||||
/* USER CODE END 1 */
|
||||
|
||||
/** Configure pins as
|
||||
* Analog
|
||||
* Input
|
||||
* Output
|
||||
* EVENT_OUT
|
||||
* EXTI
|
||||
PC10 ------> SPI3_SCK
|
||||
PC11 ------> SPI3_MISO
|
||||
PC12 ------> SPI3_MOSI
|
||||
*/
|
||||
void MX_GPIO_Init(void)
|
||||
{
|
||||
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12|GPIO_PIN_13, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_8|GPIO_PIN_9, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pins : PB12 PB13 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PD8 PD9 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PC10 PC11 PC12 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF6_SPI3;
|
||||
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
||||
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 2 */
|
||||
|
||||
/* USER CODE END 2 */
|
149
Core/Src/main.c
149
Core/Src/main.c
@ -18,6 +18,10 @@
|
||||
/* USER CODE END Header */
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
#include "cmsis_os.h"
|
||||
#include "can.h"
|
||||
#include "usart.h"
|
||||
#include "gpio.h"
|
||||
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
@ -50,9 +54,6 @@ uint8_t received = 0;
|
||||
/* USER CODE END PM */
|
||||
|
||||
/* Private variables ---------------------------------------------------------*/
|
||||
CAN_HandleTypeDef hcan1;
|
||||
|
||||
UART_HandleTypeDef huart4;
|
||||
|
||||
/* USER CODE BEGIN PV */
|
||||
|
||||
@ -60,9 +61,7 @@ UART_HandleTypeDef huart4;
|
||||
|
||||
/* Private function prototypes -----------------------------------------------*/
|
||||
void SystemClock_Config(void);
|
||||
static void MX_GPIO_Init(void);
|
||||
static void MX_UART4_Init(void);
|
||||
static void MX_CAN1_Init(void);
|
||||
void MX_FREERTOS_Init(void);
|
||||
/* USER CODE BEGIN PFP */
|
||||
|
||||
/* USER CODE END PFP */
|
||||
@ -134,16 +133,26 @@ int main(void)
|
||||
|
||||
/* USER CODE END 2 */
|
||||
|
||||
/* Init scheduler */
|
||||
osKernelInitialize();
|
||||
|
||||
/* Call init function for freertos objects (in freertos.c) */
|
||||
MX_FREERTOS_Init();
|
||||
|
||||
/* Start scheduler */
|
||||
osKernelStart();
|
||||
|
||||
/* We should never get here as control is now taken by the scheduler */
|
||||
/* Infinite loop */
|
||||
/* USER CODE BEGIN WHILE */
|
||||
while (1)
|
||||
{
|
||||
|
||||
/*
|
||||
if (received == 1){
|
||||
testCanMsg(&hcan1, canRX);
|
||||
received = 0;
|
||||
}
|
||||
HAL_Delay(1000);
|
||||
HAL_Delay(1000);*/
|
||||
/* USER CODE END WHILE */
|
||||
|
||||
/* USER CODE BEGIN 3 */
|
||||
@ -197,126 +206,6 @@ void SystemClock_Config(void)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN1 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_CAN1_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN CAN1_Init 0 */
|
||||
|
||||
/* USER CODE END CAN1_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN CAN1_Init 1 */
|
||||
|
||||
/* USER CODE END CAN1_Init 1 */
|
||||
hcan1.Instance = CAN1;
|
||||
hcan1.Init.Prescaler = 8;
|
||||
hcan1.Init.Mode = CAN_MODE_NORMAL;
|
||||
hcan1.Init.SyncJumpWidth = CAN_SJW_1TQ;
|
||||
hcan1.Init.TimeSeg1 = CAN_BS1_2TQ;
|
||||
hcan1.Init.TimeSeg2 = CAN_BS2_7TQ;
|
||||
hcan1.Init.TimeTriggeredMode = DISABLE;
|
||||
hcan1.Init.AutoBusOff = DISABLE;
|
||||
hcan1.Init.AutoWakeUp = DISABLE;
|
||||
hcan1.Init.AutoRetransmission = ENABLE;
|
||||
hcan1.Init.ReceiveFifoLocked = DISABLE;
|
||||
hcan1.Init.TransmitFifoPriority = DISABLE;
|
||||
if (HAL_CAN_Init(&hcan1) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN CAN1_Init 2 */
|
||||
|
||||
/* USER CODE END CAN1_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief UART4 Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_UART4_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN UART4_Init 0 */
|
||||
|
||||
/* USER CODE END UART4_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN UART4_Init 1 */
|
||||
|
||||
/* USER CODE END UART4_Init 1 */
|
||||
huart4.Instance = UART4;
|
||||
huart4.Init.BaudRate = 115200;
|
||||
huart4.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart4.Init.StopBits = UART_STOPBITS_1;
|
||||
huart4.Init.Parity = UART_PARITY_NONE;
|
||||
huart4.Init.Mode = UART_MODE_TX_RX;
|
||||
huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||
huart4.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
if (HAL_UART_Init(&huart4) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN UART4_Init 2 */
|
||||
|
||||
/* USER CODE END UART4_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief GPIO Initialization Function
|
||||
* @param None
|
||||
* @retval None
|
||||
*/
|
||||
static void MX_GPIO_Init(void)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
/* USER CODE BEGIN MX_GPIO_Init_1 */
|
||||
/* USER CODE END MX_GPIO_Init_1 */
|
||||
|
||||
/* GPIO Ports Clock Enable */
|
||||
__HAL_RCC_GPIOH_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOB_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOD_CLK_ENABLE();
|
||||
__HAL_RCC_GPIOC_CLK_ENABLE();
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOB, GPIO_PIN_12|GPIO_PIN_13, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pin Output Level */
|
||||
HAL_GPIO_WritePin(GPIOD, GPIO_PIN_8|GPIO_PIN_9, GPIO_PIN_RESET);
|
||||
|
||||
/*Configure GPIO pins : PB12 PB13 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_12|GPIO_PIN_13;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PD8 PD9 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
HAL_GPIO_Init(GPIOD, &GPIO_InitStruct);
|
||||
|
||||
/*Configure GPIO pins : PC10 PC11 PC12 */
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_10|GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF6_SPI3;
|
||||
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
|
||||
|
||||
/* USER CODE BEGIN MX_GPIO_Init_2 */
|
||||
/* USER CODE END MX_GPIO_Init_2 */
|
||||
}
|
||||
|
||||
/* USER CODE BEGIN 4 */
|
||||
|
||||
void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
|
||||
@ -327,7 +216,7 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
|
||||
|
||||
HAL_CAN_GetRxMessage(hcan1, CAN_RX_FIFO0, &rxHeader, canRX);
|
||||
|
||||
uint8_t type_id, sensor_ID, value, include;
|
||||
/*uint8_t type_id, sensor_ID, value, include;
|
||||
|
||||
unpackValues(canRX[0], &type_id, &sensor_ID, &value, &include);
|
||||
|
||||
@ -337,7 +226,7 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan1)
|
||||
}else{
|
||||
HAL_GPIO_WritePin(GPIOD,GPIO_PIN_8, GPIO_PIN_SET);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
}
|
||||
|
@ -71,150 +71,14 @@ void HAL_MspInit(void)
|
||||
__HAL_RCC_PWR_CLK_ENABLE();
|
||||
|
||||
/* System interrupt init*/
|
||||
/* PendSV_IRQn interrupt configuration */
|
||||
HAL_NVIC_SetPriority(PendSV_IRQn, 15, 0);
|
||||
|
||||
/* USER CODE BEGIN MspInit 1 */
|
||||
|
||||
/* USER CODE END MspInit 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
* @param hcan: CAN handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_CAN_MspInit(CAN_HandleTypeDef* hcan)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(hcan->Instance==CAN1)
|
||||
{
|
||||
/* USER CODE BEGIN CAN1_MspInit 0 */
|
||||
|
||||
/* USER CODE END CAN1_MspInit 0 */
|
||||
/* Peripheral clock enable */
|
||||
__HAL_RCC_CAN1_CLK_ENABLE();
|
||||
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
/**CAN1 GPIO Configuration
|
||||
PA11 ------> CAN1_RX
|
||||
PA12 ------> CAN1_TX
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_11|GPIO_PIN_12;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
|
||||
GPIO_InitStruct.Alternate = GPIO_AF9_CAN1;
|
||||
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
|
||||
|
||||
/* CAN1 interrupt Init */
|
||||
HAL_NVIC_SetPriority(CAN1_RX0_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(CAN1_RX0_IRQn);
|
||||
HAL_NVIC_SetPriority(CAN1_RX1_IRQn, 0, 0);
|
||||
HAL_NVIC_EnableIRQ(CAN1_RX1_IRQn);
|
||||
/* USER CODE BEGIN CAN1_MspInit 1 */
|
||||
|
||||
/* USER CODE END CAN1_MspInit 1 */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief CAN MSP De-Initialization
|
||||
* This function freeze the hardware resources used in this example
|
||||
* @param hcan: CAN handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_CAN_MspDeInit(CAN_HandleTypeDef* hcan)
|
||||
{
|
||||
if(hcan->Instance==CAN1)
|
||||
{
|
||||
/* USER CODE BEGIN CAN1_MspDeInit 0 */
|
||||
|
||||
/* USER CODE END CAN1_MspDeInit 0 */
|
||||
/* Peripheral clock disable */
|
||||
__HAL_RCC_CAN1_CLK_DISABLE();
|
||||
|
||||
/**CAN1 GPIO Configuration
|
||||
PA11 ------> CAN1_RX
|
||||
PA12 ------> CAN1_TX
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_11|GPIO_PIN_12);
|
||||
|
||||
/* CAN1 interrupt DeInit */
|
||||
HAL_NVIC_DisableIRQ(CAN1_RX0_IRQn);
|
||||
HAL_NVIC_DisableIRQ(CAN1_RX1_IRQn);
|
||||
/* USER CODE BEGIN CAN1_MspDeInit 1 */
|
||||
|
||||
/* USER CODE END CAN1_MspDeInit 1 */
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief UART MSP Initialization
|
||||
* This function configures the hardware resources used in this example
|
||||
* @param huart: UART handle pointer
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_UART_MspInit(UART_HandleTypeDef* huart)
|
||||
{
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(huart->Instance==UART4)
|
||||
{
|
||||
/* USER CODE BEGIN UART4_MspInit 0 */
|
||||
|
||||
/* USER CODE END UART4_MspInit 0 */
|
||||
/* Peripheral clock enable */
|
||||
__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 */
|
||||
|
@ -20,6 +20,8 @@
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "main.h"
|
||||
#include "stm32f4xx_it.h"
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
/* Private includes ----------------------------------------------------------*/
|
||||
/* USER CODE BEGIN Includes */
|
||||
/* USER CODE END Includes */
|
||||
@ -138,19 +140,6 @@ void UsageFault_Handler(void)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles System service call via SWI instruction.
|
||||
*/
|
||||
void SVC_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN SVCall_IRQn 0 */
|
||||
|
||||
/* USER CODE END SVCall_IRQn 0 */
|
||||
/* USER CODE BEGIN SVCall_IRQn 1 */
|
||||
|
||||
/* USER CODE END SVCall_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles Debug monitor.
|
||||
*/
|
||||
@ -164,19 +153,6 @@ void DebugMon_Handler(void)
|
||||
/* USER CODE END DebugMonitor_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles Pendable request for system service.
|
||||
*/
|
||||
void PendSV_Handler(void)
|
||||
{
|
||||
/* USER CODE BEGIN PendSV_IRQn 0 */
|
||||
|
||||
/* USER CODE END PendSV_IRQn 0 */
|
||||
/* USER CODE BEGIN PendSV_IRQn 1 */
|
||||
|
||||
/* USER CODE END PendSV_IRQn 1 */
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief This function handles System tick timer.
|
||||
*/
|
||||
@ -186,6 +162,14 @@ void SysTick_Handler(void)
|
||||
|
||||
/* USER CODE END SysTick_IRQn 0 */
|
||||
HAL_IncTick();
|
||||
#if (INCLUDE_xTaskGetSchedulerState == 1 )
|
||||
if (xTaskGetSchedulerState() != taskSCHEDULER_NOT_STARTED)
|
||||
{
|
||||
#endif /* INCLUDE_xTaskGetSchedulerState */
|
||||
xPortSysTickHandler();
|
||||
#if (INCLUDE_xTaskGetSchedulerState == 1 )
|
||||
}
|
||||
#endif /* INCLUDE_xTaskGetSchedulerState */
|
||||
/* USER CODE BEGIN SysTick_IRQn 1 */
|
||||
|
||||
/* USER CODE END SysTick_IRQn 1 */
|
||||
|
113
Core/Src/usart.c
Normal file
113
Core/Src/usart.c
Normal file
@ -0,0 +1,113 @@
|
||||
/* USER CODE BEGIN Header */
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file usart.c
|
||||
* @brief This file provides code for the configuration
|
||||
* of the USART instances.
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2023 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This software is licensed under terms that can be found in the LICENSE file
|
||||
* in the root directory of this software component.
|
||||
* If no LICENSE file comes with this software, it is provided AS-IS.
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
/* USER CODE END Header */
|
||||
/* Includes ------------------------------------------------------------------*/
|
||||
#include "usart.h"
|
||||
|
||||
/* USER CODE BEGIN 0 */
|
||||
|
||||
/* USER CODE END 0 */
|
||||
|
||||
UART_HandleTypeDef huart4;
|
||||
|
||||
/* UART4 init function */
|
||||
void MX_UART4_Init(void)
|
||||
{
|
||||
|
||||
/* USER CODE BEGIN UART4_Init 0 */
|
||||
|
||||
/* USER CODE END UART4_Init 0 */
|
||||
|
||||
/* USER CODE BEGIN UART4_Init 1 */
|
||||
|
||||
/* USER CODE END UART4_Init 1 */
|
||||
huart4.Instance = UART4;
|
||||
huart4.Init.BaudRate = 115200;
|
||||
huart4.Init.WordLength = UART_WORDLENGTH_8B;
|
||||
huart4.Init.StopBits = UART_STOPBITS_1;
|
||||
huart4.Init.Parity = UART_PARITY_NONE;
|
||||
huart4.Init.Mode = UART_MODE_TX_RX;
|
||||
huart4.Init.HwFlowCtl = UART_HWCONTROL_NONE;
|
||||
huart4.Init.OverSampling = UART_OVERSAMPLING_16;
|
||||
if (HAL_UART_Init(&huart4) != HAL_OK)
|
||||
{
|
||||
Error_Handler();
|
||||
}
|
||||
/* USER CODE BEGIN UART4_Init 2 */
|
||||
|
||||
/* USER CODE END UART4_Init 2 */
|
||||
|
||||
}
|
||||
|
||||
void HAL_UART_MspInit(UART_HandleTypeDef* uartHandle)
|
||||
{
|
||||
|
||||
GPIO_InitTypeDef GPIO_InitStruct = {0};
|
||||
if(uartHandle->Instance==UART4)
|
||||
{
|
||||
/* USER CODE BEGIN UART4_MspInit 0 */
|
||||
|
||||
/* USER CODE END UART4_MspInit 0 */
|
||||
/* UART4 clock enable */
|
||||
__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 */
|
||||
}
|
||||
}
|
||||
|
||||
void HAL_UART_MspDeInit(UART_HandleTypeDef* uartHandle)
|
||||
{
|
||||
|
||||
if(uartHandle->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 */
|
@ -5,23 +5,26 @@
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
CPP_SRCS += \
|
||||
../App/Src/startup.cpp \
|
||||
../App/Src/test.cpp
|
||||
|
||||
OBJS += \
|
||||
./App/Src/startup.o \
|
||||
./App/Src/test.o
|
||||
|
||||
CPP_DEPS += \
|
||||
./App/Src/startup.d \
|
||||
./App/Src/test.d
|
||||
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-App-2f-Src:
|
||||
-$(RM) ./App/Src/test.cyclo ./App/Src/test.d ./App/Src/test.o ./App/Src/test.su
|
||||
-$(RM) ./App/Src/startup.cyclo ./App/Src/startup.d ./App/Src/startup.o ./App/Src/startup.su ./App/Src/test.cyclo ./App/Src/test.d ./App/Src/test.o ./App/Src/test.su
|
||||
|
||||
.PHONY: clean-App-2f-Src
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
../App/Src/test.cpp:14:18:void testCan(CAN_HandleTypeDef*) 1
|
||||
../App/Src/test.cpp:37:18:void testCanMsg(CAN_HandleTypeDef*, uint8_t*) 1
|
||||
../App/Src/test.cpp:55:7:void unpackValues(uint8_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*) 1
|
||||
../App/Src/test.cpp:62:10:uint8_t packValues(uint8_t, uint8_t, uint8_t, uint8_t) 1
|
||||
../App/Src/test.cpp:55:18:void unpackValues(uint8_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*) 1
|
||||
../App/Src/test.cpp:62:21:uint8_t packValues(uint8_t, uint8_t, uint8_t, uint8_t) 1
|
||||
|
@ -1,6 +1,7 @@
|
||||
App/Src/test.o: ../App/Src/test.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/can.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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 \
|
||||
@ -35,7 +36,8 @@ App/Src/test.o: ../App/Src/test.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/can/headers.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/can/iter.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/can.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
../App/Src/test.cpp:14:18:void testCan(CAN_HandleTypeDef*) 608 static
|
||||
../App/Src/test.cpp:37:18:void testCanMsg(CAN_HandleTypeDef*, uint8_t*) 600 static
|
||||
../App/Src/test.cpp:55:7:void unpackValues(uint8_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*) 24 static
|
||||
../App/Src/test.cpp:62:10:uint8_t packValues(uint8_t, uint8_t, uint8_t, uint8_t) 24 static
|
||||
../App/Src/test.cpp:55:18:void unpackValues(uint8_t, uint8_t*, uint8_t*, uint8_t*, uint8_t*) 24 static
|
||||
../App/Src/test.cpp:62:21:uint8_t packValues(uint8_t, uint8_t, uint8_t, uint8_t) 24 static
|
||||
|
@ -1,7 +1,4 @@
|
||||
../Core/Src/main.c:79:5:main 3
|
||||
../Core/Src/main.c:159:6:SystemClock_Config 3
|
||||
../Core/Src/main.c:205:13:MX_CAN1_Init 2
|
||||
../Core/Src/main.c:242:13:MX_UART4_Init 2
|
||||
../Core/Src/main.c:275:13:MX_GPIO_Init 1
|
||||
../Core/Src/main.c:322:6:HAL_CAN_RxFifo0MsgPendingCallback 1
|
||||
../Core/Src/main.c:351:6:Error_Handler 1
|
||||
../Core/Src/main.c:78:5:main 2
|
||||
../Core/Src/main.c:168:6:SystemClock_Config 3
|
||||
../Core/Src/main.c:211:6:HAL_CAN_RxFifo0MsgPendingCallback 1
|
||||
../Core/Src/main.c:240:6:Error_Handler 1
|
||||
|
@ -25,7 +25,20 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_flash_ramfunc.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h \
|
||||
../Core/Inc/FreeRTOSConfig.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h \
|
||||
../Core/Inc/can.h ../Core/Inc/main.h ../Core/Inc/usart.h \
|
||||
../Core/Inc/gpio.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
../Core/Inc/stm32f4xx_hal_conf.h:
|
||||
@ -54,3 +67,18 @@ Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h:
|
||||
../Core/Inc/FreeRTOSConfig.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.h:
|
||||
../Core/Inc/can.h:
|
||||
../Core/Inc/main.h:
|
||||
../Core/Inc/usart.h:
|
||||
../Core/Inc/gpio.h:
|
||||
|
Binary file not shown.
@ -1,7 +1,4 @@
|
||||
../Core/Src/main.c:79:5:main 8 static
|
||||
../Core/Src/main.c:159:6:SystemClock_Config 88 static
|
||||
../Core/Src/main.c:205:13:MX_CAN1_Init 8 static
|
||||
../Core/Src/main.c:242:13:MX_UART4_Init 8 static
|
||||
../Core/Src/main.c:275:13:MX_GPIO_Init 48 static
|
||||
../Core/Src/main.c:322:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static
|
||||
../Core/Src/main.c:351:6:Error_Handler 8 static,ignoring_inline_asm
|
||||
../Core/Src/main.c:78:5:main 8 static
|
||||
../Core/Src/main.c:168:6:SystemClock_Config 88 static
|
||||
../Core/Src/main.c:211:6:HAL_CAN_RxFifo0MsgPendingCallback 16 static
|
||||
../Core/Src/main.c:240:6:Error_Handler 8 static,ignoring_inline_asm
|
||||
|
@ -1,5 +1 @@
|
||||
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 1
|
||||
../Core/Src/stm32f4xx_hal_msp.c:86:6:HAL_CAN_MspInit 2
|
||||
../Core/Src/stm32f4xx_hal_msp.c:127:6:HAL_CAN_MspDeInit 2
|
||||
../Core/Src/stm32f4xx_hal_msp.c:159:6:HAL_UART_MspInit 2
|
||||
../Core/Src/stm32f4xx_hal_msp.c:195:6:HAL_UART_MspDeInit 2
|
||||
|
Binary file not shown.
@ -1,5 +1 @@
|
||||
../Core/Src/stm32f4xx_hal_msp.c:64:6:HAL_MspInit 16 static
|
||||
../Core/Src/stm32f4xx_hal_msp.c:86:6:HAL_CAN_MspInit 48 static
|
||||
../Core/Src/stm32f4xx_hal_msp.c:127:6:HAL_CAN_MspDeInit 16 static
|
||||
../Core/Src/stm32f4xx_hal_msp.c:159:6:HAL_UART_MspInit 48 static
|
||||
../Core/Src/stm32f4xx_hal_msp.c:195:6:HAL_UART_MspDeInit 16 static
|
||||
|
@ -1,11 +1,9 @@
|
||||
../Core/Src/stm32f4xx_it.c:69:6:NMI_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:84:6:HardFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:99:6:MemManage_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:114:6:BusFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:129:6:UsageFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:144:6:SVC_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:170:6:PendSV_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 1
|
||||
../Core/Src/stm32f4xx_it.c:218:6:CAN1_RX1_IRQHandler 1
|
||||
../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 1
|
||||
../Core/Src/stm32f4xx_it.c:159:6:SysTick_Handler 2
|
||||
../Core/Src/stm32f4xx_it.c:188:6:CAN1_RX0_IRQHandler 1
|
||||
../Core/Src/stm32f4xx_it.c:202:6:CAN1_RX1_IRQHandler 1
|
||||
|
@ -26,7 +26,16 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
|
||||
../Core/Inc/stm32f4xx_it.h
|
||||
../Core/Inc/stm32f4xx_it.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h \
|
||||
../Core/Inc/FreeRTOSConfig.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h \
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
../Core/Inc/stm32f4xx_hal_conf.h:
|
||||
@ -56,3 +65,12 @@ Core/Src/stm32f4xx_it.o: ../Core/Src/stm32f4xx_it.c ../Core/Inc/main.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h:
|
||||
../Core/Inc/stm32f4xx_it.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/FreeRTOS.h:
|
||||
../Core/Inc/FreeRTOSConfig.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/projdefs.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/portable.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/deprecated_definitions.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/portmacro.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/mpu_wrappers.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/task.h:
|
||||
../Middlewares/Third_Party/FreeRTOS/Source/include/list.h:
|
||||
|
Binary file not shown.
@ -1,11 +1,9 @@
|
||||
../Core/Src/stm32f4xx_it.c:69:6:NMI_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:84:6:HardFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:99:6:MemManage_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:114:6:BusFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:129:6:UsageFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:144:6:SVC_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:157:6:DebugMon_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:170:6:PendSV_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:183:6:SysTick_Handler 8 static
|
||||
../Core/Src/stm32f4xx_it.c:204:6:CAN1_RX0_IRQHandler 8 static
|
||||
../Core/Src/stm32f4xx_it.c:218:6:CAN1_RX1_IRQHandler 8 static
|
||||
../Core/Src/stm32f4xx_it.c:71:6:NMI_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:86:6:HardFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:101:6:MemManage_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:116:6:BusFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:131:6:UsageFault_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:146:6:DebugMon_Handler 4 static
|
||||
../Core/Src/stm32f4xx_it.c:159:6:SysTick_Handler 8 static
|
||||
../Core/Src/stm32f4xx_it.c:188:6:CAN1_RX0_IRQHandler 8 static
|
||||
../Core/Src/stm32f4xx_it.c:202:6:CAN1_RX1_IRQHandler 8 static
|
||||
|
@ -5,38 +5,50 @@
|
||||
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../Core/Src/can.c \
|
||||
../Core/Src/freertos.c \
|
||||
../Core/Src/gpio.c \
|
||||
../Core/Src/main.c \
|
||||
../Core/Src/stm32f4xx_hal_msp.c \
|
||||
../Core/Src/stm32f4xx_it.c \
|
||||
../Core/Src/syscalls.c \
|
||||
../Core/Src/sysmem.c \
|
||||
../Core/Src/system_stm32f4xx.c
|
||||
../Core/Src/system_stm32f4xx.c \
|
||||
../Core/Src/usart.c
|
||||
|
||||
C_DEPS += \
|
||||
./Core/Src/can.d \
|
||||
./Core/Src/freertos.d \
|
||||
./Core/Src/gpio.d \
|
||||
./Core/Src/main.d \
|
||||
./Core/Src/stm32f4xx_hal_msp.d \
|
||||
./Core/Src/stm32f4xx_it.d \
|
||||
./Core/Src/syscalls.d \
|
||||
./Core/Src/sysmem.d \
|
||||
./Core/Src/system_stm32f4xx.d
|
||||
./Core/Src/system_stm32f4xx.d \
|
||||
./Core/Src/usart.d
|
||||
|
||||
OBJS += \
|
||||
./Core/Src/can.o \
|
||||
./Core/Src/freertos.o \
|
||||
./Core/Src/gpio.o \
|
||||
./Core/Src/main.o \
|
||||
./Core/Src/stm32f4xx_hal_msp.o \
|
||||
./Core/Src/stm32f4xx_it.o \
|
||||
./Core/Src/syscalls.o \
|
||||
./Core/Src/sysmem.o \
|
||||
./Core/Src/system_stm32f4xx.o
|
||||
./Core/Src/system_stm32f4xx.o \
|
||||
./Core/Src/usart.o
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
|
||||
|
||||
clean: clean-Core-2f-Src
|
||||
|
||||
clean-Core-2f-Src:
|
||||
-$(RM) ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su
|
||||
-$(RM) ./Core/Src/can.cyclo ./Core/Src/can.d ./Core/Src/can.o ./Core/Src/can.su ./Core/Src/freertos.cyclo ./Core/Src/freertos.d ./Core/Src/freertos.o ./Core/Src/freertos.su ./Core/Src/gpio.cyclo ./Core/Src/gpio.d ./Core/Src/gpio.o ./Core/Src/gpio.su ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32f4xx_hal_msp.cyclo ./Core/Src/stm32f4xx_hal_msp.d ./Core/Src/stm32f4xx_hal_msp.o ./Core/Src/stm32f4xx_hal_msp.su ./Core/Src/stm32f4xx_it.cyclo ./Core/Src/stm32f4xx_it.d ./Core/Src/stm32f4xx_it.o ./Core/Src/stm32f4xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32f4xx.cyclo ./Core/Src/system_stm32f4xx.d ./Core/Src/system_stm32f4xx.o ./Core/Src/system_stm32f4xx.su ./Core/Src/usart.cyclo ./Core/Src/usart.d ./Core/Src/usart.o ./Core/Src/usart.su
|
||||
|
||||
.PHONY: clean-Core-2f-Src
|
||||
|
||||
|
Binary file not shown.
@ -19,6 +19,8 @@ C_SRCS += \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.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_tim.c \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
|
||||
|
||||
C_DEPS += \
|
||||
@ -36,6 +38,8 @@ C_DEPS += \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d
|
||||
|
||||
OBJS += \
|
||||
@ -53,17 +57,19 @@ OBJS += \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o \
|
||||
./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o
|
||||
|
||||
|
||||
# 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
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
|
||||
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F407xx -c -I../Core/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc -I../Drivers/STM32F4xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F4xx/Include -I../Drivers/CMSIS/Include -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -o "$@"
|
||||
|
||||
clean: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
|
||||
|
||||
clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src:
|
||||
-$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.su
|
||||
-$(RM) ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_can.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.su ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.cyclo ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.d ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.o ./Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.su
|
||||
|
||||
.PHONY: clean-Drivers-2f-STM32F4xx_HAL_Driver-2f-Src
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
Libs/sta-core/src/atomic/mutex.o: ../Libs/sta-core/src/atomic/mutex.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/atomic/mutex.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/atomic/mutex.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
Libs/sta-core/src/atomic/signal.o: ../Libs/sta-core/src/atomic/signal.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/atomic/signal.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/atomic/signal.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -3,9 +3,11 @@ Libs/sta-core/src/bus/device.o: ../Libs/sta-core/src/bus/device.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/device.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -6,11 +6,13 @@ Libs/sta-core/src/bus/i2c/device.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/device.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/i2c/device.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/i2c/i2c.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/device.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -2,8 +2,10 @@ Libs/sta-core/src/bus/interface.o: ../Libs/sta-core/src/bus/interface.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/mutex.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -8,7 +8,8 @@ Libs/sta-core/src/bus/spi/device.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/gpio_pin.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/spi/device.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/device.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/interface.hpp:
|
||||
@ -17,4 +18,5 @@ Libs/sta-core/src/bus/spi/device.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/gpio_pin.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -2,9 +2,11 @@ Libs/sta-core/src/bus/spi/settings.o: \
|
||||
../Libs/sta-core/src/bus/spi/settings.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/spi/settings.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/spi/settings.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp:
|
||||
|
Binary file not shown.
@ -22,7 +22,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
Libs/sta-core/src/can/iter.o: ../Libs/sta-core/src/can/iter.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/can/iter.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/can/iter.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -1,9 +1,13 @@
|
||||
Libs/sta-core/src/debug/assert.o: ../Libs/sta-core/src/debug/assert.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/debug.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/debug.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp:
|
||||
|
Binary file not shown.
@ -2,9 +2,11 @@ Libs/sta-core/src/debug/printing/printable.o: \
|
||||
../Libs/sta-core/src/debug/printing/printable.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/lang.hpp:
|
||||
|
Binary file not shown.
@ -3,8 +3,10 @@ Libs/sta-core/src/debug/printing/printable_printf.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable_printf.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -7,7 +7,8 @@ Libs/sta-core/src/debug/printing/printable_uart.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/uart/settings.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/printf.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable_uart.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/uart/uart.hpp:
|
||||
@ -16,5 +17,6 @@ Libs/sta-core/src/debug/printing/printable_uart.o: \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/bus/uart/settings.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/printing/printable.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/printf.hpp:
|
||||
|
Binary file not shown.
@ -22,7 +22,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -16,7 +16,7 @@ CPP_DEPS += \
|
||||
|
||||
# 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
|
||||
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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/arduino/bus/i2c.o: \
|
||||
../Libs/sta-core/src/devices/arduino/bus/i2c.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/bus/i2c.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Libs/sta-core/src/devices/arduino/bus/%.o Libs/sta-core/src/devices/arduino/bus/%.su Libs/sta-core/src/devices/arduino/bus/%.cyclo: ../Libs/sta-core/src/devices/arduino/bus/%.cpp Libs/sta-core/src/devices/arduino/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"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-devices-2f-arduino-2f-bus
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/arduino/delay.o: \
|
||||
../Libs/sta-core/src/devices/arduino/delay.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/delay.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/delay.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/arduino/gpio_pin.o: \
|
||||
../Libs/sta-core/src/devices/arduino/gpio_pin.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/gpio_pin.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/arduino/gpio_pin.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Libs/sta-core/src/devices/arduino/%.o Libs/sta-core/src/devices/arduino/%.su Libs/sta-core/src/devices/arduino/%.cyclo: ../Libs/sta-core/src/devices/arduino/%.cpp Libs/sta-core/src/devices/arduino/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"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-devices-2f-arduino
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/raspi/bus/i2c.o: \
|
||||
../Libs/sta-core/src/devices/raspi/bus/i2c.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/bus/i2c.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/bus/i2c.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/raspi/bus/spi.o: \
|
||||
../Libs/sta-core/src/devices/raspi/bus/spi.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/bus/spi.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/bus/spi.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Libs/sta-core/src/devices/raspi/bus/%.o Libs/sta-core/src/devices/raspi/bus/%.su Libs/sta-core/src/devices/raspi/bus/%.cyclo: ../Libs/sta-core/src/devices/raspi/bus/%.cpp Libs/sta-core/src/devices/raspi/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"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-devices-2f-raspi-2f-bus
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/raspi/delay.o: \
|
||||
../Libs/sta-core/src/devices/raspi/delay.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/delay.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/delay.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
Libs/sta-core/src/devices/raspi/gpio_pin.o: \
|
||||
../Libs/sta-core/src/devices/raspi/gpio_pin.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/gpio_pin.hpp \
|
||||
../Core/Inc/sta/config.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/raspi/gpio_pin.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
|
Binary file not shown.
@ -19,7 +19,7 @@ CPP_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Libs/sta-core/src/devices/raspi/%.o Libs/sta-core/src/devices/raspi/%.su Libs/sta-core/src/devices/raspi/%.cyclo: ../Libs/sta-core/src/devices/raspi/%.cpp Libs/sta-core/src/devices/raspi/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"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-devices-2f-raspi
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
Libs/sta-core/src/devices/stm32/adc.o: \
|
||||
../Libs/sta-core/src/devices/stm32/adc.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/adc.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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 \
|
||||
@ -31,7 +32,8 @@ Libs/sta-core/src/devices/stm32/adc.o: \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/adc.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
|
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
Libs/sta-core/src/devices/stm32/bus/i2c.o: \
|
||||
../Libs/sta-core/src/devices/stm32/bus/i2c.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/bus/i2c.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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 \
|
||||
@ -32,7 +33,8 @@ Libs/sta-core/src/devices/stm32/bus/i2c.o: \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/debug/assert.hpp
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/bus/i2c.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
|
Binary file not shown.
@ -1,7 +1,8 @@
|
||||
Libs/sta-core/src/devices/stm32/bus/spi.o: \
|
||||
../Libs/sta-core/src/devices/stm32/bus/spi.cpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/bus/spi.hpp \
|
||||
../Core/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp \
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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 \
|
||||
@ -31,7 +32,8 @@ Libs/sta-core/src/devices/stm32/bus/spi.o: \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_pwr_ex.h \
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal_uart.h
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/bus/spi.hpp:
|
||||
../Core/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta/config.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/mcu/common.hpp:
|
||||
/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include/sta/devices/stm32/hal.hpp:
|
||||
../Core/Inc/main.h:
|
||||
../Drivers/STM32F4xx_HAL_Driver/Inc/stm32f4xx_hal.h:
|
||||
|
Binary file not shown.
@ -22,7 +22,7 @@ CPP_DEPS += \
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Libs/sta-core/src/devices/stm32/bus/%.o Libs/sta-core/src/devices/stm32/bus/%.su Libs/sta-core/src/devices/stm32/bus/%.cyclo: ../Libs/sta-core/src/devices/stm32/bus/%.cpp Libs/sta-core/src/devices/stm32/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"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/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-Demo/Libs/sta-core/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc" -I../Middlewares/Third_Party/FreeRTOS/Source/include -I../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2 -I../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Tacos/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/Libs/rtos2-utils/include" -I"/Users/carlos/Documents/RWTH/space_team/CAN-Demo/App/Inc/sta" -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-devices-2f-stm32-2f-bus
|
||||
|
||||
|
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