mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-16 18:13:49 +01:00
boards: move to stdio_default
This commit is contained in:
parent
171d5ff315
commit
233a62b792
@ -1,4 +1,4 @@
|
|||||||
ifeq (,$(filter-out stdio_cdc_acm,$(filter stdio_% slipdev_stdio,$(USEMODULE))))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
ifneq (,$(filter tinyusb_device,$(USEMODULE))$(filter tinyusb,$(USEPKG)))
|
ifneq (,$(filter tinyusb_device,$(USEMODULE))$(filter tinyusb,$(USEPKG)))
|
||||||
# Use stdio_tinyusb_cdc_acm only if no other stdio is requested explicitly
|
# Use stdio_tinyusb_cdc_acm only if no other stdio is requested explicitly
|
||||||
# and tinyusb_device is used for any other reason
|
# and tinyusb_device is used for any other reason
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
# Use stdio_tinyusb_cdc_acm only if no other stdio is requested explicitly.
|
# Use stdio_tinyusb_cdc_acm only if no other stdio is requested explicitly.
|
||||||
# and usbus is used for any other reason
|
# and usbus is used for any other reason
|
||||||
ifneq (,$(filter usbus,$(USEMODULE)))
|
ifneq (,$(filter usbus,$(USEMODULE)))
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
|
ifeq (,$(filter usbus usbus% tinyusb_device,$(USEMODULE)))
|
||||||
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
||||||
# and neither USBUS nor tinyusb_device are used
|
# and neither USBUS nor tinyusb_device are used
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
@ -8,6 +9,7 @@ ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
|||||||
# was previously used.
|
# was previously used.
|
||||||
USEMODULE += usb_board_reset
|
USEMODULE += usb_board_reset
|
||||||
# include $(RIOTMAKE)/tools/usb_board_reset.mk
|
# include $(RIOTMAKE)/tools/usb_board_reset.mk
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
ifneq (,$(filter disp_dev,$(USEMODULE)))
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
|
ifeq (,$(filter usbus usbus% tinyusb_device,$(USEMODULE)))
|
||||||
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
||||||
# and neither USBUS nor tinyusb_device are used
|
# and neither USBUS nor tinyusb_device are used
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
@ -8,6 +9,7 @@ ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
|||||||
# was previously used.
|
# was previously used.
|
||||||
USEMODULE += usb_board_reset
|
USEMODULE += usb_board_reset
|
||||||
include $(RIOTMAKE)/tools/usb_board_reset.mk
|
include $(RIOTMAKE)/tools/usb_board_reset.mk
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter saul_default,$(USEMODULE)))
|
ifneq (,$(filter saul_default,$(USEMODULE)))
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
|
ifeq (,$(filter usbus usbus% tinyusb_device,$(USEMODULE)))
|
||||||
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
||||||
# and neither USBUS nor tinyusb_device are used
|
# and neither USBUS nor tinyusb_device are used
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
@ -8,6 +9,7 @@ ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
|||||||
# was previously used.
|
# was previously used.
|
||||||
USEMODULE += usb_board_reset
|
USEMODULE += usb_board_reset
|
||||||
include $(RIOTMAKE)/tools/usb_board_reset.mk
|
include $(RIOTMAKE)/tools/usb_board_reset.mk
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32s3/Makefile.dep
|
include $(RIOTBOARD)/common/esp32s3/Makefile.dep
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
|
ifeq (,$(filter usbus usbus% tinyusb_device,$(USEMODULE)))
|
||||||
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
# Use stdio_usb_serial_jtag if no other stdio is requested explicitly
|
||||||
# and neither USBUS nor tinyusb_device are used
|
# and neither USBUS nor tinyusb_device are used
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
@ -8,6 +9,7 @@ ifeq (,$(filter stdio_% slipdev_stdio usbus usbus% tinyusb_device,$(USEMODULE)))
|
|||||||
# was previously used.
|
# was previously used.
|
||||||
USEMODULE += usb_board_reset
|
USEMODULE += usb_board_reset
|
||||||
# include $(RIOTMAKE)/tools/usb_board_reset.mk
|
# include $(RIOTMAKE)/tools/usb_board_reset.mk
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
include $(RIOTBOARD)/common/esp32s3/Makefile.dep
|
include $(RIOTBOARD)/common/esp32s3/Makefile.dep
|
||||||
|
|||||||
@ -14,6 +14,6 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Use Segger's RTT unless another stdio_% is already used
|
# Use Segger's RTT unless another stdio_% is already used
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
endif
|
endif
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_usb_serial_jtag
|
USEMODULE += stdio_usb_serial_jtag
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
# Use Segger's RTT unless another stdio_% is already used
|
# Use Segger's RTT unless another stdio_% is already used
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Use Segger's RTT unless another stdio_% is already used
|
# Use Segger's RTT unless another stdio_% is already used
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,7 @@ ifneq (,$(filter saul_default,$(USEMODULE)))
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# Use Segger's RTT unless another stdio_% is already used
|
# Use Segger's RTT unless another stdio_% is already used
|
||||||
ifeq (,$(filter stdio_% slipdev_stdio,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_rtt
|
USEMODULE += stdio_rtt
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (,$(filter stdio_%,$(USEMODULE)))
|
ifneq (,$(filter stdio_default,$(USEMODULE)))
|
||||||
USEMODULE += stdio_native
|
USEMODULE += stdio_native
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user