Skip to content
Snippets Groups Projects
Commit 675eafd8 authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

examples: makefiles indentation cleanup

parent 56fa737d
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ USEMODULE += ps ...@@ -40,7 +40,7 @@ USEMODULE += ps
#TinyDTLs (crypto.c) made use of pthread #TinyDTLs (crypto.c) made use of pthread
ifneq ($(BOARD),native) ifneq ($(BOARD),native)
USEMODULE += pthread USEMODULE += pthread
endif endif
# Comment this out to disable code in RIOT that does safety checking # Comment this out to disable code in RIOT that does safety checking
......
...@@ -21,13 +21,13 @@ BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker# No full UART available ...@@ -21,13 +21,13 @@ BOARD_BLACKLIST += mips-malta pic32-wifire pic32-clicker# No full UART available
# use ethos (ethernet over serial) for network communication and stdio over # use ethos (ethernet over serial) for network communication and stdio over
# UART, but not on native, as native has a tap interface towards the host. # UART, but not on native, as native has a tap interface towards the host.
ifeq (,$(filter native,$(BOARD))) ifeq (,$(filter native,$(BOARD)))
GNRC_NETIF_NUMOF := 2 GNRC_NETIF_NUMOF := 2
USEMODULE += ethos gnrc_netdev USEMODULE += ethos gnrc_netdev
# ethos baudrate can be configured from make command # ethos baudrate can be configured from make command
ETHOS_BAUDRATE ?= 115200 ETHOS_BAUDRATE ?= 115200
CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO CFLAGS += '-DETHOS_UART=UART_DEV(0)' -DETHOS_BAUDRATE=$(ETHOS_BAUDRATE) -DUSE_ETHOS_FOR_STDIO
FEATURES_REQUIRED += periph_uart FEATURES_REQUIRED += periph_uart
endif endif
# SLIP legacy compatibility # SLIP legacy compatibility
......
...@@ -40,11 +40,11 @@ USEMODULE += shell_commands ...@@ -40,11 +40,11 @@ USEMODULE += shell_commands
LOW_MEMORY_BOARDS := nucleo-f334 LOW_MEMORY_BOARDS := nucleo-f334
ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS))) ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS)))
$(info Using low-memory configuration for microcoap_server.) $(info Using low-memory configuration for microcoap_server.)
## low-memory tuning values ## low-memory tuning values
# lower pktbuf buffer size # lower pktbuf buffer size
CFLAGS += -DGNRC_PKTBUF_SIZE=1000 CFLAGS += -DGNRC_PKTBUF_SIZE=1000
USEMODULE += prng_minstd USEMODULE += prng_minstd
endif endif
# Change this to 0 show compiler invocation lines by default: # Change this to 0 show compiler invocation lines by default:
......
...@@ -42,11 +42,11 @@ USEMODULE += shell_commands ...@@ -42,11 +42,11 @@ USEMODULE += shell_commands
LOW_MEMORY_BOARDS := nucleo-f334 LOW_MEMORY_BOARDS := nucleo-f334
ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS))) ifneq (,$(filter $(BOARD),$(LOW_MEMORY_BOARDS)))
$(info Using low-memory configuration for microcoap_server.) $(info Using low-memory configuration for microcoap_server.)
## low-memory tuning values ## low-memory tuning values
# lower pktbuf buffer size # lower pktbuf buffer size
CFLAGS += -DGNRC_PKTBUF_SIZE=1000 CFLAGS += -DGNRC_PKTBUF_SIZE=1000
USEMODULE += prng_minstd USEMODULE += prng_minstd
endif endif
# Change this to 0 show compiler invocation lines by default: # Change this to 0 show compiler invocation lines by default:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment