Gregory Nutt
5ecec24084
There many occurences of the global variable g_exports and the opportunity for collisions. Make the global variable names unique.
2018-07-14 16:36:25 -06:00
Gregory Nutt
e778a6990d
Correct more improper global variable naming: All must begin with g_
2018-07-14 16:23:42 -06:00
Gregory Nutt
7c1082bfcc
apps/examples/nsh: Clean up some rather complex conditional compilation associated with the previous commit.
2018-07-13 06:52:56 -06:00
Masayuki Ishikawa
0ea260e1c3
apps/examples/nsh: Add logic to automatically register an application symbol table as part of NSH initialization.
2018-07-13 06:28:36 -06:00
Masayuki Ishikawa
6b938816d1
Merged in masayuki2009/nuttx.apps/fix_helloxx (pull request #144 )
...
apps/examples/helloxx: Add main() for CONFIG_BUILD_KERNEL
Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-13 11:52:46 +00:00
Gregory Nutt
654ee7e6f9
apps/examples/elf, module, posix_spawn: Correct naming of global variables that violations the naming requirements of the coding standard.
2018-07-12 09:53:38 -06:00
Gregory Nutt
db9c56e723
apps/examples/powerled: Eliminate a warning about an uninitialized variable.
2018-07-08 13:40:20 -06:00
Mateusz Szafoni
e66470df68
Merged in raiden00/apps (pull request #143 )
...
initial commit for examples/dsptest - unit test for Nuttx DSP library
Approved-by: GregoryN <gnutt@nuttx.org>
2018-07-07 17:09:43 +00:00
Gregory Nutt
db77b1ec6c
apps/examples/tcpblaster: Fix an error in time calculation.
2018-07-06 14:44:26 -06:00
Gregory Nutt
19b8a52500
apps/examples/tcpblaster/tcpblaster_server.c: Start time was not being initialized on the server side on the first pass through loop so the first output record had a crazy time.
2018-07-05 16:39:31 -06:00
Gregory Nutt
749eccb999
Squashed commit of the following:
...
apps/examples/tcpblaster: Some improvements/fixes in statistics reporting.
apps/examples/tcpblaster: Add performance measurement functionality.
apps/examples/tcpblaster: Initial commit is just apps/examples/nettest/ with naming changes.
2018-07-05 16:03:54 -06:00
Gregory Nutt
4d8b8fa177
apps/netutils/dhcpc: Activates BINDTODEVICE if available, and break up some long lines
2018-06-25 15:19:01 -06:00
Mateusz Szafoni
0abe34183b
Merged in raiden00/apps (pull request #142 )
...
testing/unity: add configuration options for exclude setjmp and output color
Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-23 14:58:25 +00:00
Gregory Nutt
3403b1b0e9
apps/nshlib/README.txt: Clarify arguments to the mkrd command.
2018-06-22 11:35:44 -06:00
Gregory Nutt
abcb66cb20
Remove apps/interpreters/micropthon. There are several reasons for this. (1) the current version 1.3.8 is very old and no one is supporting it. (2) the port only includes the core micropython logic and none of the Python libraries. As such it is useless in any real application. (3) There have recently been compile failures reported. It looks like this is due to changes in newlib based toolchains that now bring in incompatible newlib header files. See issue 104 at https://bitbucket.org/nuttx/nuttx/issues/104/build-micropython-138-error . With no one dedicated to the support of micropython, it can no longer be carried in the NuttX apps/ repository.
2018-06-18 08:10:09 -06:00
Gregory Nutt
36d6348368
apps/nslib: Try to eliminate and uninitialized variable warning.
2018-06-17 15:37:42 -06:00
Gregory Nutt
e853fb45ce
apps/wireless/wapi: Remove dependency on CONFIG_EXPERIMENTAL from Kconfig
2018-06-17 10:55:16 -06:00
Mateusz Szafoni
133f239763
Merged in raiden00/apps (pull request #141 )
...
testing: add Unity - unit testing library from ThrowTheSwitch.org
* examples/powerled: add arch initialization; examples/smps: fixes in some printf and in Kconfig
* testing: add Unity - unit testing library from ThrowTheSwitch.org
Approved-by: GregoryN <gnutt@nuttx.org>
2018-06-15 12:44:22 +00:00
Gregory Nutt
e4a30d55ee
apps/Make.defs: Simplify last fix
2018-06-11 13:22:52 -06:00
Gregory Nutt
bf232771f6
apps/Make.defs: Fix an error introduced with recent chagne. MKKCONFIG may not be defined resulting in failure to create apps/Kconfig.
2018-06-11 10:21:22 -06:00
Alan Carvalho de Assis
36e04b3533
apps/examples/gps: Add GPS example using MINMEA lib
2018-06-09 17:54:18 -06:00
Alan Carvalho de Assis
6aad29e67d
apps/gpsutils/minmea: Include wchar.h in minmea.c file to fix wint_t error
2018-06-09 17:45:01 -06:00
Gregory Nutt
301fe2817c
Merge branch 'master' of bitbucket.org:nuttx/apps
2018-06-08 07:26:19 -06:00
Masayuki Ishikawa
67e6e330a8
Merged in masayuki2009/nuttx.apps/taskset_command (pull request #140 )
...
apps/system/taskset: Add taskset command for SMP systems
This command can be used to retrieve or set a process's CPU affinity.
For example,
nsh> taskset -p 4
pid 4's current affinity mask: 2
nsh> taskset -p 3 4
pid 4's current affinity mask: 3
nsh> taskset -p 1 busyloop &
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-08 13:24:03 +00:00
Gregory Nutt
c36a5c12cc
apps/examples/ostest: Signal handling tests should use the same configurable stack size as used in other tests, not PTHREAD_STACK_DEFAULT.
2018-06-07 09:52:02 -06:00
Marco Krahl
0c867bc603
Merged in MarcoKrahl/apps/ltdc (pull request #139 )
...
examples: Adds example to test framebuffer overlay
Signed-off-by: Marco Krahl <ocram.lhark@gmail.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-06 16:05:49 +00:00
Beat Küng
c6697c150d
Merged in bkueng/nuttx-apps (pull request #138 )
...
nsh_parse.c: fix 'while' and 'until' loop condition
The loop condition logic was inverted:
while true; do echo "test"; done
would exit immediately, while using 'until' would stay in the loop.
This is the opposite of how it is supposed to work.
The reason is that 'state' was set wrong because 'whilematch' is a bool.
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-06 12:50:41 +00:00
Masayuki Ishikawa
0123480851
Merged in masayuki2009/nuttx.apps/i2sloop_test (pull request #137 )
...
apps/examples/i2sloop: Add i2sloop application
This application can be used to test I2S loopback
nsh> i2sloop &
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
Approved-by: Gregory Nutt <gnutt@nuttx.org>
2018-06-06 12:45:51 +00:00
Dmitriy Linikov
1b4d17d9c0
apps/netutils/ftpc: Fixed handling of url-encoded strings
2018-06-04 14:29:35 -06:00
Gregory Nutt
9d4b9e8a67
Minor fixes to ChangeLog
2018-06-02 16:21:36 -06:00
Gregory Nutt
a64d93ceef
Update ChangeLog in preparation for the 7.26 release.
2018-06-02 11:29:55 -06:00
Gregory Nutt
6aa3e57004
Triva typo fixed. Also modify weird definition in import/Makefile. Still weird, but at least the directory exists.
2018-05-31 15:31:31 -06:00
Gregory Nutt
401687c04b
apps/Makefile and platform/Makefile: At clean_context targets that are now invoked from the main nuttx/Makefile.
2018-05-31 14:48:00 -06:00
Gregory Nutt
0509c48ca3
Various fixes necessary to build the simulator under MSYS.
2018-05-31 13:26:18 -06:00
Gregory Nutt
634dd7709b
apps/, Various Makefiles: Fix mixed references to nuttx/lib. These need to be changed to nuttx/staging.
2018-05-30 11:08:13 -06:00
Gregory Nutt
06dae98ce2
Fix some trivial typos. Add a comment to a C file.
2018-05-28 08:01:18 -06:00
Gregory Nutt
63db94efbc
Update README
2018-05-28 07:46:24 -06:00
Gregory Nutt
430a088784
Update README
2018-05-27 17:10:57 -06:00
Gregory Nutt
dd59d4f946
Update a readme and some comments.
2018-05-27 15:13:19 -06:00
Gregory Nutt
b84f5841d5
apps/system/zmodem: Call tcflush() before closing the serial port. This is necessary because that close operation may hang if hardware flow control is enabled. Consider this scenario: After the host sz runs on the host, it exits and leaves CTS high. The target rz completes, and tries to close the serial port. But if there is buffered Tx data, then the close will hang when it tries to drain the buffered Tx data since there is no where it can go. tcflush() discards the buffered data and permits the close to continue. There additional logic in nuttx/drivers/serial needed tow work with this.
2018-05-27 11:44:43 -06:00
Gregory Nutt
22e5af9320
apps/system/zmodem: Allow stack size and priority to be configured.
2018-05-27 10:22:06 -06:00
Gregory Nutt
9ac16049b8
apps/system/zmodem: Fix an incompatibility with the way that CRCs are calculated.
2018-05-27 08:43:22 -06:00
Gregory Nutt
d413571621
apps/system/zmodem: Fix Makefile.host. It was broken when zmodem.h was moved to apps/include/system.
2018-05-26 18:53:49 -06:00
Gregory Nutt
89c630fe55
Update a README file.
2018-05-26 17:29:53 -06:00
Gregory Nutt
1e94c78e2e
apps/system/zmodem: Add an option to enable hardware flow control via termios.
2018-05-26 15:59:58 -06:00
Gregory Nutt
803323c213
apps/system/zmodem/README.txt: Break a long lone and remove some duplicated text.
2018-05-25 18:49:36 -06:00
Boris Astardzhiev
940b7f8a3e
apps/nshlib/nsh.h: Fix typo.. #undef not #undefine.
2018-05-14 07:24:46 -06:00
Boris Astardzhiev
2c2fc512d6
nshlib/nsh_fscmds.c: Add the -r option which can be used to specify the number of entries in the FAT12/FAT16 root directory.
2018-05-11 09:50:54 -06:00
Michał Łyszczek
b6410136b7
apps/system/embedlog: Support for embedlog data loggin package from https://embedlog.kurwinet.pl/
2018-05-06 15:34:45 -06:00
Gregory Nutt
816311b5df
apps/wireless/bluetooth/btsak: Update include to account for new location of Bluetooth header files.
2018-04-29 12:44:03 -06:00