Skip to content

Commit

Permalink
examples: adjust makefiles to new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnsAnns committed Jan 14, 2025
1 parent f87cb58 commit f52330e
Show file tree
Hide file tree
Showing 65 changed files with 65 additions and 65 deletions.
2 changes: 1 addition & 1 deletion examples/advanced_examples/bindist/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = bindist
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/opendsme/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BOARD ?= nrf52840dk
FEATURES_REQUIRED += cpu_nrf52

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Uncomment these lines if you want to use platform support from external
# repositories:
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/pio_blink/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
APPLICATION = pio_blink
BOARD ?= rpi-pico
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..
# The board rpi-pico-w has no LED pin so you have to select the pin by hand with:
# PIO_BLINK_PIN=GPIO_PIN\(x,y\) make ...
PIO_BLINK_PIN ?= GPIO_UNDEF
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/posix_select/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = posix_sockets_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/psa_crypto/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

APPLICATION = example_psa_crypto

Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/senml_saul/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = senml_saul_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# we want to use SAUL and SenML
USEMODULE += saul_default
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/suit_update/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = suit_update
BOARD ?= samr21-xpro

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

#
# Networking
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/thread_duel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = thread_duel
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# This defaults to build with round_robin using ztimer
RR ?= 1
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/twr_aloha/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ APPLICATION = twr-aloha
BOARD ?= dwm1001

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Change this to 0 show compiler invocation lines by default:
QUIET ?= 1
Expand Down
2 changes: 1 addition & 1 deletion examples/advanced_examples/usbus_minimal/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = usbus_minimal
BOARD ?= samr21-xpro

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/blinky/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = blinky
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/default/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = default
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Uncomment these lines if you want to use platform support from external
# repositories:
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/filesystem/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ BOARD ?= native
FEATURES_BLACKLIST += arch_msp430

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/hello-world/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = hello-world
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/ipc_pingpong/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = ipc_pingpong
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/leds_shell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = leds_shell
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../../
RIOTBASE ?= $(CURDIR)/../../../

# Uncomment this to enable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/saul/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = saul_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# we want to use SAUL:
USEMODULE += saul_default
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/subfolders/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = subfolders
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

# Add subfolders as modules
DIRS += module
Expand Down
2 changes: 1 addition & 1 deletion examples/essentials/timer_periodic_wakeup/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
APPLICATION = timer_periodic_wakeup
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../..

BOARD ?= native

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APPLICATION = arduino_hello-world
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

USEMODULE += arduino
USEMODULE += stdin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = riot_javascript
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ APPLICATION = lua_repl
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ APPLICATION = lua_basic
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = micropython
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# select MicroPython package
USEPKG += micropython
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ APPLICATION = wasm-example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

USEPKG += wamr

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = riot_and_cpp
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Uncomment these lines if you want to use platform support from external
# repositories:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = rust-async
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Some timers for the example
USEMODULE += ztimer_msec
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = rust_gcoap
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Basic networking, and gcoap
USEMODULE += gcoap
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = hello-world
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = skald_eddystone
BOARD ?= nrf52dk

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# include Skald
USEMODULE += skald_eddystone
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = skald_ibeacon
BOARD ?= nrf52dk

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# include Skald
USEMODULE += skald_ibeacon
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = nimble_gatt
BOARD ?= nrf52dk

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Include NimBLE
USEPKG += nimble
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = nimble_heart_rate_sensor
BOARD ?= nrf52dk

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Some RIOT modules needed for this example
USEMODULE += event_timeout_ztimer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = nimble_scanner
BOARD ?= nrf52dk

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# We use the xtimer and the shell in this example
USEMODULE += shell
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APPLICATION = gcoap_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap/Makefile.slip
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ APPLICATION = gcoap
BOARD ?= samr21-xpro

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Redefine port, for example use 61616 for RFC 6282 UDP compression.
#GCOAP_PORT = 5683
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap_block_server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APPLICATION = gcoap_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

## Uncomment to redefine port, for example use 61616 for RFC 6282 UDP compression.
#GCOAP_PORT = 5683
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap_dtls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APPLICATION = gcoap_example
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap_dtls/Makefile.slip
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ APPLICATION = gcoap
BOARD ?= samr21-xpro

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Redefine port, for example use 61616 for RFC 6282 UDP compression.
#GCOAP_PORT = 5683
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/gcoap_fileserver/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = gcoap_fileserver
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/coap/nanocoap_server/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = nanocoap_server
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = cord_ep
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

USEMODULE += netdev_default
USEMODULE += auto_init_gnrc_netif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = cord_epsim
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Enable GNRC networking
USEMODULE += netdev_default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = cord_lc
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

USEMODULE += netdev_default
USEMODULE += auto_init_gnrc_netif
Expand Down
2 changes: 1 addition & 1 deletion examples/networking/dtls/dtls-echo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ APPLICATION = dtls_echo
BOARD ?= native

# This has to be the absolute path to the RIOT base directory:
RIOTBASE ?= $(CURDIR)/../..
RIOTBASE ?= $(CURDIR)/../../../..

# Include packages that pull up and auto-init the link layer.
# NOTE: 6LoWPAN will be included if IEEE802.15.4 devices are present
Expand Down
Loading

0 comments on commit f52330e

Please sign in to comment.