Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
Xiang Xiao
e806097c70
Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard.
2019-10-06 06:14:56 -06:00
Gregory Nutt
61eb262142
Various graphics apps: If CONFIG_VNCSERVER=y, don't vnc_default_fbinitialize() directly. That is a violation of the portable POSIX interface. Instead, call boardctl(BOARDIOC_VNC_START);.
2019-04-02 07:06:06 -06:00
anchao
220653f21c
Squashed commit of the following:
...
Author: anchao <anchao@pinecone.net>
apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
Loadable apps/: Correct loadable symbol table generate
apps/system/ubloxmodem: Fix build break
apps/examples/ostest: start restart/waitpid/user test from main loop
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
Author: Gregory Nutt <gnutt@nuttx.org>
An attempt to fix build issues. Does not work.
apps/examples/ostest: Fix some inappropriate renaming of static functions introduced with recent patches.
apps/builtin/exec_builtin.c: Fix a error introduced by recent comments. Found in build testing.
Author: anchao <anchao@pinecone.net>
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-23 11:06:15 -06:00
Gregory Nutt
2f982e9c77
Revert "Squashed commit of the following:"
...
This reverts commit 25b92edd9f
.
2018-08-22 12:06:32 -06:00
anchao
25b92edd9f
Squashed commit of the following:
...
apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not have have an entry point.
apps/Application.mk: introduce MODULE config to simplify tristate(m)
apps/nsh: Change the nuttx shell module type to tristate
apps: Add loadable application support
script/mksymtab: Generate symbol table name by default
apps/builtin: Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt
4bff47a80f
graphics/traveler: Conver to use the framebuffer driver.
2017-10-16 07:13:38 -06:00
Gregory Nutt
bfde560c60
exampls/nxhello: Increase the amount of time that the text is displayed before erasing it
2017-10-15 07:25:35 -06:00
Gregory Nutt
97e789976e
examples/nxtext: The nxtext example no longer supports single user mode.
2017-10-14 11:16:34 -06:00
Gregory Nutt
0bc7bce916
Eliminate warning about an unused global variable.
2017-08-12 16:40:09 -06:00
Gregory Nutt
8374ab4363
Correct a few things from the last commit.
2016-12-01 16:56:47 -06:00
Gregory Nutt
38e3619e21
Graphics: Remove all NX server taks. Instead, call boardctl() to the the NX server kernel thread.
2016-12-01 16:33:45 -06:00
Gregory Nutt
e2654d8777
VNC: Finish initializing the VNC server once we have the NX handle
2016-04-22 13:38:06 -06:00
Gregory Nutt
7308fdcdf2
Framebuffer driver: Add a display number to each interface in order to support multiple displays
2016-04-14 12:23:52 -06:00
Gregory Nutt
ae57fd7ee2
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
2015-07-10 18:41:56 -06:00
Gregory Nutt
804061abdc
Correct use of the BOARDIOC_GRAPHICS_SETUP boardctl() call
2015-04-16 09:11:49 -06:00
Gregory Nutt
3bbd9b6f41
More renaming: up_lcdinitialize->board_lcd_initialize, up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
2015-04-04 11:49:15 -06:00
Gregory Nutt
256abd6dba
Rename up_nxdrvinit() to board_graphics_setup(). Add CONFIG_BOARDCTL_GRAPHICS that will enabled calls to board_graphics_setup() from boardctrl(). In apps/ and NxWidgts/, replace all calls to up_nxdrvinit with calls to boardctl().
2015-03-31 16:20:21 -06:00
Gregory Nutt
308ba69e7c
Add graphic device initialize logic (incomplete)
2014-12-03 16:48:05 -06:00
Gregory Nutt
88956111df
Remove non-portable references to syslog from apps/examples
2014-10-08 08:33:00 -06:00
Gregory Nutt
d8a239d649
Use more standard *argv[] instead easier **argv
2014-09-06 09:23:23 -06:00
Gregory Nutt
9f7c9b273f
With kernel build, entry point to all tasks is main, not some xyz_main
2014-09-06 09:19:15 -06:00
Gregory Nutt
b9cf7acb1a
More trailing whilespace removal
2014-04-13 16:24:28 -06:00
Gregory Nutt
bae04a9413
Move include/nuttx/fb.h to include/nuttx/video/fb.h
2013-12-10 09:23:54 -06:00
patacongo
fab9d222ad
Several bugfixes contributed by Petteri Aimonen
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5238 42af7a65-404d-4744-a932-0658087f49c3
2012-10-20 16:07:49 +00:00
patacongo
02eb94cd00
Add configurable application entry point
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5070 42af7a65-404d-4744-a932-0658087f49c3
2012-08-30 20:13:50 +00:00
patacongo
d6486044ff
Add Calypso-related fixes
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4730 42af7a65-404d-4744-a932-0658087f49c3
2012-05-13 15:14:53 +00:00
patacongo
40e417d362
Incorporated new fonts into examples; fix glyph allocation bug in nxhello
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3822 42af7a65-404d-4744-a932-0658087f49c3
2011-07-27 14:43:45 +00:00
patacongo
14837fe7ee
Move NX header files to include/nuttx/nx
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3816 42af7a65-404d-4744-a932-0658087f49c3
2011-07-24 20:49:01 +00:00
patacongo
1f9f4c5169
apps/examples/usbstorage can now be built as NSH built-in commands; configs/stm3210e-eval/nsh2 now uses these usb storage commands
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3812 42af7a65-404d-4744-a932-0658087f49c3
2011-07-22 20:12:50 +00:00
patacongo
5c0f5e790f
Use a handle instead of an ID in each font lookup; this saves doing the font set lookup each time
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3802 42af7a65-404d-4744-a932-0658087f49c3
2011-07-20 02:13:08 +00:00
patacongo
298db6b143
Make NX and NXTEXT built-ins; extend stm3210e-eval/nsh2 config to run the NX example from the NX command line
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3791 42af7a65-404d-4744-a932-0658087f49c3
2011-07-16 15:52:15 +00:00
patacongo
1936763df6
Fix more NXTEXT bugs -- seems to be working now
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3768 42af7a65-404d-4744-a932-0658087f49c3
2011-07-10 22:35:35 +00:00
patacongo
0cfb54eff4
Fix NXTEST strings
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3767 42af7a65-404d-4744-a932-0658087f49c3
2011-07-10 19:56:07 +00:00
patacongo
e8ca12ee30
Fix a few NXTEXT bugs
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3765 42af7a65-404d-4744-a932-0658087f49c3
2011-07-10 17:18:26 +00:00
patacongo
b3f79deadc
Fix an error in a bounding box calculation
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3763 42af7a65-404d-4744-a932-0658087f49c3
2011-07-09 21:11:00 +00:00
patacongo
47591cea1f
Fix some NXTEXT pop-up window issues
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3757 42af7a65-404d-4744-a932-0658087f49c3
2011-07-08 20:55:49 +00:00
patacongo
8125671b10
Fix a few NXTEXT bugs (there are many more)
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3756 42af7a65-404d-4744-a932-0658087f49c3
2011-07-08 19:41:48 +00:00
patacongo
60470c1afe
Changes for clean NXTEXT compile
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3755 42af7a65-404d-4744-a932-0658087f49c3
2011-07-08 18:21:04 +00:00
patacongo
4f55c4645c
Add a test for NX text displays and also a configuration for the STM3210E-EVAL
...
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3754 42af7a65-404d-4744-a932-0658087f49c3
2011-07-08 16:36:26 +00:00