Commit Graph

34 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
Alan Carvalho de Assis
22f48cfb5e apps/examples/can: ix can example app to print data when CONFIG_EXAMPLE_CAN_READ is defined 2017-05-17 16:07:34 -06:00
Alan Carvalho de Assis
ed19c87029 Fix the new can.h header location 2017-05-12 11:58:57 -03:00
Gregory Nutt
9da9b14d8c Remove an unused label to eliminate a warning. 2016-12-06 13:10:05 -06:00
Gregory Nutt
cd6a9f8bae Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board initialization logic just like every other device driver. 2016-12-06 08:54:38 -06:00
Gregory Nutt
0042366255 can.h moved from include/nuttx/ to include/nuttx/drivers. 2016-07-20 13:39:12 -06:00
Sebastien Lorquet
546c381982 apps/examplex/can: Some variables were not declared in all required cases. 2016-06-23 08:05:06 -06:00
Gregory Nutt
6d8e81e064 examples/can: Fix to work with new CAN error reporting 2016-01-18 12:34:19 -06:00
Paul A. Patience
cadb861e7d examples/can: Add missing configuration options 2015-11-10 17:23:19 -05:00
Paul A. Patience
9eafc90125 Fix issue detected by clang 2015-09-10 21:02:11 -04:00
Gregory Nutt
bc2cf8affd apps/examples/can: Remove can_devinit(). Replace with boardctl(BOARDIOC_CAN_INITIAILIZE,0) 2015-08-18 13:25:30 -06:00
Gregory Nutt
e35f64a3cf apps/examples/can: Trivial clean/simplification for test output 2015-08-18 12:41:10 -06:00
Gregory Nutt
9abb28c725 apps/examples/can: Use new IOCTL commands to show the current bit timing values 2015-08-18 11:21:47 -06:00
Gregory Nutt
cb25507a06 apps/examples/can: Extend test to report an errors reported by the CAN driver 2015-08-18 08:50:14 -06:00
Gregory Nutt
546450cc92 apps/examples/can: Fix usage of new number-of-messages command line option 2015-08-17 11:57:25 -06:00
Gregory Nutt
64e1548bb7 apps/examples/can: Extended the CAN test by adding more command line options 2015-08-17 11:07:39 -06:00
Gregory Nutt
2f3303526f apps/examples/can: In extended ID mode, need to set some unused bits to zero or otherwise the memcmp() will fail on comparison with the returned value 2015-08-13 08:09:14 -06:00
Gregory Nutt
6d63658c46 Fixes for more complaints from cppcheck 2014-11-25 08:09:57 -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
3669b6799a More changes to reduce complaints from CppCheck. Some latent bugs fixes, but probably some new typos introduced 2014-02-10 19:11:56 -06:00
Gregory Nutt
097a0952f0 apps/examples/can: Fix an error in a debug statement. From Martin Lederhilger 2013-10-24 08:14:41 -06:00
patacongo
9fdb1157ee USB device drivers: Add hooks to to use common, external DMA buffer allocation implementation..
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5142 42af7a65-404d-4744-a932-0658087f49c3
2012-09-13 14:14:18 +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
3be1269844 NFS update; fix STM32 enabling of CAN2 clock
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4494 42af7a65-404d-4744-a932-0658087f49c3
2012-03-17 00:25:34 +00:00
patacongo
29e228f370 Extend examples/can so that it can be used in other contexts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4489 42af7a65-404d-4744-a932-0658087f49c3
2012-03-14 01:19:27 +00:00
patacongo
a3301a7079 Add support for extended (29-bit) CAN IDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4319 42af7a65-404d-4744-a932-0658087f49c3
2012-01-20 21:52:35 +00:00
patacongo
b10bc205e1 Improve LPC17xx CAN interrupt handling; Additions to LPC17xx SPI driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4255 42af7a65-404d-4744-a932-0658087f49c3
2012-01-03 13:47:40 +00:00
patacongo
6b6d7a6a54 The STM32 F4 CAN driver has been verified in loopback mode
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4251 42af7a65-404d-4744-a932-0658087f49c3
2012-01-02 16:33:05 +00:00
patacongo
61be0bba52 Add loopback support to STM32 CAN driver; Add apps/examples/can loopback test
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4213 42af7a65-404d-4744-a932-0658087f49c3
2011-12-22 15:59:50 +00:00