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:
@@ -0,0 +1,6 @@
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:121:6:UTIL_LPM_Init 1
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:128:6:UTIL_LPM_DeInit 1
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:132:6:UTIL_LPM_SetStopMode 3
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:157:6:UTIL_LPM_SetOffMode 3
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:182:17:UTIL_LPM_GetMode 3
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:215:6:UTIL_LPM_EnterLowPower 3
|
||||
@@ -0,0 +1,127 @@
|
||||
Utilities/lpm/tiny_lpm/stm32_lpm.o: ../Utilities/lpm/tiny_lpm/stm32_lpm.c \
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.h ../Core/Inc/utilities_conf.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h ../Core/Inc/app_conf.h \
|
||||
../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/hw.h \
|
||||
../Core/Inc/hw_conf.h ../Core/Inc/FreeRTOSConfig.h ../Core/Inc/hw_if.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wbxx.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb55xx.h \
|
||||
../Drivers/CMSIS/Include/core_cm4.h \
|
||||
../Drivers/CMSIS/Include/cmsis_version.h \
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h \
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h \
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/system_stm32wbxx.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal.h \
|
||||
../Core/Inc/stm32wbxx_hal_conf.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_def.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dma.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dmamux.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_cortex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_exti.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_hsem.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_ipcc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_usb.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pwr.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_exti.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rcc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_bus.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_crs.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim_ex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_system.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_exti.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_system.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rcc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_ipcc.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_bus.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pwr.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_cortex.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_utils.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_hsem.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_gpio.h \
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rtc.h \
|
||||
../Middlewares/ST/STM32_WPAN/ble/core/ble_bufsize.h
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.h:
|
||||
../Core/Inc/utilities_conf.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/cmsis_gcc.h:
|
||||
../Core/Inc/app_conf.h:
|
||||
../Middlewares/ST/STM32_WPAN/interface/patterns/ble_thread/hw.h:
|
||||
../Core/Inc/hw_conf.h:
|
||||
../Core/Inc/FreeRTOSConfig.h:
|
||||
../Core/Inc/hw_if.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wbxx.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/stm32wb55xx.h:
|
||||
../Drivers/CMSIS/Include/core_cm4.h:
|
||||
../Drivers/CMSIS/Include/cmsis_version.h:
|
||||
../Drivers/CMSIS/Include/cmsis_compiler.h:
|
||||
../Drivers/CMSIS/Include/mpu_armv7.h:
|
||||
../Drivers/CMSIS/Device/ST/STM32WBxx/Include/system_stm32wbxx.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal.h:
|
||||
../Core/Inc/stm32wbxx_hal_conf.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_def.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dma.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_dmamux.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_dma_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_cortex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_exti.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_flash_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_gpio_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_hsem.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_i2c_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_ipcc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_usb.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pcd_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pwr.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_exti.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_pwr_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rcc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_bus.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rcc_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_crs.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_rtc_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_spi_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_hal_tim_ex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_system.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_exti.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_system.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rcc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_ipcc.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_bus.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_pwr.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_cortex.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_utils.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_hsem.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_gpio.h:
|
||||
../Drivers/STM32WBxx_HAL_Driver/Inc/stm32wbxx_ll_rtc.h:
|
||||
../Middlewares/ST/STM32_WPAN/ble/core/ble_bufsize.h:
|
||||
Binary file not shown.
@@ -0,0 +1,6 @@
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:121:6:UTIL_LPM_Init 4 static
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:128:6:UTIL_LPM_DeInit 4 static
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:132:6:UTIL_LPM_SetStopMode 32 static,ignoring_inline_asm
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:157:6:UTIL_LPM_SetOffMode 32 static,ignoring_inline_asm
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:182:17:UTIL_LPM_GetMode 24 static,ignoring_inline_asm
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c:215:6:UTIL_LPM_EnterLowPower 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 += \
|
||||
../Utilities/lpm/tiny_lpm/stm32_lpm.c
|
||||
|
||||
OBJS += \
|
||||
./Utilities/lpm/tiny_lpm/stm32_lpm.o
|
||||
|
||||
C_DEPS += \
|
||||
./Utilities/lpm/tiny_lpm/stm32_lpm.d
|
||||
|
||||
|
||||
# Each subdirectory must supply rules for building sources it contributes
|
||||
Utilities/lpm/tiny_lpm/%.o Utilities/lpm/tiny_lpm/%.su Utilities/lpm/tiny_lpm/%.cyclo: ../Utilities/lpm/tiny_lpm/%.c Utilities/lpm/tiny_lpm/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-Utilities-2f-lpm-2f-tiny_lpm
|
||||
|
||||
clean-Utilities-2f-lpm-2f-tiny_lpm:
|
||||
-$(RM) ./Utilities/lpm/tiny_lpm/stm32_lpm.cyclo ./Utilities/lpm/tiny_lpm/stm32_lpm.d ./Utilities/lpm/tiny_lpm/stm32_lpm.o ./Utilities/lpm/tiny_lpm/stm32_lpm.su
|
||||
|
||||
.PHONY: clean-Utilities-2f-lpm-2f-tiny_lpm
|
||||
|
||||
Reference in New Issue
Block a user