(works only without -flto)

This commit is contained in:
Edward Emelianov
2026-07-23 20:42:08 +03:00
parent 013a0b041c
commit 8252d370a2
23 changed files with 2173 additions and 0 deletions

11
G4:G431/USB_CDC/Makefile Normal file
View File

@@ -0,0 +1,11 @@
BINARY := usbcdc
PREFIX := /usr/bin/arm-none-eabi
CFLAGS = -std=c23
# MCU code
MCU := G431xx
# change this linking script depending on particular MCU model,
LDSCRIPT := stm32g431xb.ld
include ../makefile.g4
include ../../makefile.stm32