Skip to content

Commit

Permalink
Merge pull request #13794 from aabadie/pr/boards/samd21_bootloader_cl…
Browse files Browse the repository at this point in the history
…eanup

boards/samd21-bootloader*: small cleanup
  • Loading branch information
fjmolinas committed Apr 6, 2020
2 parents 34e3861 + 0f9e56d commit 2165327
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion boards/common/arduino-mkr/Makefile.dep
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions boards/common/samd21-arduino-bootloader/reset.c
Expand Up @@ -19,7 +19,7 @@
* @}
*/

#ifdef MODULE_BOARDS_COMMON_SAMD21_ARDUINO_BOOTLOADER
#ifdef MODULE_USB_BOARD_RESET

#define USB_H_USER_IS_RIOT_INTERNAL

Expand All @@ -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 */
2 changes: 1 addition & 1 deletion boards/common/sodaq/Makefile.dep
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion boards/feather-m0/Makefile.dep
Expand Up @@ -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

Expand Down

0 comments on commit 2165327

Please sign in to comment.