summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-04 18:36:18 +0700
committerhathach <[email protected]>2021-03-04 18:36:18 +0700
commit8cabbb28df17bfcb7c549a98aec4eef4e70bba12 (patch)
tree867506d57d2eea1892f7e27c834f9005bc635c7c /hw
parent4c31a29ff05a9f08afb6932eb3089bb154d59106 (diff)
fix enum walkaround forever check for SE0 when pull up is disabled
Diffstat (limited to 'hw')
-rw-r--r--hw/bsp/rp2040/family.c4
-rw-r--r--hw/bsp/rp2040/family.mk1
2 files changed, 3 insertions, 2 deletions
diff --git a/hw/bsp/rp2040/family.c b/hw/bsp/rp2040/family.c
index ec4088ea1..9995c23d7 100644
--- a/hw/bsp/rp2040/family.c
+++ b/hw/bsp/rp2040/family.c
@@ -80,8 +80,8 @@ bool __no_inline_not_in_flash_func(get_bootsel_button)() {
#if defined(LOGGER_RTT)
// Logging with RTT
-// If RTT Control Block is not found by 'Auto Detection`
-// try to use 'Search Range` with '0x20000000 0x10000'
+// - If RTT Control Block is not found by 'Auto Detection` try to use 'Search Range` with '0x20000000 0x10000'
+// - SWD speed is rather slow around 1000Khz
#include "pico/stdio/driver.h"
#include "SEGGER_RTT.h"
diff --git a/hw/bsp/rp2040/family.mk b/hw/bsp/rp2040/family.mk
index 9aacae37d..b0fb58ff7 100644
--- a/hw/bsp/rp2040/family.mk
+++ b/hw/bsp/rp2040/family.mk
@@ -1,3 +1,4 @@
FAMILY_SUBMODULES = hw/mcu/raspberrypi/pico-sdk
JLINK_DEVICE = rp2040_m0_0
+PYOCD_TARGET = rp2040