Files
sharang fbf3a7cf29
CI / Check (push) Skipped
CI / Detect Changes (push) Successful in 6s
CI / Deploy Dashboard (push) Skipped
CI / Deploy Docs (push) Skipped
CI / Deploy MCP (push) Skipped
CI / Deploy Agent (push) Successful in 6m55s
feat(sast): C/C++ SAST for microcontroller firmware (#334) (#339)
2026-09-23 13:07:50 +00:00

11 lines
450 B
Makefile

# Sensor node firmware: STM32F407, bare metal, GNU Arm toolchain.
TARGET = sensor-node
CC = arm-none-eabi-gcc
CFLAGS = -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -O2 -Wall \
-ICore/Inc -IDrivers/STM32F4xx_HAL_Driver/Inc -DSTM32F407xx
SRCS = Core/Src/main.c Core/Src/comms.c Core/Src/sensors.c \
Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
$(TARGET).elf: $(SRCS)
$(CC) $(CFLAGS) $(SRCS) -o $@