aboutsummaryrefslogtreecommitdiffstats
path: root/src/rp2040
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2022-12-19 12:04:54 -0500
committerKevin O'Connor <kevin@koconnor.net>2022-12-30 21:28:32 -0500
commit34fd3f41ea1f819fb43b386334d01c13ffb4f781 (patch)
treee1e2e054011700040a58eb96c7a14f78f81c2fc3 /src/rp2040
parent806cf233ec238802ce75c1f0a35cf9dcba1644f0 (diff)
downloadkutter-34fd3f41ea1f819fb43b386334d01c13ffb4f781.tar.gz
kutter-34fd3f41ea1f819fb43b386334d01c13ffb4f781.tar.xz
kutter-34fd3f41ea1f819fb43b386334d01c13ffb4f781.zip
usb_cdc: Only call bootloader_request() if CONFIG_HAVE_BOOTLOADER_REQUEST
Check for the build symbol prior to calling bootloader_request(). Enable the build symbol on rp2040, atsam, and atsamd chips. This also enables serial bootloader requsts on rp2040, atsam, and atsamd. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/rp2040')
-rw-r--r--src/rp2040/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rp2040/Kconfig b/src/rp2040/Kconfig
index 904699f8..ba6f00f8 100644
--- a/src/rp2040/Kconfig
+++ b/src/rp2040/Kconfig
@@ -14,6 +14,7 @@ config RP2040_SELECT
select HAVE_CHIPID
select HAVE_GPIO_HARD_PWM
select HAVE_STEPPER_BOTH_EDGE
+ select HAVE_BOOTLOADER_REQUEST
config BOARD_DIRECTORY
string