Skip to content

Commit dc69ee1

Browse files
committed
Define USE_FULL_LL_DRIVER at top level
More and more HAL relies on LL drivers. So enable the full LL usage to ease access. Signed-off-by: Frederic Pillon <[email protected]>
1 parent fb60cb3 commit dc69ee1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Diff for: boards.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ STM32MP1.build.mcu=cortex-m4
806806
STM32MP1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
807807
STM32MP1.build.series=STM32MP1xx
808808
STM32MP1.build.cmsis_lib_gcc=arm_cortexM4l_math
809-
STM32MP1.build.extra_flags=-DCORE_CM4 -DUSE_FULL_LL_DRIVER -D{build.product_line} {build.enable_virtio} {build.xSerial}
809+
STM32MP1.build.extra_flags=-DCORE_CM4 -D{build.product_line} {build.enable_virtio} {build.xSerial}
810810

811811
# STM32MP157A-DK1 board
812812
STM32MP1.menu.pnum.STM32MP157A_DK1=STM32MP157A-DK1
@@ -2400,7 +2400,7 @@ GenL5.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg
24002400
#GenMP1.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
24012401
#GenMP1.build.series=STM32MP1xx
24022402
#GenMP1.build.cmsis_lib_gcc=arm_cortexM4l_math
2403-
#GenMP1.build.extra_flags=-DCORE_CM4 -DUSE_FULL_LL_DRIVER -D{build.product_line} {build.enable_virtio} {build.xSerial}
2403+
#GenMP1.build.extra_flags=-DCORE_CM4 -D{build.product_line} {build.enable_virtio} {build.xSerial}
24042404
#
24052405
## Generic MP157AAC board
24062406
#GenMP1.menu.pnum.GENERIC_MP157AAC=Generic MP157AAC

Diff for: platform.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ compiler.objcopy.cmd=arm-none-eabi-objcopy
2828
compiler.elf2hex.cmd=arm-none-eabi-objcopy
2929
compiler.libraries.ldflags=
3030

31-
compiler.extra_flags=-mcpu={build.mcu} {build.flags.fp} -mthumb "@{build.opt.path}"
31+
compiler.extra_flags=-mcpu={build.mcu} {build.flags.fp} -DUSE_FULL_LL_DRIVER -mthumb "@{build.opt.path}"
3232

3333
compiler.S.flags={compiler.extra_flags} -c -x assembler-with-cpp {compiler.stm.extra_include}
3434

0 commit comments

Comments
 (0)