Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions wireless/sx1262/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

menuconfig WIRELESS_SX1262
tristate "Custom sx1262 App"
default n
---help---
Enable the Custom sx1262 App

if WIRELESS_SX1262

config WIRELESS_SX1262_PROGNAME
string "Program name"
default "custom_sx1262"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.

config WIRELESS_SX1262_PRIORITY
int "Custom sx1262 task priority"
default 100

config WIRELESS_SX1262_STACKSIZE
int "Custom sx1262 stack size"
default DEFAULT_TASK_STACKSIZE

endif
3 changes: 3 additions & 0 deletions wireless/sx1262/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ifneq ($(CONFIG_WIRELESS_SX1262),)
CONFIGURED_APPS += $(APPDIR)/wireless/sx1262
endif
14 changes: 14 additions & 0 deletions wireless/sx1262/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
include $(APPDIR)/Make.defs

# Custom sx1262 built-in application info

PROGNAME = $(CONFIG_WIRELESS_SX1262_PROGNAME)
PRIORITY = $(CONFIG_WIRELESS_SX1262_PRIORITY)
STACKSIZE = $(CONFIG_WIRELESS_SX1262_STACKSIZE)
MODULE = $(CONFIG_WIRELESS_SX1262)

# Custom sx1262

MAINSRC = sx1262.c

include $(APPDIR)/Application.mk
Loading