c++ works now

This commit is contained in:
2025-10-14 20:01:56 -05:00
parent d86bd19ed2
commit 39f0c3a2b8
5 changed files with 762 additions and 11 deletions

2
.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
.cache/
.ccls-cache/

View File

@@ -17,7 +17,9 @@
*/
/* USER CODE END Header */
/* Includes ------------------------------------------------------------------*/
extern "C" {
#include "main.h"
}
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
@@ -292,8 +294,7 @@ void Error_Handler(void)
void assert_failed(uint8_t *file, uint32_t line)
{
/* USER CODE BEGIN 6 */
/* User can add his own implementation to report the file name and line number,
ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
// ugh
/* USER CODE END 6 */
}
#endif /* USE_FULL_ASSERT */

View File

@@ -36,7 +36,6 @@ BUILD_DIR = build
######################################
# C sources
C_SOURCES = \
Core/Src/main.c \
Core/Src/stm32f4xx_it.c \
Core/Src/stm32f4xx_hal_msp.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c \
@@ -59,6 +58,8 @@ Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c \
Core/Src/system_stm32f4xx.c \
Core/Src/sysmem.c \
Core/Src/syscalls.c
CXX_SOURCES = Core/Src/main.cpp
# ASM sources
ASM_SOURCES = \
@@ -77,17 +78,19 @@ ASMMC_SOURCE =
PREFIX = arm-none-eabi-
# The gcc compiler bin path can be either defined in make command via GCC_PATH variable (> make GCC_PATH=xxx)
# either it can be added to the PATH environment variable.
ifdef GCC_PATH
#ifdef GCC_PATH
GCC_PATH = $(HOME)/.arm-gcc/bin
CC = $(GCC_PATH)/$(PREFIX)gcc
CXX = $(GCC_PATH)/$(PREFIX)g++
AS = $(GCC_PATH)/$(PREFIX)gcc -x assembler-with-cpp
CP = $(GCC_PATH)/$(PREFIX)objcopy
SZ = $(GCC_PATH)/$(PREFIX)size
else
CC = $(PREFIX)gcc
AS = $(PREFIX)gcc -x assembler-with-cpp
CP = $(PREFIX)objcopy
SZ = $(PREFIX)size
endif
#else
#CC = $(PREFIX)gcc
#AS = $(PREFIX)gcc -x assembler-with-cpp
#CP = $(PREFIX)objcopy
#SZ = $(PREFIX)size
#endif
HEX = $(CP) -O ihex
BIN = $(CP) -O binary -S
@@ -132,6 +135,8 @@ C_INCLUDES = \
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
CFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections
#CXXFLAGS += $(MCU) $(C_DEFS) $(C_INCLUDES) -Wall -fdata-sections -ffunction-sections
ifeq ($(DEBUG), 1)
CFLAGS += -g -gdwarf-2
@@ -142,6 +147,7 @@ endif
CFLAGS += -MMD -MP -MF"$(@:%.o=%.d)"
CXXFLAGS += $(CFLAGS)
#######################################
# LDFLAGS
#######################################
@@ -163,6 +169,8 @@ all: $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).hex $(BUILD_DIR)/$(TARGET
# list of objects
OBJECTS = $(addprefix $(BUILD_DIR)/,$(notdir $(C_SOURCES:.c=.o)))
vpath %.c $(sort $(dir $(C_SOURCES)))
OBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(CXX_SOURCES:.cpp=.o)))
vpath %.cpp $(sort $(dir $(CXX_SOURCES)))
# list of ASM program objects
OBJECTS += $(addprefix $(BUILD_DIR)/,$(notdir $(ASM_SOURCES:.s=.o)))
vpath %.s $(sort $(dir $(ASM_SOURCES)))
@@ -173,6 +181,9 @@ vpath %.S $(sort $(dir $(ASMMC_SOURCES)))
$(BUILD_DIR)/%.o: %.c Makefile | $(BUILD_DIR)
$(CC) -c $(CFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.c=.lst)) $< -o $@
$(BUILD_DIR)/%.o: %.cpp Makefile | $(BUILD_DIR)
$(CXX) -c $(CXXFLAGS) -Wa,-a,-ad,-alms=$(BUILD_DIR)/$(notdir $(<:.cpp=.lst)) $< -o $@
$(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
$(AS) -c $(CFLAGS) $< -o $@
@@ -203,4 +214,4 @@ clean:
#######################################
-include $(wildcard $(BUILD_DIR)/*.d)
# *** EOF ***
# *** EOF ***

723
compile_commands.json Normal file
View File

@@ -0,0 +1,723 @@
[
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_it.lst",
"-o",
"build/stm32f4xx_it.o",
"Core/Src/stm32f4xx_it.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/stm32f4xx_it.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_it.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_msp.lst",
"-o",
"build/stm32f4xx_hal_msp.o",
"Core/Src/stm32f4xx_hal_msp.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/stm32f4xx_hal_msp.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_msp.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_crc.lst",
"-o",
"build/stm32f4xx_hal_crc.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_crc.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_crc.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_rcc.lst",
"-o",
"build/stm32f4xx_hal_rcc.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_rcc.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_rcc_ex.lst",
"-o",
"build/stm32f4xx_hal_rcc_ex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_rcc_ex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_flash.lst",
"-o",
"build/stm32f4xx_hal_flash.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_flash.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_flash_ex.lst",
"-o",
"build/stm32f4xx_hal_flash_ex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_flash_ex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_flash_ramfunc.lst",
"-o",
"build/stm32f4xx_hal_flash_ramfunc.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ramfunc.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_flash_ramfunc.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_gpio.lst",
"-o",
"build/stm32f4xx_hal_gpio.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_gpio.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_dma_ex.lst",
"-o",
"build/stm32f4xx_hal_dma_ex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_dma_ex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_dma.lst",
"-o",
"build/stm32f4xx_hal_dma.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_dma.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_pwr.lst",
"-o",
"build/stm32f4xx_hal_pwr.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_pwr.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_pwr_ex.lst",
"-o",
"build/stm32f4xx_hal_pwr_ex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_pwr_ex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_cortex.lst",
"-o",
"build/stm32f4xx_hal_cortex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_cortex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal.lst",
"-o",
"build/stm32f4xx_hal.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_exti.lst",
"-o",
"build/stm32f4xx_hal_exti.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_exti.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_exti.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_dma2d.lst",
"-o",
"build/stm32f4xx_hal_dma2d.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma2d.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_dma2d.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_tim.lst",
"-o",
"build/stm32f4xx_hal_tim.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_tim.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/stm32f4xx_hal_tim_ex.lst",
"-o",
"build/stm32f4xx_hal_tim_ex.o",
"Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_tim_ex.c",
"output": "/home/ja/Documents/STM/TLight/build/stm32f4xx_hal_tim_ex.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/system_stm32f4xx.lst",
"-o",
"build/system_stm32f4xx.o",
"Core/Src/system_stm32f4xx.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/system_stm32f4xx.c",
"output": "/home/ja/Documents/STM/TLight/build/system_stm32f4xx.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/sysmem.lst",
"-o",
"build/sysmem.o",
"Core/Src/sysmem.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/sysmem.c",
"output": "/home/ja/Documents/STM/TLight/build/sysmem.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/syscalls.lst",
"-o",
"build/syscalls.o",
"Core/Src/syscalls.c"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/syscalls.c",
"output": "/home/ja/Documents/STM/TLight/build/syscalls.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-g++",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-Wa,-a,-ad,-alms=build/main.lst",
"-o",
"build/main.o",
"Core/Src/main.cpp"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/Core/Src/main.cpp",
"output": "/home/ja/Documents/STM/TLight/build/main.o"
},
{
"arguments": [
"/home/ja/.arm-gcc/bin/arm-none-eabi-gcc",
"-x",
"assembler-with-cpp",
"-c",
"-mcpu=cortex-m4",
"-mthumb",
"-mfpu=fpv4-sp-d16",
"-mfloat-abi=hard",
"-DUSE_HAL_DRIVER",
"-DSTM32F429xx",
"-ICore/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc",
"-IDrivers/STM32F4xx_HAL_Driver/Inc/Legacy",
"-IDrivers/CMSIS/Device/ST/STM32F4xx/Include",
"-IDrivers/CMSIS/Include",
"-Og",
"-Wall",
"-fdata-sections",
"-ffunction-sections",
"-g",
"-gdwarf-2",
"-o",
"build/startup_stm32f429xx.o",
"startup_stm32f429xx.s"
],
"directory": "/home/ja/Documents/STM/TLight",
"file": "/home/ja/Documents/STM/TLight/startup_stm32f429xx.s",
"output": "/home/ja/Documents/STM/TLight/build/startup_stm32f429xx.o"
}
]

14
main.plist Normal file
View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>clang_version</key>
<string>clang version 17.0.6</string>
<key>diagnostics</key>
<array>
</array>
<key>files</key>
<array>
</array>
</dict>
</plist>