Commit Graph

1254 Commits

Author SHA1 Message Date
Alan Carvalho de Assis
47e647c56a examples/mlx90614/mlx90614_main.c: Include support to change device address on mlx90614 2018-11-02 07:07:36 -06:00
Gregory Nutt
a26a7f9767 apps/netutils/netlib and apps/examples/igmp: Adapt to use the corrected, semi-standard version of struct ip_msfilter. 2018-10-29 06:51:56 -06:00
Alan Carvalho de Assis
3a4faf944a apps/examples/mlx90614: Add mlx90614 test example 2018-10-28 16:04:15 -06:00
Gregory Nutt
a579bab48a apps/system/progmem: Remove this utility. It makes illegal direct calls into the OS. 2018-10-19 11:44:41 -06:00
Gregory Nutt
f7895ef681 apps/examples/fstest: Add configuration option to customize stack size. Detect when the media is full and stop writing files. Report total file size. 2018-09-29 11:52:39 -06:00
Gregory Nutt
6aacb3e03f apps/examples/fstest: Fix coding error in last commit. 2018-09-29 07:47:46 -06:00
Gregory Nutt
4e6b356123 apps/examples/fstest/Kconfig: SPIFFS GC and integrity check option interferes SPIFFS. Appears to corrupt the file system. Now marked EXPERIMENTAL. 2018-09-28 20:07:40 -06:00
Gregory Nutt
a1be83cda9 apps/examples/fstest: Add logic to dump logic content of SPIFFS 2018-09-28 11:27:01 -06:00
Gregory Nutt
3abd6f2ac8 apps/examples/fstest: Fix a situation where a file system under test could cause the fstest to get stuck in an infinit loop. 2018-09-27 19:34:32 -06:00
Gregory Nutt
65d6e8871c apps/examples/fstest: Call statfs() and show state of file system on each loop. 2018-09-27 17:01:10 -06:00
Gregory Nutt
3ba19b0d9a examples/fstest: For SPIFFS, add garbage collection and file system integrity IOCTL calls. This was to avoid running out of FLASH space while running the fstest (ENOSPC=28). However, it does not work.. still runs out of memory. 2018-09-27 12:28:33 -06:00
Gregory Nutt
4bbfdbb9fa nshlib/, examples/: Update to show newer file system object types returned by stat(). 2018-09-22 13:24:24 -06:00
Eunbong Song
525e52ff70 apps/examples/adc/Kconfig: CONFIG_BOARDCTL_ADCTEST does not exist anymore and should removed as a dependency. 2018-09-18 07:28:34 -06:00
Gregory Nutt
42e99d59ce Correct some network-related configuration variable names. All *_MTU defines were changes to *_PKTSIZE gut that was not reflected in apps/ 2018-09-14 07:06:06 -06:00
Gregory Nutt
c5edf40542 apps/examples/udpblaster: Add option to use poll() on output (only). Also picks up some fixes to various typographical errors. 2018-09-14 06:59:23 -06:00
Gregory Nutt
0d98f640b4 apps/exmples/tcpblaster: Select CONFIG_LIBC_FLOATINGPOINT automatically. Units in output are wrong: Not Kbps bus Kb/Sec. 2018-09-10 13:13:56 -06:00
Gregory Nutt
25c2756a82 apps/examples/tcpblaster: Add an option to use poll() to pace input or output. 2018-09-10 12:13:18 -06:00
Gregory Nutt
305278d1ae Application.mk: Fix some issues when building directories such as fsutils/mkfatfs that have not mainobj. In this case, the MAINSRC is undefined and it would generate a bad linker command line. 2018-09-04 13:00:03 -06:00
anchao
7f5d8dfffe apps/: Fix build break in case sama5d4-ek/elf configuration. Also fix a patch problem in mkromfsimg.h. 2018-09-04 08:05:31 -06:00
anchao
b5cfd93444 apps/: Modification to build system: Unified application compilation rules 2018-09-03 09:29:56 -06:00
Ouss4
316ffaddac apps/ examples/dhtxx: Example for the DHTxx sensor. 2018-09-01 07:49:06 -06:00
Gregory Nutt
7b5c2de165 examples/ostest/signest.c: Attempt to make the nested signal test compatible with the suspend/resume test. Some signals cannot be caught when the suspend/resume configuration is in place. 2018-08-30 13:37:37 -06:00
Gregory Nutt
8b5c28ecc2 apps/ostest/suspend.c: Add a small test for SIGSTOP, SIGCONT, and SIGKILL actions. Currently does not work! 2018-08-30 12:00:41 -06:00
ligd
93f1c13b62 apps/: Call BOARDIOC_FINALINIT after start-up script (or immediately after BOARIOC_INIT is there is no start-up script). 2018-08-28 15:44:03 -06:00
EunBong Song
1ee6fbf296 Merged in ebsong/fork-apps (pull request #152)
Master

* nettest: fix typo!

    NET_LOOPBACK -> CONFIG_NET_LOOPBACK

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

* nettest: fix compilation error.

    Should enable NET_SETSOCKOPT for preventing compilation error.

    Signed-off-by: EunBong Song <eunb.song@samsung.com>

Approved-by: GregoryN <gnutt@nuttx.org>
2018-08-28 13:46:49 +00:00
Gregory Nutt
0d6c9b8fbd apps/examples/ustream: Fix a typo that generates a warning when CONFIG_BUILD_LOADABLE is selected. 2018-08-25 16:56:53 -06:00
Gregory Nutt
2ef04ff0a8 apps/examples/sotest and modules: With recent changes, LDLIBS is initialized to bad value, at least in certain contexts. 2018-08-24 16:24:58 -06:00
Xiang Xiao
5304ec5eec Replace all ASSERT calls to DEBUGASSERT 2018-08-24 06:19:35 -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
d7bdf06055 apps/examples/module/Makefile: Correct module example build. Change to LDLIBs were causing a failure due to a non-existent (any unnecessary) library in this case. 2018-08-23 10:58:55 -06:00
Gregory Nutt
2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
Gregory Nutt
4d9b55e623 Revert "apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches."
This reverts commit b0cefbf1c7.
2018-08-22 12:06:22 -06:00
Gregory Nutt
b0cefbf1c7 apps/examples/ostest: Fix some inappropriae renaming of static functions introduced with recent patches. 2018-08-22 10:40:17 -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
anchao
9fe6d2e1c3 Remove illegal calls into OS to initialize BINFMT support. This must be moved to the board initialization logic within the OS. 2018-08-22 07:53:35 -06:00
Gregory Nutt
5d72cae1d9 apps/examples/tcpblaster: Fix names several configuration setting that were changed incorrectly in a recent commit. 2018-08-22 07:53:35 -06:00
Gregory Nutt
8de513e36b apps/system/nsh: Move apps/examples/nsh to apps/system/nsh. It has become so entrenched that it is hardly an example these days. May as well formalized it as a system task. 2018-08-18 09:04:43 -06:00
Gregory Nutt
064d4024e4 apps/examples/popen: Add a test of popen/pclose. apps/system/popen: Fix some errors found using the new popen/pclose test. 2018-08-17 14:25:33 -06:00
Juha Niskanen
2e3f1c69d1 apps/examples/usrsocktest: Fix build error, 'daemon' redeclared as different kind of symbol 2018-08-15 06:15:16 -06:00
Gregory Nutt
6d01988fe8 apps/examples/calib_udelay/Kconfig: Select CONFIG_LIBC_FLOATINGPOINT needed by calibration logic. 2018-08-15 06:06:40 -06:00
Juha Niskanen
ed13a3ae27 examples/calib_udelay: Add tool for calibrating CONFIG_BOARD_LOOPSPERMSEC 2018-08-14 06:45:16 -06:00
Gregory Nutt
a89f0e3a07 Add missing function names in function headers. 2018-08-13 15:52:59 -06:00
Gregory Nutt
a57610c2c4 Remove trailing spaces at the end of lines. 2018-08-13 07:47:26 -06:00
Gregory Nutt
367093e65c apps/examples/module: Fix some chaos in conditional compilation. 2018-08-07 10:51:04 -06:00
Gregory Nutt
057eb80564 apps/examples/module: When built in the PROTECTED or KERNEL modes, the symbol table is not built by the application. That is because the build will fail since the kernel module depends on internal OS symbols thar are not available to the appliatino build. With this change the examples does not attempt to build the kernel symbol table in these modes. Instead it just copies the kernel module symbol table into the nuttx/pass1 directory where it can be build directly into the OS during pass2 of the build. 2018-08-07 09:15:01 -06:00
Gregory Nutt
af30085f9c apps/examples/module: Fix some error introduced with last changes to this example. Found in build testing. 2018-08-05 17:03:08 -06:00
Gregory Nutt
f5eeaf1fb6 examples/module: Add support for automounting removable media. This involves a wait for the block driver to become available before performing the mount. 2018-08-05 15:35:38 -06:00
Gregory Nutt
b980e943c7 apps/examples/module: Add support for CROMFS and for stripping symbols from ELF module binaries. 2018-08-05 14:10:44 -06:00
Gregory Nutt
6210fcae8b apps/examples/elf: Update some Kconfig comments. 2018-08-04 16:38:46 -06:00
Gregory Nutt
8572f223ae apps/examples/elf: If the test ELF files are on media in removable meda such as SD or USB FLASH, the wait until the media has been installed and initialized before starting the test. 2018-08-04 16:24:02 -06:00