Skip to content

Commit

Permalink
boards: hal_rpi_pico hardware_xip_cache not included
Browse files Browse the repository at this point in the history
include hardware_xip_cache when CONFIG_PICOSDK_USE_FLASH is set

Signed-off-by: Dominik Prütting <[email protected]>
  • Loading branch information
DxPru authored and kartben committed Jan 31, 2025
1 parent e7ccf82 commit 4e7ed9d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules/hal_rpi_pico/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ if(CONFIG_HAS_RPI_PICO)
${rp2_common_dir}/hardware_uart/include)

zephyr_library_sources_ifdef(CONFIG_PICOSDK_USE_FLASH
${rp2_common_dir}/hardware_flash/flash.c)
${rp2_common_dir}/hardware_flash/flash.c
${rp2_common_dir}/hardware_xip_cache/xip_cache.c)
zephyr_include_directories_ifdef(CONFIG_PICOSDK_USE_FLASH
${rp2_common_dir}/hardware_flash/include)
${rp2_common_dir}/hardware_flash/include
${rp2_common_dir}/hardware_xip_cache/include)

zephyr_include_directories_ifdef(CONFIG_PICOSDK_USE_PWM
${rp2_common_dir}/hardware_pwm/include)
Expand Down

0 comments on commit 4e7ed9d

Please sign in to comment.