Skip to content

Commit

Permalink
Small kitchen-sink fixes (#1707)
Browse files Browse the repository at this point in the history
- tweak CMakeLists.txt and kitchen_sink.c to be in a more similar order
- add some "missing" headers to kitchen_sink.c
  • Loading branch information
lurch authored May 20, 2024
1 parent dcc2241 commit a6c65b4
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/kitchen_sink/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ target_link_libraries(kitchen_sink_libs INTERFACE
hardware_adc
hardware_clocks
hardware_divider
hardware_exception
hardware_dma
hardware_exception
hardware_flash
hardware_gpio
hardware_i2c
Expand All @@ -15,7 +15,6 @@ target_link_libraries(kitchen_sink_libs INTERFACE
hardware_pwm
hardware_resets
hardware_rtc
hardware_uart
hardware_spi
hardware_sync
hardware_timer
Expand Down
8 changes: 7 additions & 1 deletion test/kitchen_sink/kitchen_sink.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@
#include "pico/fix/rp2040_usb_device_enumeration.h"
#include "pico/flash.h"
#include "pico/float.h"
#include "pico/int64_ops.h"
#include "pico/i2c_slave.h"
#include "pico/int64_ops.h"
#include "pico/malloc.h"
#include "pico/mem_ops.h"
#include "pico/multicore.h"
#include "pico/platform.h"
#include "pico/printf.h"
#include "pico/rand.h"
#include "pico/runtime.h"
Expand All @@ -53,6 +55,9 @@
#include "pico/sync.h"
#include "pico/time.h"
#include "pico/unique_id.h"
#include "pico/util/datetime.h"
#include "pico/util/pheap.h"
#include "pico/util/queue.h"

#include "hardware/structs/adc.h"
#include "hardware/structs/bus_ctrl.h"
Expand All @@ -63,6 +68,7 @@
#include "hardware/structs/iobank0.h"
#include "hardware/structs/ioqspi.h"
#include "hardware/structs/mpu.h"
#include "hardware/structs/nvic.h"
#include "hardware/structs/padsbank0.h"
#include "hardware/structs/pads_qspi.h"
#include "hardware/structs/pio.h"
Expand Down
8 changes: 7 additions & 1 deletion tools/build_all_headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
IGNORE_DIRS = set(['host', 'boards'])
IGNORE_DIRS.add('common/boot_picoboot')
IGNORE_DIRS.add('common/boot_uf2')
IGNORE_DIRS.add('rp2_common/pico_mem_ops')
IGNORE_DIRS.add('common/pico_usb_reset_interface')
IGNORE_DIRS.add('rp2_common/cmsis')
IGNORE_DIRS.add('rp2_common/pico_async_context')
IGNORE_DIRS.add('rp2_common/pico_btstack')
IGNORE_DIRS.add('rp2_common/pico_cyw43_arch')
IGNORE_DIRS.add('rp2_common/pico_cyw43_driver')
IGNORE_DIRS.add('rp2_common/pico_lwip')
IGNORE_DIRS.add('rp2_common/pico_stdio_semihosting')
IGNORE_DIRS.add('rp2_common/pico_stdio_usb')

Expand Down

0 comments on commit a6c65b4

Please sign in to comment.