Skip to content

Commit c120d94

Browse files
Fix H745ZI_Q target name
1 parent 715625d commit c120d94

File tree

2 files changed

+14
-8
lines changed
  • targets
    • TARGET_STM/TARGET_STM32H7/TARGET_STM32H745xI/TARGET_NUCLEO_H745ZI_Q
    • TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG11/device

2 files changed

+14
-8
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H745xI/TARGET_NUCLEO_H745ZI_Q/CMakeLists.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,31 +16,31 @@ target_include_directories(mbed-nucleo-h745i
1616
target_link_libraries(mbed-nucleo-h745zi-q INTERFACE mbed-stm32h745xi-cm7)
1717

1818

19-
add_library(mbed-nucleo-h745i-cm7 INTERFACE)
19+
add_library(mbed-nucleo-h745zi-q-cm7 INTERFACE)
2020

21-
target_sources(mbed-nucleo-h745i-cm7
21+
target_sources(mbed-nucleo-h745zi-q-cm7
2222
INTERFACE
2323
PeripheralPins.c
2424
)
2525

26-
target_include_directories(mbed-nucleo-h745zi-cm7
26+
target_include_directories(mbed-nucleo-h745zi-q-cm7
2727
INTERFACE
2828
.
2929
)
3030

31-
target_link_libraries(mbed-nucleo-h745zi-cm7 INTERFACE mbed-stm32h745xi-cm7)
31+
target_link_libraries(mbed-nucleo-h745zi-q-cm7 INTERFACE mbed-stm32h745xi-cm7)
3232

3333

34-
add_library(mbed-nucleo-h745zi-cm4 INTERFACE)
34+
add_library(mbed-nucleo-h745zi-q-cm4 INTERFACE)
3535

36-
target_sources(mbed-nucleo-h745zi-cm4
36+
target_sources(mbed-nucleo-h745zi-q-cm4
3737
INTERFACE
3838
PeripheralPins.c
3939
)
4040

41-
target_include_directories(mbed-nucleo-h745i-cm4
41+
target_include_directories(mbed-nucleo-h745zi-q-cm4
4242
INTERFACE
4343
.
4444
)
4545

46-
target_link_libraries(mbed-nucleo-h745zi-cm4 INTERFACE mbed-stm32h745xi-cm4)
46+
target_link_libraries(mbed-nucleo-h745zi-q-cm4 INTERFACE mbed-stm32h745xi-cm4)

targets/TARGET_Silicon_Labs/TARGET_EFM32/TARGET_EFM32GG11/device/em_device.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
#ifndef EM_DEVICE_H
4242
#define EM_DEVICE_H
4343

44+
// MBED: The CMake scripts always define __FPU_PRESENT, but the MCU CMSIS headers below also define it.
45+
// So, undef it here to prevent multiple definition warning.
46+
#ifdef __FPU_PRESENT
47+
#undef __FPU_PRESENT
48+
#endif
49+
4450
#if defined(EFM32GG11B110F2048GM64)
4551
#include "efm32gg11b110f2048gm64.h"
4652

0 commit comments

Comments
 (0)