SPRESENSE
63cd701958
Makefile: Unify ROOTDEPPATH into DEPPATH
...
DEPPATH is commonly used in nuttx repo, so it to be the same with them.
2020-07-29 15:22:20 +02:00
Masayuki Ishikawa
e0c27e1d21
examples: i2sloop: Replace license header with Apache License 2.0
...
Summary:
- This commit replaces license headers under examples/i2sloop.
Impact:
- No impact
Testing:
- Buid check only
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-07-29 01:05:31 -05:00
Maciej Wójcik
21049ece6e
Rewritten READMEs to Markdown
2020-07-25 01:01:51 -07:00
Maciej Wójcik
51e6645f71
Rename README and README.txt to README.md
2020-07-25 01:01:51 -07:00
Maciej Wójcik
d85cbea7f8
Don't copy header outside of LVGL, export LVGL, add README, fix example
2020-07-16 09:16:20 -05:00
Xiang Xiao
4758151b86
examples/nrf24l01_term: Fix the nxsytyle warning
2020-07-12 15:59:54 +01:00
Xiang Xiao
942f32e22a
Fix nxsytle warning
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I36099dc6c07c7ada2f9fcb06fe0267b8d213a61a
2020-07-12 13:56:00 +01:00
Xiang Xiao
deaa6c5b7b
build: Replace $(TOPDIR)/Make.defs with $(APPDIR)/Make.defs
...
and move NUTTXLIB defintion to the common place
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-07-09 15:17:37 -03:00
Beat Küng
6daab509ca
gpio: fix code style (long lines)
2020-07-09 15:17:13 -03:00
Beat Küng
31d198f5b6
gpio: add new GPIO pin types
...
NuttX PR: https://github.com/apache/incubator-nuttx/pull/1374
2020-07-09 15:17:13 -03:00
Xiang Xiao
4e10b692f8
example/helloxx: Remove EXAMPLES_HELLOXX_NOSTACKCONST
...
since this config doesn't appear inside examples/helloxx/Kconfig anymore and
there is any c++ compiler can't construct the stack object as far as I know
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I0297d192df3beaa78ae7ee75f24ae51476bb30a9
2020-07-02 08:59:02 +02:00
Xiang Xiao
9df0272279
apps: Let c++ examples/testing depends on UCLIBCXX or LIBCXX
...
since the test should work with either uClibc++ or libcxx
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ie6d7b1706314cbe82d4e89eb2d5c47ed36118ea4
2020-07-02 08:47:40 +02:00
Xiang Xiao
b217de70e5
apps: Remove all stuff related to CONFIG_xxx_CXXINITIALIZE
...
since it is moved to the central place in nuttx side instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I544d6110f1ca6460f7c82f970870aa9b1e7ab3dd
2020-07-01 10:03:12 -06:00
Alin Jerpelea
f571af1b2b
Examples: camera: add a simple camera snapshot example
...
The camera example will take the specified number of pictures (default 10)
then will exit
To enable the example add the following line in your defconfig
EXAMPLES_CAMERA
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-07-01 07:53:25 +09:00
chao.an
8750db6090
examples: fix nxstyle warning
...
Change-Id: I617d9033604a4a85ae065ed67b9aa6128218ae49
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-29 21:07:04 -05:00
chao.an
24407f16f5
net/sockopt: change the socket option style from Linux to BSD
...
Linux Programmer's Manual
...
IP(7)
...
NOTES
...
Using the SOL_IP socket options level isn't portable;
BSD-based stacks use the IPPROTO_IP level.
Change-Id: I143477d8884dd44913c5685028ee62854e4c11ac
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-29 21:07:04 -05:00
Huang Qi
32a2207e86
examples/lvgldemo: Change to latest official release
2020-06-17 12:13:36 -03:00
Huang Qi
7a85bc75dc
graphics/lvgl: Bump lvgl version to 7.0.2
2020-06-17 12:13:36 -03:00
Matias Nitsche
db338bfbb2
pty: nxstyle fixes
2020-06-15 21:22:14 +01:00
Matias Nitsche
f88e4af8af
pty: support waiting for underlying serial device to appear, useful for pty over USBDEV serial device
2020-06-15 21:22:14 +01:00
Matias Nitsche
b888f5f5e6
pty: pause() instead of sleep for long time
2020-06-15 21:22:14 +01:00
Matias Nitsche
49e2c5fe70
bmp180: enable use for BMP280 as well
2020-06-15 20:11:40 +01:00
YAMAMOTO Takashi
faba0249c1
Include malloc.h instead of stdlib.h for mallinfo()
...
Adapt to the change in the main repo.
mallinfo is meant to be API compatible with Linux,
where it's provided by malloc.h.
(I think the API actually originated with System V. I don't
remember how it was there though. Anyway, I guess the
compatibility with Linux is more important than System V
these days.)
2020-06-15 07:21:52 -06:00
Ouss4
6fd57ba071
examples/pca9635/pca9635_main.c: The brightness struct name was changed
...
in the OS driver, thus this example needs to follow suit.
2020-06-12 15:01:36 -06:00
liuhaitao
0b322c9784
examples/thttpd: update Makefile etc to fix build break
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-10 21:31:51 +08:00
Huang Qi
afaf013832
examples/lvgldemo: Make touch calibration optional
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2020-06-10 08:44:36 -03:00
liuhaitao
2c924f657f
examples/nxflat: update Makefile etc to fix build break
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-09 21:40:20 +08:00
Xiang Xiao
3f6343d3e7
examples/buttons: Switch dependence from ARCH_HAVE_BUTTONS to BUTTONS
...
application just use BUTTONS ioctl and shouldn't take care the implementation detail
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ia4d615700de1ac17302ab9b6379340fb81e69d86
2020-06-06 01:03:20 +01:00
Xiang Xiao
8e9e49a2f8
examples/leds: Switch dependence from ARCH_HAVE_LEDS && !ARCH_LEDS to USERLED
...
application just use USERLED ioctl and shouldn't take care the implementation detail
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I5b707d86db1bd96d85b6fed1d5a403584739f0d7
2020-06-06 01:03:20 +01:00
Xiang Xiao
8f18b23352
examples: Fix the wrong dependence about config.h
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iabedaa5da6439f4bfc34fb861382276446b4224f
2020-06-02 12:49:19 +02:00
Xiang Xiao
d03ff1bde6
build: Remove the duplicated mksymtab.sh
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-24 08:26:55 -06:00
Xiang Xiao
69f013e74e
build: Remve the unnecessary .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-23 15:56:35 +01:00
Xiang Xiao
ea7437c2a8
Fix nxstyle issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-22 12:25:09 +01:00
Xiang Xiao
ea135b89c6
build: Replace all -I to INCDIR
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
ead498a788
build: Remove the workaround for the inexistence of .config/Make.defs
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-21 17:43:42 +01:00
Xiang Xiao
9be0be5d47
build: host executable should use HOSTEXEEXT not EXEEXT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-19 08:58:10 -06:00
Xiang Xiao
6a26547dec
build: Move INCDIROPT to common place
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
Xiang Xiao
d232823e63
build: Replace WINTOOL with CYGWIN_WINTOOL Kconfig
...
so the correct value can be determinated by Kconfig system automatically
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-18 15:37:24 -06:00
liuhaitao
79e544f032
exmaples: some nxstyle fixes for module/sotest/thttpd
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 13:36:05 +08:00
liuhaitao
0c60624276
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd
...
Update make dependency for elf/module/nxflat/posix_spawn/sotest/thttpd examples which make use of
mksymtab.sh. This could avoid them built twice in 'make depend' and 'make all' which would result
in file truncated build break. Now only build once by 'make all'.
Change-Id: I5d8f1ebbf73e3b12d7d2118f1f51b4233d0ed007
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-15 13:36:05 +08:00
Masayuki Ishikawa
ba3baa57a5
examples: ftpc: Fix style violations in ftpc_main.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 18:17:57 -06:00
Masayuki Ishikawa
9a90b65355
examples: ftpc: Fix a compile warning for IPv4 only configuration
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-05-14 18:17:57 -06:00
Xiang Xiao
9d78e5b4c2
Remove executable bit from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-13 06:52:34 -06:00
chao.an
3aefe08cba
examples/dhcpd: reuse the router ip/mask from dhcpd lib
...
Change-Id: I6a9a783b9d9c8b9a4e56a885232a759f0adaeccb
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-09 13:31:15 -06:00
chao.an
018c9420ac
netutils/dhcpd: cancelable dhcp daemon
...
Change-Id: Iea3c0b8f91b0d6d8ececcd3932d8756a9d021608
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-05-09 13:31:15 -06:00
Gregory Nutt
baea789137
examples/thttpd/content/tasks/tasks.c: nxstyle check.
2020-05-09 14:55:38 -03:00
Gregory Nutt
3abdf30e8c
examples/thttpd/content/tasks/tasks.c: Update OS internal name
...
This logic uses the OS internal nxsched_foreach() function. This is a violation of the POSIX OS interface. But for now, we just update the name.
2020-05-09 14:55:38 -03:00
Pelle
0704bd2e49
Example application for the hdc1008 driver.
2020-05-07 03:09:27 +01:00
Xiang Xiao
7a99d62ca1
Fix nxstyle warning
...
Signed-off-by: Xiang Xiao <xiaox
iang@xiaomi.com>
2020-05-06 07:31:10 -06:00
Xiang Xiao
8a1f5ee34c
debug: Reduce CONFIG_CPP_HAVE_VARARGS usage
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-05-06 07:31:10 -06:00