Skip to content

Commit

Permalink
Merge pull request #48 from SPRESENSE/release-v2.0.0
Browse files Browse the repository at this point in the history
Merge release-v2.0.0 into master for v2.0.0 release
  • Loading branch information
SPRESENSE committed Jun 12, 2020
2 parents 72d88c3 + 43d6613 commit d2f9e7e
Show file tree
Hide file tree
Showing 1,923 changed files with 33,448 additions and 255,650 deletions.
5 changes: 4 additions & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
path = nuttx
url = ../spresense-nuttx.git
[submodule "externals/nnabla-c-runtime"]
path = externals/nnabla-c-runtime
path = externals/nnablart/nnabla-c-runtime
url = https://github.com/sony/nnabla-c-runtime
[submodule "sdk/apps"]
path = sdk/apps
url = ../spresense-nuttx-apps.git
2,387 changes: 632 additions & 1,755 deletions LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions examples/.sdksubdir
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

147 changes: 0 additions & 147 deletions examples/Application.mk

This file was deleted.

42 changes: 0 additions & 42 deletions examples/LibTarget.mk

This file was deleted.

4 changes: 1 addition & 3 deletions examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,4 @@

MENUDESC = "Examples"

BIN = libexamples$(LIBEXT)

include $(SDKDIR)/Makefile.ext
include $(SDKDIR)/tools/Sdk.mk
3 changes: 1 addition & 2 deletions examples/accel/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

config EXAMPLES_ACCEL
bool "Accelerometer sensor example"
tristate "Accelerometer sensor example"
default n
---help---
Enable the sensor via SCU example
Expand All @@ -14,7 +14,6 @@ if EXAMPLES_ACCEL
config EXAMPLES_ACCEL_PROGNAME
string "Program name"
default "accel"
depends on BUILD_KERNEL
---help---
This is the name of the program that will be use when the NSH ELF
program is installed.
Expand Down
2 changes: 1 addition & 1 deletion examples/accel/Make.defs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
#
############################################################################

ifeq ($(CONFIG_EXAMPLES_ACCEL),y)
ifneq ($(CONFIG_EXAMPLES_ACCEL),)
CONFIGURED_APPS += accel
endif
17 changes: 5 additions & 12 deletions examples/accel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,16 @@
############################################################################

-include $(TOPDIR)/Make.defs
-include $(SDKDIR)/Make.defs

# sensor built-in application info
# Accelerometer sensor built-in application info

CONFIG_EXAMPLES_ACCEL_PRIORITY ?= SCHED_PRIORITY_DEFAULT
CONFIG_EXAMPLES_ACCEL_STACKSIZE ?= 2048

APPNAME = accel
PRIORITY = $(CONFIG_EXAMPLES_ACCEL_PRIORITY)
PROGNAME = $(CONFIG_EXAMPLES_ACCEL_PROGNAME)
PRIORITY = $(CONFIG_EXAMPLES_ACCEL_PRIORITY)
STACKSIZE = $(CONFIG_EXAMPLES_ACCEL_STACKSIZE)
MODULE = $(CONFIG_EXAMPLES_ACCEL)

# sensor Example
# Accelerometor Sensor Example

ASRCS =
MAINSRC = accel_main.c

CONFIG_EXAMPLES_ACCEL_PROGNAME ?= accel$(EXEEXT)
PROGNAME = $(CONFIG_EXAMPLES_ACCEL_PROGNAME)

include $(APPDIR)/Application.mk
7 changes: 2 additions & 5 deletions examples/accel/accel_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include <errno.h>
#include <assert.h>

#include <arch/chip/cxd56_scu.h>
#include <arch/chip/scu.h>

/****************************************************************************
* Pre-processor Definitions
Expand Down Expand Up @@ -225,15 +225,12 @@ static void sensing_main(int fd)
/****************************************************************************
* Public Functions
****************************************************************************/

/****************************************************************************
* sensor_main
****************************************************************************/

#ifdef CONFIG_BUILD_KERNEL
int main(int argc, FAR char *argv[])
#else
int accel_main(int argc, char *argv[])
#endif
{
int fd;

Expand Down
51 changes: 0 additions & 51 deletions examples/adc/Kconfig

This file was deleted.

38 changes: 0 additions & 38 deletions examples/adc/Make.defs

This file was deleted.

Loading

0 comments on commit d2f9e7e

Please sign in to comment.