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>
This commit is contained in:
@@ -14,6 +14,7 @@ config ATSAMD_SELECT
|
||||
select HAVE_STRICT_TIMING
|
||||
select HAVE_CHIPID
|
||||
select HAVE_STEPPER_BOTH_EDGE
|
||||
select HAVE_BOOTLOADER_REQUEST
|
||||
|
||||
config HAVE_SERCOM
|
||||
depends on HAVE_GPIO_I2C || HAVE_GPIO_SPI
|
||||
|
||||
Reference in New Issue
Block a user