Skip to content

Commit 9375f89

Browse files
Rename files yet again to prepare to STM32L432
1 parent 3283a93 commit 9375f89

File tree

106 files changed

+9
-12
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+9
-12
lines changed

boards.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ dragonfly.bootloader.file=dragonfly.bin
2323

2424
dragonfly.build.mcu=cortex-m4
2525
dragonfly.build.f_cpu=80000000L
26-
dragonfly.build.board=STM32L4_DRAGONFLY
26+
dragonfly.build.board=STM32L476RE_DRAGONFLY
2727
dragonfly.build.arch=STM32L4
2828
dragonfly.build.core=stm32l4
2929
dragonfly.build.extra_flags=-DSTM32L476xx -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mabi=aapcs -mslow-flash-data -fsingle-precision-constant
30-
dragonfly.build.ldscript=linker_scripts/flash.ld
31-
dragonfly.build.variant=dragonfly
32-
dragonfly.build.variant_system_libs="-L{runtime.platform.path}/system/stm32l4" "-L{runtime.platform.path}/system/CMSIS/Lib" -lstm32l4 -larm_cortexM4lf_math
33-
dragonfly.build.variant_system_include="-I{runtime.platform.path}/system/CMSIS/Include" "-I{runtime.platform.path}/system/CMSIS/Device/ST/STM32L4xx/Include" "-I{runtime.platform.path}/system/stm32l4/USB/HAL/Inc" "-I{runtime.platform.path}/system/stm32l4/USB/Core/Inc" "-I{runtime.platform.path}/system/stm32l4/USB/Class/CDC/Inc" "-I{runtime.platform.path}/system/stm32l4/USB/Class/MSC/Inc" "-I{runtime.platform.path}/system/stm32l4/USB" "-I{runtime.platform.path}/system/stm32l4"
30+
dragonfly.build.ldscript=linker_scripts/STM32L476RE_FLASH.ld
31+
dragonfly.build.variant=STM32L476RE-Dragonfly
32+
dragonfly.build.variant_system_libs="-L{build.variant.path}" "-L{runtime.platform.path}/system/CMSIS/Lib" -lstm32l476 -larm_cortexM4lf_math
33+
dragonfly.build.variant_system_include="-I{runtime.platform.path}/system/CMSIS/Include" "-I{runtime.platform.path}/system/CMSIS/Device/ST/STM32L4xx/Include" "-I{runtime.platform.path}/system/libstm32l4/USB/HAL/Inc" "-I{runtime.platform.path}/system/libstm32l4/USB/Core/Inc" "-I{runtime.platform.path}/system/libstm32l4/USB/Class/CDC/Inc" "-I{runtime.platform.path}/system/libstm32l4/USB/Class/MSC/Inc" "-I{runtime.platform.path}/system/libstm32l4/USB" "-I{runtime.platform.path}/system/libstm32l4"
3434
dragonfly.build.vid=0x1209
3535
dragonfly.build.pid=0x6667
3636

system/stm32l4/Makefile renamed to system/libstm32l4/Makefile

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ASFLAGS = -c -g -x assembler-with-cpp $(EXTRAS) $(DEFINES) $(INCLUDES)
1111
WARNINGS = -Wall -Wextra -Wno-unused-parameter
1212
EXTRAS = -DSTM32L476xx -D__FPU_PRESENT=1 -march=armv7e-m -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mabi=aapcs -mslow-flash-data
1313
DEFINES =
14-
INCLUDES = -I../../system/CMSIS/Include -I../../system/CMSIS/Device/ST/STM32L4xx/Include -I../../system/stm32l4/USB/HAL/Inc -I../../system/stm32l4/USB/Core/Inc -I../../system/stm32l4/USB/Class/CDC/Inc -I../../system/stm32l4/USB/Class/MSC/Inc -I../../system/stm32l4/USB -I../../system/stm32l4/ -I.
14+
INCLUDES = -I../../system/CMSIS/Include -I../../system/CMSIS/Device/ST/STM32L4xx/Include -I../../system/libstm32l4/USB/HAL/Inc -I../../system/libstm32l4/USB/Core/Inc -I../../system/libstm32l4/USB/Class/CDC/Inc -I../../system/libstm32l4/USB/Class/MSC/Inc -I../../system/libstm32l4/USB -I../../system/libstm32l4/ -I.
1515

1616
SRCS = \
1717
./USB/Class/CDC/Src/usbd_cdc.c \
@@ -107,9 +107,9 @@ OBJS = \
107107
system_stm32l4xx.o \
108108
startup_stm32l476xx.o
109109

110-
all:: libstm32l4.a
110+
all:: libstm32l476.a
111111

112-
libstm32l4.a:: $(OBJS)
112+
libstm32l476.a:: $(OBJS)
113113
$(AR) rcs $@ $^
114114

115115
%.o: %.c
@@ -119,10 +119,7 @@ libstm32l4.a:: $(OBJS)
119119
$(CC) $(ASFLAGS) -c $< -o $@
120120

121121
clean::
122-
rm -f *~ $(OBJS) $(OBJS:.o=.d)
123-
124-
clobber::
125-
rm -f libstm32l4.a *~ $(OBJS) $(OBJS:.o=.d)
122+
rm -f libstm32l476.a *~ $(OBJS) $(OBJS:.o=.d)
126123

127124
-include $(OBJS:.o=.d)
128125

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)