Commit Graph

29 Commits

Author SHA1 Message Date
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
8ac1952d4c examples/fb: Add a simple test for the framebuffer character driver. This initial commit just verfies some interfaces and initialization logic. Still need to add to graphics update logic. 2017-09-12 09:51:47 -06:00
Masayuki Ishikawa
98fb74b82c examples/adc: Fix g_adcstate.count initialization. 2017-09-11 14:01:09 +09:00
Gregory Nutt
f5fc7a0a29 C files that reference ANIOC_TRIGGER now need to include nuttx/analog/ioctl.h 2017-02-25 16:39:57 -06:00
Gregory Nutt
188588e87b Eliminate a warning 2016-12-06 07:16:40 -06:00
Gregory Nutt
a479f9abed Remove all usage of BOARDIOC_ADCTEST_SETUP 2016-12-05 17:12:33 -06:00
Paul A. Patience
e795c6eabd apps/examples/adc: Fix Kconfig file 2015-11-01 22:03:24 -05:00
Gregory Nutt
3e01a06431 When boardctl() fails, need to print errno not the returned value which will always be -1. 2015-04-16 09:11:47 -06:00
Gregory Nutt
39c47ee3f7 Rename adc_devinit() to board_adc_setup(). Add support to the boardctl() interface so that it can call board_adc_setup() on behalf of an application. Change apps/examples/adc to that is now calls boardctl() instead of adc_devinit() in order to initalize the ADC device. 2015-03-31 15:00:23 -06:00
Gregory Nutt
8aae2cfc11 Fixes for more cppcheck complaints. Mostly cosmetic 2014-11-25 14:51:10 -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
eb39b81b69 apps/examples/adc: Add support for software triggering 2013-10-25 14:17:29 -06:00
patacongo
87a399e6b3 ADC support for the Shenzhou board from Darcy Gong
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5232 42af7a65-404d-4744-a932-0658087f49c3
2012-10-13 13:19:56 +00:00
patacongo
8181e26325 Change all occurrences of CONFIG_EXAMPLE_ to CONFIG_EXAMPLES_ for consistency; fleshed out a few more Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5211 42af7a65-404d-4744-a932-0658087f49c3
2012-10-04 17:36:07 +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
6653351013 Add support for testing multiple ADC, PWM, and QE devices
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4993 42af7a65-404d-4744-a932-0658087f49c3
2012-07-30 16:51:43 +00:00
patacongo
7e93d78fc7 Calibrated all PIC32 delay loops
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4217 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 22:24:00 +00:00
patacongo
9c0f5e8bf7 Update to the STM32 ADC and CAN drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4215 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 21:55:54 +00:00
patacongo
62c8ae0d17 STM32 ADC driver update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4211 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 00:31:47 +00:00
patacongo
e10f0165f1 Add a test for PWM drivers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4202 42af7a65-404d-4744-a932-0658087f49c3
2011-12-19 23:06:41 +00:00
patacongo
001d21f591 STM32 ADC update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4194 42af7a65-404d-4744-a932-0658087f49c3
2011-12-17 00:21:10 +00:00
patacongo
184d65352f Fix the data format used in apps/examples/adc
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4193 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 19:56:47 +00:00
patacongo
ce28cd29df Updated STM32 ADC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4189 42af7a65-404d-4744-a932-0658087f49c3
2011-12-16 00:32:11 +00:00
patacongo
f31ebb053b Add a framework for an ADC test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4180 42af7a65-404d-4744-a932-0658087f49c3
2011-12-14 23:37:38 +00:00