Skip to content
Draft
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
30 changes: 30 additions & 0 deletions examples/shv-nxboot-updater/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#

menuconfig EXAMPLES_SHV_NXBOOT_UPDATER
bool "Silicon Heaven Firmware updates for NXBoot"
depends on NETUTILS_LIBSHVC
default n
---help---
Enable the shv-nxboot-updater application.

if EXAMPLES_SHV_NXBOOT_UPDATER

config EXAMPLES_SHV_NXBOOT_UPDATER_PROGNAME
string "shv-nxboot-updater App Name"
default "shv-nxboot-updater"
---help---
This is the name of the program that will be used when the NSH ELF
program is installed.

config EXAMPLES_SHV_NXBOOT_UPDATER_PRIORITY
int "shv-nxboot-updater task priority"
default 100

config EXAMPLES_SHV_NXBOOT_UPDATER_STACKSIZE
int "shv-nxboot-updater task stack size"
default 4096

endif # EXAMPLES_NX_SHV_FWUPDATER
23 changes: 23 additions & 0 deletions examples/shv-nxboot-updater/Make.defs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
############################################################################
# apps/examples/shv-nxboot-updater/Make.defs
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################

ifneq ($(CONFIG_EXAMPLES_SHV_NXBOOT_UPDATER),)
CONFIGURED_APPS += $(APPDIR)/examples/shv-nxboot-updater
endif
31 changes: 31 additions & 0 deletions examples/shv-nxboot-updater/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
############################################################################
# apps/examples/shv-nxboot-updater/Makefile
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The
# ASF licenses this file to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
############################################################################

include $(APPDIR)/Make.defs

MODULE = $(CONFIG_EXAMPLES_SHV_NXBOOT_UPDATER)

PROGNAME += $(CONFIG_EXAMPLES_SHV_NXBOOT_UPDATER_PROGNAME)
PRIORITY += $(CONFIG_EXAMPLES_SHV_NXBOOT_UPDATER_PRIORITY)
STACKSIZE += $(CONFIG_EXAMPLES_SHV_NXBOOT_UPDATER_STACKSIZE)

MAINSRC += shv_nxboot_updater.c

include $(APPDIR)/Application.mk
Loading
Loading