mirror of
https://github.com/hathach/tinyusb.git
synced 2025-03-14 04:18:56 +00:00
Merge pull request #2743 from hathach/header_fix
rp2040: add clocks.h as set_sys_clock_khz is moving there from stdlib.h
This commit is contained in:
commit
4232642899
@ -31,6 +31,7 @@
|
||||
#include "hardware/gpio.h"
|
||||
#include "hardware/sync.h"
|
||||
#include "hardware/resets.h"
|
||||
#include "hardware/clocks.h"
|
||||
#include "hardware/structs/ioqspi.h"
|
||||
#include "hardware/structs/sio.h"
|
||||
|
||||
|
@ -133,7 +133,10 @@ target_sources(tinyusb_bsp INTERFACE
|
||||
target_include_directories(tinyusb_bsp INTERFACE
|
||||
${TOP}/hw
|
||||
)
|
||||
target_link_libraries(tinyusb_bsp INTERFACE pico_unique_id)
|
||||
target_link_libraries(tinyusb_bsp INTERFACE
|
||||
pico_unique_id
|
||||
hardware_clocks
|
||||
)
|
||||
|
||||
# tinyusb_additions will hold our extra settings for examples
|
||||
add_library(tinyusb_additions INTERFACE)
|
||||
|
Loading…
x
Reference in New Issue
Block a user