Commit Graph

4702 Commits

Author SHA1 Message Date
chao.an
9968461c2b nsh/command: do not show the module application in built-in list
Change-Id: Ia6dd5dcf7d7eb829fde67c522f7ee2155a4051ce
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-04-03 15:59:45 +09:00
YAMAMOTO Takashi
97b439f180 examples/udp: Avoid using non-standard s6_addr16
Also, fixes endian issues.
2020-04-02 11:39:59 +01:00
YAMAMOTO Takashi
d5ec9f91ae examples/udp: Avoid common symbols 2020-04-02 11:39:59 +01:00
YAMAMOTO Takashi
d55401d3fc examples/udp: Avoid conflicts with host OS definitions 2020-04-02 11:39:59 +01:00
YAMAMOTO Takashi
d79de16657 examples/udp: Appease nxstyle errors 2020-04-02 11:39:59 +01:00
liuhaitao
0640e072b0 CI: update matrix boards accordingly since testlist updated
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-01 14:44:02 +08:00
Xiang Xiao
595c72b38e
ping/ping6: Support the dual stack host correctly 2020-03-31 22:18:26 +01:00
YAMAMOTO Takashi
de25bfecf3 CI: Change the workflow name for build.yml 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
405efe0897 CI: rename main.yml to build.yml 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
1bfffc73ec CI: Use actions from testing repo 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
2884f021dc main.yml: Reduce differences from other repos 2020-04-01 00:10:36 +08:00
YAMAMOTO Takashi
e6607179f8 CI: Separate the workflow into a few pieces 2020-04-01 00:10:36 +08:00
Ouss4
5e245cf34b examples/tcpblaster: When a host PC is used, take its implementation of hton/ntoh functions. 2020-03-31 14:35:57 +08:00
Xiang Xiao
b92a10ad74 nshlib/nsh_netcmds.c: fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-03-30 09:43:49 -06:00
Xiang Xiao
8da81578b0 nsh: Call getaddrinfo in cmd_nslookup to support the dual stack host
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Iac7a9a6b871d473e4720db1d6cbfeea3dc9796a0
2020-03-30 09:43:49 -06:00
YAMAMOTO Takashi
326c80db72 tcpblaster: Appease nxstyle complaints 2020-03-30 02:12:02 -05:00
YAMAMOTO Takashi
7e6e19d80c tcpblaster: Fix build on macOS
s6_addr is in standard. s6_addr16 is not.
See RFC 2553.
2020-03-30 02:12:02 -05:00
YAMAMOTO Takashi
5f91364d44 tcpblaster: Avoid conflicting with host OS definitions 2020-03-30 02:12:02 -05:00
YAMAMOTO Takashi
e8b0c903bc examples/udpblaster: Fix some nxstyle errors 2020-03-28 11:56:44 -05:00
YAMAMOTO Takashi
60378318d3 udpblaster: Fix build on macOS
s6_addr is in standard. s6_addr16 is not.
See RFC 2553.
2020-03-28 11:56:44 -05:00
liuhaitao
5c9df7bc7a Use new docker image container and add xtensa arch build support
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-28 11:37:44 -05:00
YAMAMOTO Takashi
4ac7744c2e Appease nxstyle complaints 2020-03-28 10:21:48 -05:00
YAMAMOTO Takashi
cf30257f1c examples/udpblaster: Avoid conflicts with host OS definitions 2020-03-28 10:21:48 -05:00
YAMAMOTO Takashi
3ba85167fe system/ramtest: Change the default of stack size to DEFAULT_TASK_STACKSIZE
Given what this program does, it's probably ok to allocate a few more
kilo bytes of the stack.
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
eb083265f4 system/flash_eraseall: Bump stack size to DEFAULT_TASK_STACKSIZE 2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
c9c1d2bbc6 Change the default of stack size configs to DEFAULT_TASK_STACKSIZE
Where:
 * Under examples and testing
 * And the default value is less than 2048

Using a bit more memory for examples and tests should not
be a critical problem.
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
35933d8131 examples: Replace hardcoded stack sizes to DEFAULT_TASK_STACKSIZE
Where the hardcoded values are less than 2048.
Using a bit more memory for examples should not be a critical problem.
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
2ecdf4c554 Change the default of a few stack size configs to DEFAULT_TASK_STACKSIZE
These had the larger default for the sim.
It's no longer necessary as DEFAULT_TASK_STACKSIZE
can have different default for each arch.

See also:
    commit b1d44a81b4
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
e7156be066 Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
c304624fab Replace "STACKSIZE = 2048" with CONFIG_DEFAULT_TASK_SIZE
For now, I left the following instances because it isn't
clear to me why they are using the different values.
Maybe they need one-by-one inspection.

    examples/igmp/Makefile:STACKSIZE = 1024
    examples/powerled/Makefile:STACKSIZE = 1024
    examples/powermonitor/Makefile:STACKSIZE = 768
    examples/relays/Makefile:STACKSIZE = 512
    examples/smps/Makefile:STACKSIZE = 1024
    graphics/screenshot/Makefile:STACKSIZE = 4096
    system/flash_eraseall/Makefile:STACKSIZE = 1024
    testing/cxxtest/Makefile:STACKSIZE = 4096
    testing/smart_test/Makefile:STACKSIZE = 4096
2020-03-27 02:43:11 -05:00
YAMAMOTO Takashi
2f7480d11b Use MODULECC/MODULELD when building modules 2020-03-27 01:01:30 -05:00
YAMAMOTO Takashi
779502b4d9 Clean *.bdat and *.pdat on clean_context target 2020-03-26 22:29:28 -05:00
YAMAMOTO Takashi
9dca031f26 module: Appease nxstyle complaints 2020-03-26 18:46:13 +01:00
YAMAMOTO Takashi
e30177de4e sotest: Appease nxstyle complaints 2020-03-26 18:46:13 +01:00
YAMAMOTO Takashi
cc966d5414 module: Fix a printf format mismatch ("%s" vs int) 2020-03-26 18:46:13 +01:00
YAMAMOTO Takashi
4a4835030d sotest: Fix a printf format mismatch ("%s" vs int) 2020-03-26 18:46:13 +01:00
Xiang Xiao
f16a765cca
examples: Fix the parallel build break (#138)
1.Remove build target to avoid build and install run parallelly
2.Invoke the sub Makefile just before the parent source code compile
2020-03-23 11:40:44 -06:00
Xiang Xiao
1511403fdf Revert "Don't generate .depend anymore"
This reverts commit cc5ad09caa.
2020-03-22 23:09:40 -05:00
Xiang Xiao
f074d7f376 Makefile: let install depend on the target binary
to ensure the binary get built and install once
2020-03-22 22:42:13 +00:00
Xiang Xiao
258e014025 Revert "Ensure "build" before "install""
This reverts commit 404b330c25.
2020-03-22 22:47:16 +01:00
Xiang Xiao
8a7ea1695d Revert "examples/elf/tests: Ensure "build" before "install""
This reverts commit 2abf0f50e1.
2020-03-22 22:47:16 +01:00
Xiang Xiao
9394424b1e Revert "examples/sotest/lib: Fix dependency"
This reverts commit 0cb3712c19.
2020-03-22 22:47:16 +01:00
Xiang Xiao
cc5ad09caa
Don't generate .depend anymore 2020-03-22 18:15:21 +00:00
Xiang Xiao
6ddf347178
Move MAKE_template and SDIR_template to Make.defs (#135)
So Directory.mk and Makefile can share the same definition
2020-03-22 10:06:37 -06:00
Xiang Xiao
6e3a9a2eda Call TESTANDREPLACEFILE instead of mv
To avoid the timestamp change even the content is same
2020-03-22 09:03:08 -06:00
Xiang Xiao
7caef179a2 Fix the typo error 2020-03-22 09:02:57 -06:00
Xiang Xiao
d614ee8efa
Strip the debug information if CONFIG_DEBUG_SYMBOLS isn't enable. 2020-03-22 14:46:58 +00:00
Gregory Nutt
da31673ddf Run nxstyle against all modified .c and .h files 2020-03-22 08:23:28 -05:00
Gregory Nutt
1a9444a68b Remove support for CONFIG_FS_WRITABLE and CONFIG_FS_READABLE 2020-03-22 08:23:28 -05:00
liuhaitao
54b375dc43 examples: Fix elf/module/posix_spawn sometimes parallel build errors at link time
It seems in the time window mksymtab.sh redirect to symtab.c, there is chance symtab.c
would also be built meantime. Then if built before symtab.c write done, link errors may
occur. So use rename and mv operation to reduce the possibility.

Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-03-21 20:46:58 +09:00