summaryrefslogtreecommitdiff
path: root/hw/bsp
diff options
context:
space:
mode:
authorhathach <[email protected]>2024-03-22 17:54:08 +0700
committerhathach <[email protected]>2024-03-22 17:54:08 +0700
commitbaffadca914bada1663fbb444246ecad681365fb (patch)
tree830e21dd8988206f6c1005daf00f665b8e7e7a90 /hw/bsp
parente84c9f3e221092687808f175e1e19732a10fea72 (diff)
remove pca10095 suppport for max3421
also remove pico_bootsel_via_double_reset from rp2040
Diffstat (limited to 'hw/bsp')
-rw-r--r--hw/bsp/nrf/boards/pca10095/board.cmake3
-rw-r--r--hw/bsp/rp2040/family.cmake2
2 files changed, 1 insertions, 4 deletions
diff --git a/hw/bsp/nrf/boards/pca10095/board.cmake b/hw/bsp/nrf/boards/pca10095/board.cmake
index 0fbc1d31f..ca5399a3a 100644
--- a/hw/bsp/nrf/boards/pca10095/board.cmake
+++ b/hw/bsp/nrf/boards/pca10095/board.cmake
@@ -1,9 +1,6 @@
set(MCU_VARIANT nrf5340_application)
set(LD_FILE_GNU ${NRFX_DIR}/mdk/nrf5340_xxaa_application.ld)
-# enable max3421 host driver for this board
-set(MAX3421_HOST 1)
-
function(update_board TARGET)
target_sources(${TARGET} PRIVATE
${NRFX_DIR}/drivers/src/nrfx_usbreg.c
diff --git a/hw/bsp/rp2040/family.cmake b/hw/bsp/rp2040/family.cmake
index ec40806fd..861d20bdd 100644
--- a/hw/bsp/rp2040/family.cmake
+++ b/hw/bsp/rp2040/family.cmake
@@ -171,7 +171,7 @@ function(family_configure_target TARGET RTOS)
pico_add_extra_outputs(${TARGET})
pico_enable_stdio_uart(${TARGET} 1)
- target_link_libraries(${TARGET} PUBLIC pico_stdlib pico_bootsel_via_double_reset tinyusb_board${RTOS_SUFFIX} tinyusb_additions)
+ target_link_libraries(${TARGET} PUBLIC pico_stdlib tinyusb_board${RTOS_SUFFIX} tinyusb_additions)
family_flash_openocd(${TARGET} ${OPENOCD_OPTION})
family_flash_jlink(${TARGET})