Qi Huang
5018ee264c
graphics/littlevgl: Fix lvgl internal warning with patch
...
examples/lvgldemo: Fix build warning with specific config
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-16 19:06:05 +08:00
liuhaitao
b8dc15f646
examples/thttpd: align to elf/posix_spawn exmaples to fix depend build warning
...
Build warning logs as below:
arm-none-eabi-gcc: warning: ./hello/Makefile: linker input file unused because linking not done
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-15 11:39:15 -03:00
Qi Huang
771811c1d7
examples/lvgldemo: Fix nxstyle
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
2020-04-15 11:38:24 -03:00
Qi Huang
2bb4cbf9ca
examples/littlevgl: Add missing btn event handler
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I4048fbd4907e465fe8f3a1a57c8ff830730a5bc3
2020-04-15 11:38:24 -03:00
Qi Huang
94b8dbe7aa
examples/lvgldemo: Port all demos to LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: Ie139af71e88d887bffefcd9b97977124c5a9e1c3
2020-04-15 11:38:24 -03:00
Qi Huang
13606dc253
apps/examples/lvgldemo: Port new simple demo from LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I1051edc15b6f66ce34d2f813964e0e8630ec351f
2020-04-15 11:38:24 -03:00
Qi Huang
b7e96b473d
apps/examples/lvgldemo: Update the lvgl init procedure
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I36d250d7839a86d486dcb8f720fcf12f9b954327
2020-04-15 11:38:24 -03:00
Qi Huang
1fa30e59d3
apps/examples/lvgldemo: Port tp_cal.c for LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I1fead13274822276e08d3f54016b079b174a1544
2020-04-15 11:38:24 -03:00
Qi Huang
25876e8222
apps/examples/lvgldemo: Update fb flush callback for LVGL V6.1.2
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I72a6ff628f2ea2b0b505e444c84b266ba3a28d87
2020-04-15 11:38:24 -03:00
Qi Huang
20f3db7317
apps/examples/lvgldemo: Update touchpad read callback for LittleVGL V6.1
...
Signed-off-by: Qi Huang <huangqi3@xiaomi.com>
Change-Id: I8df8ff81832ce651a4c2678d534a6aeb85cff6a7
2020-04-15 11:38:24 -03:00
Gregory Nutt
58085e5983
Run nxstyle against files modified in previous commit.
2020-04-12 19:17:49 +01:00
Gregory Nutt
f95d753759
Fix warnings noted in PR build checks.
...
userfs_main.c:547:7: warning: variable 'ret' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (*relpath == '\0')
^~~~~~~~~~~~~~~~
userfs_main.c:564:10: note: uninitialized use occurs here
return ret;
^~~
userfs_main.c:547:3: note: remove the 'if' if its condition is always false
if (*relpath == '\0')
^~~~~~~~~~~~~~~~~~~~~
userfs_main.c:543:10: note: initialize the variable 'ret' to silence this warning
int ret;
^
= 0
test_motor.c:1068:14: warning: explicitly assigning value of variable of type 'float' to itself [-Wself-assign]
expected_e = expected_e;
~~~~~~~~~~ ^ ~~~~~~~~~~
2020-04-12 19:17:49 +01:00
Gregory Nutt
3e73991857
nxstyle fixes for PR 170
2020-04-11 20:32:53 +01:00
Gregory Nutt
05f2253a33
Remove CONFIG_CAN_PASS_STRUCT
...
This is the companion to PR #766 . It removes the CONFIG_CAN_PASS_STRUCT option as recommended by Issue #620
NuttX PR #766 depends on PR being in place but not vice versa. This PR should be merge-able without #766 and then PR #766 should also pass its checks.
2020-04-11 20:32:53 +01:00
Ouss4
d7df165c45
examples/udp: When a host PC is used, take its implementation of hton/ntoh functions.
2020-04-03 18:09:02 -06:00
raiden00pl
dd95e35787
examples/dsptest: fix nxstyle issues
2020-04-03 22:23:23 +01: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
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
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
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
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
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
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
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