Commit 74538a17 authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Carles Cufi
Browse files

modules: hal_gigadevice: make compile definitions global



GD32F4XX requires access to SoC definitions (e.g. GD32F450) when
including library header files, so expose them at Zephyr level.

Signed-off-by: default avatarGerard Marull-Paretas <gerard@teslabs.com>
parent aead2bc9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ set(gd32_std_src_dir ${gd32_std_dir}/Source)

zephyr_library_named(hal_gigadevice)

zephyr_library_compile_definitions(${gd32_soc_uc})
zephyr_compile_definitions(${gd32_soc_uc})

# Global includes to be used outside hal_gigadevice
zephyr_include_directories(${gd32_cmsis_dir}/Include)