Trinity Devboard PCB V1.0 Firmware. FreeRTOS is setup and the MCU reads IMU data over SPI fand Magnetometer data over I2C, each with a seperate task. Sensordata is then run though MadgwickAHRS and send over USB as serial packet data to use in trinity visualizer. Bare minimum functionality works and is replicated from the first prototype.

This commit is contained in:
2026-09-13 19:51:03 +02:00
commit 7ee381de58
1630 changed files with 632404 additions and 0 deletions
@@ -0,0 +1,13 @@
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:193:15:pxPortInitialiseStack 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:225:13:prvTaskExitError 3
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:251:6:SVC_Handler 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:270:13:prvPortStartFirstTask 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:297:12:xPortStartScheduler 7
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:423:6:vPortEndScheduler 2
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:431:6:vPortEnterCritical 3
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:448:6:vPortExitCritical 3
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:460:6:PendSV_Handler 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:517:6:xPortSysTickHandler 2
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:762:32:vPortSetupTimerInterrupt 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:784:13:vPortEnableVFP 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:801:10:vPortValidateInterruptPriority 4
@@ -0,0 +1,20 @@
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.o: \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c \
../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/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:
@@ -0,0 +1,13 @@
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:193:15:pxPortInitialiseStack 24 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:225:13:prvTaskExitError 24 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:251:6:SVC_Handler 0 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:270:13:prvPortStartFirstTask 0 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:297:12:xPortStartScheduler 40 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:423:6:vPortEndScheduler 16 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:431:6:vPortEnterCritical 16 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:448:6:vPortExitCritical 16 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:460:6:PendSV_Handler 0 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:517:6:xPortSysTickHandler 16 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:762:32:vPortSetupTimerInterrupt 4 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:784:13:vPortEnableVFP 0 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c:801:10:vPortValidateInterruptPriority 24 static,ignoring_inline_asm
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (14.3.rel1)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/%.o Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/%.su Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/%.cyclo: ../Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32WB55xx -c -I../Core/Inc -I../USB_Device/App -I../USB_Device/Target -I../Drivers/STM32WBxx_HAL_Driver/Inc -I../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy -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../Drivers/CMSIS/RTOS2/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32WBxx/Include -I../Drivers/CMSIS/Include -I../STM32_WPAN/App -I../Utilities/lpm/tiny_lpm -I../Middlewares/ST/STM32_WPAN -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/shci -I../Middlewares/ST/STM32_WPAN/utilities -I../Middlewares/ST/STM32_WPAN/ble/core -I../Middlewares/ST/STM32_WPAN/ble/core/auto -I../Middlewares/ST/STM32_WPAN/ble/core/template -I../Middlewares/ST/STM32_WPAN/ble/svc/Inc -I../Middlewares/ST/STM32_WPAN/ble/svc/Src -I../Middlewares/ST/STM32_WPAN/ble -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-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM4F
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM4F:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.cyclo ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.d ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.o ./Middlewares/Third_Party/FreeRTOS/Source/portable/GCC/ARM_CM4F/port.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-GCC-2f-ARM_CM4F
@@ -0,0 +1,9 @@
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:138:8:pvPortMalloc 16
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:307:6:vPortFree 6
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:360:8:xPortGetFreeHeapSize 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:366:8:xPortGetMinimumEverFreeHeapSize 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:372:6:vPortInitialiseBlocks 1
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:378:8:pvPortCalloc 5
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:397:13:prvHeapInit 2
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:442:13:prvInsertBlockIntoFreeList 6
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:505:6:vPortGetHeapStats 5
@@ -0,0 +1,20 @@
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o: \
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c \
../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/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:
@@ -0,0 +1,9 @@
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:138:8:pvPortMalloc 48 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:307:6:vPortFree 32 static,ignoring_inline_asm
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:360:8:xPortGetFreeHeapSize 4 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:366:8:xPortGetMinimumEverFreeHeapSize 4 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:372:6:vPortInitialiseBlocks 4 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:378:8:pvPortCalloc 24 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:397:13:prvHeapInit 24 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:442:13:prvInsertBlockIntoFreeList 24 static
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c:505:6:vPortGetHeapStats 32 static
@@ -0,0 +1,27 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (14.3.rel1)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.c
OBJS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o
C_DEPS += \
./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d
# Each subdirectory must supply rules for building sources it contributes
Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.o Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.su Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.cyclo: ../Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/%.c Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m4 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32WB55xx -c -I../Core/Inc -I../USB_Device/App -I../USB_Device/Target -I../Drivers/STM32WBxx_HAL_Driver/Inc -I../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy -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../Drivers/CMSIS/RTOS2/Include -I../Middlewares/ST/STM32_USB_Device_Library/Core/Inc -I../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc -I../Drivers/CMSIS/Device/ST/STM32WBxx/Include -I../Drivers/CMSIS/Include -I../STM32_WPAN/App -I../Utilities/lpm/tiny_lpm -I../Middlewares/ST/STM32_WPAN -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/tl -I../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/shci -I../Middlewares/ST/STM32_WPAN/utilities -I../Middlewares/ST/STM32_WPAN/ble/core -I../Middlewares/ST/STM32_WPAN/ble/core/auto -I../Middlewares/ST/STM32_WPAN/ble/core/template -I../Middlewares/ST/STM32_WPAN/ble/svc/Inc -I../Middlewares/ST/STM32_WPAN/ble/svc/Src -I../Middlewares/ST/STM32_WPAN/ble -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-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang
clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang:
-$(RM) ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.cyclo ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.d ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.o ./Middlewares/Third_Party/FreeRTOS/Source/portable/MemMang/heap_4.su
.PHONY: clean-Middlewares-2f-Third_Party-2f-FreeRTOS-2f-Source-2f-portable-2f-MemMang