Skip to content

Commit

Permalink
Project layout refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
IDV7 committed May 23, 2024
1 parent e750db6 commit 0599312
Show file tree
Hide file tree
Showing 30 changed files with 2 additions and 3,646 deletions.
4 changes: 2 additions & 2 deletions software/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ else ()
add_compile_options(-Og -g)
endif ()

include_directories(Core/Inc Drivers/STM32F7xx_HAL_Driver/Inc Drivers/STM32F7xx_HAL_Driver/Inc/Legacy Drivers/CMSIS/Device/ST/STM32F7xx/Include Drivers/CMSIS/Include USB_DEVICE/App USB_DEVICE/Target Middlewares/ST/STM32_USB_Device_Library/Core/Inc Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc Middlewares/BMI270_SensorAPI-2.86.1)
include_directories(Core/Inc Drivers/STM32F7xx_HAL_Driver/Inc Drivers/STM32F7xx_HAL_Driver/Inc/Legacy Drivers/CMSIS/Device/ST/STM32F7xx/Include Drivers/CMSIS/Include USB_DEVICE/App USB_DEVICE/Target Middlewares/ST/STM32_USB_Device_Library/Core/Inc Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc Middlewares/BMI270_SensorAPI-2.86.1 MySrc MySrc/Common MySrc/Drivers MySrc/Flight)

add_definitions(-DDEBUG -DUSE_HAL_DRIVER -DSTM32F722xx)

file(GLOB_RECURSE SOURCES "Core/*.*" "Middlewares/*.*" "Drivers/*.*" "USB_DEVICE/*.*")
file(GLOB_RECURSE SOURCES "Core/*.*" "MySrc/*.*" "Middlewares/*.*" "Drivers/*.*" "USB_DEVICE/*.*")

set(LINKER_SCRIPT ${CMAKE_SOURCE_DIR}/STM32F722RETX_FLASH.ld)

Expand Down
448 changes: 0 additions & 448 deletions software/Core/Inc/BMI270_CONFIG.h

This file was deleted.

39 changes: 0 additions & 39 deletions software/Core/Inc/cli.h

This file was deleted.

12 changes: 0 additions & 12 deletions software/Core/Inc/cli_cmd_callbacks.h

This file was deleted.

111 changes: 0 additions & 111 deletions software/Core/Inc/crsf.h

This file was deleted.

88 changes: 0 additions & 88 deletions software/Core/Inc/dshot.h

This file was deleted.

33 changes: 0 additions & 33 deletions software/Core/Inc/gyro.h

This file was deleted.

44 changes: 0 additions & 44 deletions software/Core/Inc/imu.h

This file was deleted.

49 changes: 0 additions & 49 deletions software/Core/Inc/log.h

This file was deleted.

Loading

0 comments on commit 0599312

Please sign in to comment.