Xiang Xiao
dcc620e6b8
Kconfig: Change !BUILD_PROTECTED && !BUILD_KERNEL to BUILD_FLAT
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-29 07:23:51 -06:00
Xiang Xiao
7da4a34aac
examples: Remove all '#undef __KERNEL__' from source code
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-28 08:58:14 -06:00
liuhaitao
e8b5c47eb8
examples/unionfs: clean up the residual files after 'make distclean'
...
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>
2020-04-28 13:31:22 +08:00
Xiang Xiao
3bd2bc04b5
examples/unionfs: Remove [a|b]testdir.h in distclean
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-25 20:38:04 -06:00
Gregory Nutt
7b2e06b674
Fix errors from DEFAULT_TASK_SIZE change
...
There were several places where default sector and buffer sizes of 2048 were changed to DEFAULT_TASK_STACKSIZE. This is not correct. This was noted by Xiao Xiang.
2020-04-25 16:13:28 -03:00
Alin Jerpelea
c9eaf0beaa
examples: i2sloop: nxstyle fixes
...
nxstyle fixes for i2sloop exaple
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Alin Jerpelea
3cdb81077b
examples: i2schar: nxstyle fixes
...
nxstyle fixes for i2schar exaples
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-04-21 16:41:51 -06:00
Xiang Xiao
0c84e22aaf
example: Remove all APPNAME from Makefile
...
which doesn't use anymore
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
4431d770b4
.gitignore: Add more entries found during prcheck testing
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 10:29:34 -06:00
Xiang Xiao
b813944a7a
example/nettest: tcpclient and tcpserver to .gitignore
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-04-19 21:48:38 +08:00
YAMAMOTO Takashi
1b572ff169
Use MODULESTRIP where appropriate
2020-04-17 14:43:33 +08:00
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