chao.an
7650a3c71c
make/import: override the ld group if undeclared
...
Change-Id: I8f2fde21dcaac7c9a88915d585fda0ab30ce1d56
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 00:52:07 +01:00
chao.an
c81a1f9711
make/import: support install nuttx binary in flat build
...
Change-Id: Iaffa86ee9ebd77380424e6d4a0777262685c989f
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 00:52:07 +01:00
chao.an
10d596cb8e
make/import: remove LDLIBS declare
...
which already exported in scripts/Make.defs
Change-Id: I74858632f779fc2a409c9f4afb114db14003686d
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 00:52:07 +01:00
chao.an
13df7aca41
make/import: support depend context on import build
...
Change-Id: Ia390a2defdb6a71a60a5f3c261b806d13810626e
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-30 00:52:07 +01:00
Xiang Xiao
3a92024b52
cxxtest: Should check CONFIG_CXX_EXCEPTION instead of CONFIG_UCLIBCXX_EXCEPTION
...
because user may use libcxx which just define CONFIG_LIBCXX_EXCEPTION
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I67e7e93cd994e7ad895e93f859f78e038a7a10cb
2020-06-29 13:48:11 +01:00
liuhaitao
dbfa8d5f13
Make programs under apps/bin executable to generate symtab file rightly
...
Make programs under apps/bin executable since tools/mksymtab.sh called with
'find $dir -type f -perm -a=x 2>/dev/null'. So generate symtab file rightly.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-26 14:20:13 +09:00
Gregory Nutt
192273da2e
Revert "nshlib: remove the dependency of date on RTC"
...
This is a bad change. It has been show to cause an increase in size by around 2.3Kb in minimal configurations that cannot tolerate that massive size increase.
This reverts commit 4adb83c754
.
2020-06-24 16:07:55 -07:00
chao.an
4ae186d89a
apps/makefile/implicit rules: completion the obj path
...
Change-Id: I2587a9e8de0852707fe6c775d487cc3a7849aef9
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-06-24 14:02:52 +01: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
Masayuki Ishikawa
fed7a53ef5
system: nxrecorder: Refactor nxrecorder.c
...
NOTE: Remove redundant code regarding audio buffer configuration
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-17 13:04:23 +08:00
Gregory Nutt
4f044a4342
system/sched_note/note_main.c: Add interrupt/syscall call decode.
2020-06-16 20:43:18 +01:00
Masayuki Ishikawa
2282310483
system: nxrecorder: Add O_TRUNC when creating a file
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-16 17:00:24 +08: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
853439f0e7
composite: nxstyle fixes
2020-06-15 21:21:58 +01:00
Matias Nitsche
22d5712a5a
composite: do not require CDCACM driver to be set, composite interface is generic
2020-06-15 21:21:58 +01:00
Matias Nitsche
49e2c5fe70
bmp180: enable use for BMP280 as well
2020-06-15 20:11:40 +01:00
Gregory Nutt
7aa7454983
LICENSE: Update with candump
...
apps/canutils/candump includes five third part files from VW that have a dual BSD-3/GPLv2 license. This commits updates the LICENSE file to indicate this.
2020-06-15 19:36:23 +01:00
Peter van der Perk
1ae2f4a304
Ported candump & cansend apps from can-utils ( https://github.com/linux-can/can-utils )
2020-06-15 07:23:37 -06:00
Peter van der Perk
839b3530d4
netlib: add AF_CAN family and CONFIG_NET_CAN support
2020-06-15 07:23:37 -06: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
YAMAMOTO Takashi
83324b68f9
webclient: Fix errno in case of recv failure
...
When recv() failed, the current code assumes the return value
of recv() is a negative errno. It's wrong. Actually the return value
in case of error is -1. The wrong assumption ends up with reporting
EPERM, as EPERM happens to be -(-1).
This commit changes the code to leave the errno set by the failed
recv() as it is. It should be fine as wget_base() has the same
error returning convention as recv(). That is, return -1 (ERROR)
and set errno in the case of failure.
NOTE: the close() after the errout label can also fail and overwrite
the errno. I don't feel it's a big problem as wget_base() doesn't have
any promise about which error should be reported.
2020-06-12 05:22:45 -07:00
Masayuki Ishikawa
1d4dc43e73
system: nxrecorder: Fix compile warnings in nxrecorder.c
...
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-10 18:15:08 -07:00
liuhaitao
68c89e8485
tools/mksymtab.sh: remove the quotes in varlist entry coming from *-thunk.S
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-06-10 21:31:51 +08: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
Masayuki Ishikawa
2ba9fd55af
system: nxplayer: Refactor nxplayer.c
...
NOTE: Remove redundant code regarding audio buffer configuration
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-06-05 15:21:02 +08:00
Xiang Xiao
d28dcfbee3
zmodem: Fix the build break and warning for host binary
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: If6b324c20fcb245633f3bdc9000bc48f581c7dc6
2020-06-03 13:07:11 +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
YAMAMOTO Takashi
a49f951c86
netlib_parsehttpurl: Fix pathlen check
2020-05-28 19:59:03 +08:00
YAMAMOTO Takashi
585d63b30d
netlib_parseurl: Fix pathlen check
2020-05-28 19:59:03 +08:00
YAMAMOTO Takashi
a455f13ec1
webclient: Check the return value of netlib_parseurl correctly
2020-05-28 19:58:53 +08:00
YAMAMOTO Takashi
415010b7fd
webclient: include string.h for strlen
...
Instead of relying on indirect namespace pollutions.
2020-05-28 11:15:18 +02:00
YAMAMOTO Takashi
984b80d7cf
netlib.h: Fix nxstyle complaints
2020-05-27 16:41:13 +08:00
YAMAMOTO Takashi
4e32615ab7
netlib: #if 0 out unimplemented fields in url_s
...
- Avoid giving a wrong impression to users
- Save a little memory
2020-05-27 16:41:13 +08:00
YAMAMOTO Takashi
276bf42e0d
webclient: Fix http -> https redirection
...
http -> https redirection is rather common. The old code was
just broken in that case.
Also, this commit is a step towards https support.
* Switch to netlib_parseurl
* Fix error propagation in wget_parseheaders
* Bail out on a redirect to a URL with unsupported scheme
2020-05-26 15:38:12 +08:00
YAMAMOTO Takashi
e939e55a50
webclient.c: Limit the number of redirections
2020-05-25 23:54:38 +08:00
YAMAMOTO Takashi
6b00c37a65
dhcpc.c: Fix an nxstyle complaint
2020-05-25 23:53:29 +08:00
YAMAMOTO Takashi
1cb82e58ac
dhcpc: Don't use an uninitialized variable
2020-05-25 23:53:29 +08:00
liuhaitao
33c794ad60
Application.mk: update .depend dependency for SRCS with VPATH
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-25 08:13:33 -06:00
YAMAMOTO Takashi
6205eb01f2
remove duplicated g_wordsize
2020-05-25 14:42:58 +08: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
liuhaitao
40c325adfe
build: Remove some duplicated definitions
...
Unified the duplicated definitions into nuttx/tools/Config.mk.
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-05-22 14:18:17 +01:00