Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # name of your application
  2. APPLICATION = roomba
  3. # If no BOARD is found in the environment, use this default:
  4. BOARD ?= nrf52840dk
  5. #BOARD ?= arduino-nano-33-iot
  6. # This has to be the absolute path to the RIOT base directory:
  7. RIOTBASE ?= $(CURDIR)/../RIOT/
  8. # Require uart module
  9. FEATURES_REQUIRED += periph_uart
  10. # Some RIOT modules needed for this example
  11. USEMODULE += event_timeout
  12. # Network
  13. USEMODULE += nimble
  14. USEMODULE += nimble_addr
  15. USEMODULE += nimble_scanner
  16. USEMODULE += nimble_scanlist
  17. USEMODULE += nimble_svc_gap
  18. USEMODULE += nimble_svc_gatt
  19. USEMODULE += nimble_drivers_nrf5x
  20. USEMODULE += random
  21. #USEMODULE += periph_flashpage
  22. USEMODULE += usbus
  23. USEMODULE += stdio_cdc_acm
  24. USEMODULE += auto_init_usbus
  25. USEMODULE += shell
  26. USEMODULE += shell_commands
  27. USEMODULE += ps
  28. # Comment this out to disable code in RIOT that does safety checking
  29. # which is not needed in a production environment but helps in the
  30. # development process:
  31. DEVELHELP ?= 1
  32. CFLAGS+=-Wno-missing-field-initializers -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -I$(CURDIR)/include
  33. # Change this to 0 show compiler invocation lines by default:
  34. QUIET ?= 1
  35. include $(RIOTBASE)/Makefile.include
  36. include nimble.inc.mk