pico-sdk icon indicating copy to clipboard operation
pico-sdk copied to clipboard

hardware_adc_headers must depend on hardware_gpio_headers

Open ooxi opened this issue 2 years ago • 3 comments

Since hardware/adc.h includes hardware/gpio.h, hardware_adc_headers must depend on hardware_gpio_headers

Fixes #975

ooxi avatar Aug 17 '22 17:08 ooxi

Also links tangentially to #882 ?

lurch avatar Aug 17 '22 18:08 lurch

@lurch tangentially yes, but hardware_adc doesn't directly depend on hardware_gpio either (from CMakeLists.txt):

pico_simple_hardware_target(adc)

# additional library
target_link_libraries(hardware_adc INTERFACE hardware_resets)

ooxi avatar Aug 17 '22 18:08 ooxi

all dependencies issues are moving to 1.5.0

kilograham avatar Sep 12 '22 18:09 kilograham

closed in favor of #1211

kilograham avatar Jan 30 '23 19:01 kilograham