mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 14:33:52 +01:00
Merge pull request #13794 from aabadie/pr/boards/samd21_bootloader_cleanup
boards/samd21-bootloader*: small cleanup
This commit is contained in:
commit
2165327bbf
@ -4,7 +4,7 @@ endif
|
||||
|
||||
# use arduino-bootloader only if no other stdio_% other than stdio_cdc_acm
|
||||
# is requested
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_%,$(USEMODULE))))
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
||||
USEMODULE += boards_common_samd21-arduino-bootloader
|
||||
endif
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
* @}
|
||||
*/
|
||||
|
||||
#ifdef MODULE_BOARDS_COMMON_SAMD21_ARDUINO_BOOTLOADER
|
||||
#ifdef MODULE_USB_BOARD_RESET
|
||||
|
||||
#define USB_H_USER_IS_RIOT_INTERNAL
|
||||
|
||||
@ -45,4 +45,4 @@ void usb_board_reset_in_bootloader(void)
|
||||
}
|
||||
#else
|
||||
typedef int dont_be_pedantic;
|
||||
#endif /* MODULE_BOARDS_COMMON_SAMD21_ARDUINO_BOOTLOADER */
|
||||
#endif /* MODULE_USB_BOARD_RESET */
|
||||
|
||||
@ -4,7 +4,7 @@ endif
|
||||
|
||||
# use arduino-bootloader only if no other stdio_% other than stdio_cdc_acm
|
||||
# is requested
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_%,$(USEMODULE))))
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
||||
USEMODULE += boards_common_samd21-arduino-bootloader
|
||||
endif
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ endif
|
||||
|
||||
# use arduino-bootloader only if no other stdio_% other than stdio_cdc_acm
|
||||
# is requested
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_%,$(USEMODULE))))
|
||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
||||
USEMODULE += boards_common_samd21-arduino-bootloader
|
||||
endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user