Commit Graph

919 Commits

Author SHA1 Message Date
ziggurat29
5d61e3d6eb heap corruption due to buffer overrun when initializing txbuffer; incorrect size 2016-04-20 20:23:01 -05: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
8763ff02fb Remove bad commit of a submodule; Also updates a README. 2016-04-06 16:42:49 -06:00
Gregory Nutt
5193d93cf5 apps/examples/alarm: Add a simple the RTC alarm ioctl commands 2016-04-03 09:19:19 -06:00
Gregory Nutt
0c124ca2e1 Fix some Kconfig files so that they authomatically select the correct BOARDCTL options 2016-03-30 07:37:45 -06:00
Gregory Nutt
0943afd2f9 Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y 2016-03-26 07:13:57 -06:00
Gregory Nutt
6951366eca Replace all calls to the OS internal usbdev_serialinitialize with proper calls to boardctl() 2016-03-25 16:00:28 -06:00
Gregory Nutt
a31300cb05 Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls 2016-03-25 13:26:00 -06:00
Gregory Nutt
f45d5a7ebf Minor changes from review 2016-03-24 11:22:24 -06:00
ziggurat29
bd273b9f13 minor; intialize buffer to well-known patter to make it easy to see if it was truly filled with random data 2016-03-24 11:43:45 -05:00
Gregory Nutt
badbb3ad9a Update a comment 2016-03-22 18:14:08 -06:00
Gregory Nutt
a473ececed apps/examples/sched_note: Fix some issues associated with monitoring critical sections 2016-03-21 17:09:18 -06:00
Gregory Nutt
5a95cb4601 apps/examples/sched_note: Add task state to suspend event output; fix some output formatting errors 2016-03-21 15:25:11 -06:00
Gregory Nutt
b44c9fa174 apps/examples/sched_note: Adjust example for changes to scheduler instrumentation 2016-03-21 14:09:25 -06:00
Gregory Nutt
2443278928 Fix error in time calculation 2016-03-17 16:13:43 -06:00
Gregory Nutt
6a5b6f8753 Add a simple test of the scheduler instrumentation logic. This initial version is still kind of buggy. 2016-03-17 16:02:28 -06:00
Gregory Nutt
84f453b7a1 apps/examples/ostest: Add a test of TLS 2016-03-11 14:02:00 -06:00
Gregory Nutt
4c10341269 apps/exampels/rgb: Make path to driver a configuration option 2016-02-23 07:04:54 -06:00
Alan Carvalho de Assis
855d2e70bf apps/examples/rgbled: Add an example using the RGB LED driver 2016-02-23 06:53:35 -06:00
Gregory Nutt
6125e9376e Standardize some naming in code section comments 2016-02-21 18:15:00 -06:00
Gregory Nutt
431695015e apps/examples/smp: Improvements/fixes 2016-02-21 13:29:25 -06:00
Gregory Nutt
65a6739593 Add test for verifying SMP operation 2016-02-21 11:33:13 -06:00
Gregory Nutt
65a1d53079 Add some REVISIT comments 2016-02-20 14:57:37 -06:00
Gregory Nutt
ec11a454f9 apps/examples/leds: Need to better used of the supported set 2016-02-20 14:06:34 -06:00
Gregory Nutt
6037ed8643 Some fixes to apps/examples/leds 2016-02-20 13:20:22 -06:00
Gregory Nutt
790899508e apps/examples/leds: An example showing how to use the LED driver 2016-02-20 12:11:42 -06:00
Gregory Nutt
7537a963b4 UAVCAN: Add a patch to make the verified version of UAVCAN compatible with the current NuttX code base 2016-02-15 19:11:52 -06:00
Gregory Nutt
d5c3bae6cd apps/: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 15:15:37 -06:00
Gregory Nutt
3ef9b14738 Move apps/examples/ubloxmodem to apps/system/ubloxmodem 2016-01-31 09:35:42 -06:00
Vladimir Komendantskiy
02a5e25f56 apps/examples/ubloxmodem: app to control the power state of the modem in nsh. 2016-01-31 09:07:46 -06:00
Vladimir Komendantskiy
387dda152c chat app and required update to the pppd client. 2016-01-29 17:00:59 -06:00
Gregory Nutt
e00bc64c40 Trivial correction of some spacing 2016-01-23 17:04:37 -06:00
Gregory Nutt
e39c85b718 Eliminate a warning about a symbol being redefined 2016-01-23 17:03:46 -06:00
Gregory Nutt
615e640913 More bash scripts executable 2016-01-23 15:30:09 -06:00
Gregory Nutt
fff6765e63 Update some README files 2016-01-22 17:20:15 -06:00
Gregory Nutt
dd53e9ae57 Merged in paulpatience/nuttx-apps/qencoder (pull request #28)
examples/qencoder: Add configuration options to Kconfig file
2016-01-19 12:55:53 -06:00
Paul A. Patience
f5da6e23cf examples/qencoder: Add configuration options to Kconfig file 2016-01-19 13:45:33 -05:00
=?UTF-8?B?6ZmI5p6X6aOe?=
f738166b17 examples/watchdog: Some fixes to help text and ping time range 2016-01-19 06:57:34 -06:00
Gregory Nutt
6d8e81e064 examples/can: Fix to work with new CAN error reporting 2016-01-18 12:34:19 -06:00
Gregory Nutt
19efbf8b87 OS test: Mark some constants as long to avoid overflow when used the AVR8. Example, 500*1000 overflows when type int is only 16-bits, but 500*1000L avoids the overflow 2016-01-08 07:48:50 -06:00
Gregory Nutt
96ee336278 apps/examples/hello: Can now select task priority and stacksize 2016-01-06 07:47:08 -06:00
Gregory Nutt
d5f8008931 OS test: Add a test of POSIX timers using SIGEV_THREAD. Also, clean up many warnings with building on a PC with 64-bit addresses 2015-12-30 16:29:21 -06:00
Alan Carvalho de Assis
1308399564 apps/examples/pca9635: Add a simple test of PCA9635PW PWM LED driver. From Alan Carvalho de Assis. 2015-12-15 14:10:21 -06:00
Gregory Nutt
41c673d95d apps/examples/module: cosmetic update to printf statements 2015-12-14 13:21:39 -06:00
Gregory Nutt
f0a21d3d48 NSH: Add module commands: insmod, rmmod, and lsmod 2015-12-13 09:55:52 -06:00
Gregory Nutt
d198f09ae3 Update examples/module and system/symtab to adjust to change in boardctl() and insmod() interfaces 2015-12-13 08:14:44 -06:00
Gregory Nutt
469a7fdf0f examples/module: Update for changes in function prototypes 2015-12-12 17:43:06 -06:00
Gregory Nutt
052392f36c examples/module. Module should not link with libc because it has out-of-range function calls 2015-12-12 14:00:34 -06:00
Gregory Nutt
ad4bcac7a0 apps/examples/module: Some fixes 2015-12-12 11:49:34 -06:00
Gregory Nutt
6c14e176d9 apps/examples/module: Now exercises rmmod as well 2015-12-12 11:40:33 -06:00
Gregory Nutt
d02295d1f2 apps/examples/module: Add a test harness for testing NuttX kernel modules 2015-12-12 09:43:32 -06:00
Gregory Nutt
ba8d44d799 netutils/telnetd: Move the Telnet driver to nuttx/drivers/net 2015-12-07 09:29:29 -06:00
Gregory Nutt
0798b5ff20 Remove more warnings 2015-11-29 15:00:52 -06:00
Gregory Nutt
ee1b1da4be Fix some errors/warnings detected by nuttx/tools/testbuild.sh 2015-11-29 14:41:34 -06:00
Paul A. Patience
32ae747c7b examples/serialrx: Don't print 'Received:\n' before printing bytes received 2015-11-25 10:32:20 -05:00
Gregory Nutt
c195b5415e Merged in paulpatience/nuttx-apps/serialrx (pull request #25)
examples/serialrx: Add configuration options to print the bytes received
2015-11-24 16:09:53 -06:00
Paul A. Patience
e6137fc615 examples/serialrx: Add configuration options to print the bytes received 2015-11-24 16:36:00 -05:00
Gregory Nutt
7e43708e9c Remove unnecessary inclusion of nxtk.h 2015-11-24 07:56:20 -06:00
Ken Pettit
efbbd7bac0 examples/smart-test: Adds a circular log type test for SMARTFS wear level code testing. From Ken Petit 2015-11-22 17:22:05 -06:00
Ken Pettit
cbe1b3a415 drivers/mtd/smart.c Fixed SmartFS wear level error that occurs when the logical sector size is too small to save all wear level status bytes in a single sector. Logical sectors 1 and 2 were simply not being allocated and then the read_sector and write_sector routines were failing. From Ken Petit 2015-11-18 18:20:42 -06:00
Gregory Nutt
cfc38a45fa Remove inclusion of removed header file 2015-11-17 16:30:57 -06:00
Gregory Nutt
f8621e623d examples/media: If it is an MTD device, then do a bulk erase first 2015-11-13 11:30:52 -06:00
Paul A. Patience
79023fe026 examples/uavcan: Call up_cxxinitialize 2015-11-12 13:01:03 -05:00
Paul A. Patience
cadb861e7d examples/can: Add missing configuration options 2015-11-10 17:23:19 -05:00
Gregory Nutt
7f0ff3a6db examples/media: Add some more informative output 2015-11-10 13:35:10 -06:00
Gregory Nutt
ae8e89eed0 examples/media: Need to update position before seeking; handle the too-many-error case more gracefully 2015-11-10 11:34:33 -06:00
Gregory Nutt
a584ef09aa examplex/media: Need to seek back to beginning of file on second pass 2015-11-09 13:33:37 -06:00
Gregory Nutt
5fdd68f014 Flesh out examples/media 2015-11-09 13:10:00 -06:00
Gregory Nutt
9ee96d1430 examples/media: Add a simple test of access to media by block and MTD drivers 2015-11-09 11:45:44 -06:00
Gregory Nutt
57050b0f82 Allow the NULL example to be used as an NSH builtin 2015-11-05 14:08:29 -06:00
Paul A. Patience
e795c6eabd apps/examples/adc: Fix Kconfig file 2015-11-01 22:03:24 -05:00
Paul A. Patience
09ba08d6da apps/examples/pwm: Add support for multiple output channels per timer 2015-11-01 17:14:18 -05:00
Alan Carvalho de Assis
825b721dfa apps/examples/zerocross: Add a Zero Cross application example. From Alan Carvalho de Assis 2015-10-13 07:46:42 -06:00
Gregory Nutt
d538f48797 Add dependencies, button and timer example will only work in a flat build 2015-10-12 12:45:43 -06:00
Gregory Nutt
a512e7dc1d Fix a loop indexing problem in all file system tests 2015-10-10 17:15:15 -06:00
Gregory Nutt
b93af2189b Add a generic file system test at apps/examples/fstest 2015-10-10 14:18:23 -06:00
Paul A. Patience
2aeaff042d apps/examples/uavcan: Remove call to boardctl() 2015-10-08 13:42:24 -04:00
Paul A. Patience
f24828337f apps/examples/uavcan: Call boardctl to configure CAN GPIOs 2015-10-07 00:00:39 -04:00
Paul A. Patience
0168398831 UAVCAN: Add more options in Kconfig file 2015-10-06 21:26:30 -04:00
Gregory Nutt
aacfce081e Fix several cosmetic, C coding style issues 2015-10-03 11:03:42 -06:00
Gregory Nutt
f6e7e9c1c0 Standardize the width of all comment boxes in C files 2015-10-03 07:20:15 -06:00
Gregory Nutt
9cb2849742 Standardize the width of all comment boxes in header files 2015-10-02 17:35:18 -06:00
Gregory Nutt
0629c5466e Standardize the width of all comment boxes in C file 2015-10-02 17:33:30 -06:00
Gregory Nutt
e3ad56043e Standardize naming used for public data and function groupings 2015-10-02 16:20:33 -06:00
Gregory Nutt
e9447c6058 Standardize nameing of the pre-processor definitiongs group header 2015-10-02 14:06:11 -06:00
Gregory Nutt
e97a766e90 Make sure that UAVCAN Node ID is in a valid range 2015-10-01 10:16:31 -06:00
Gregory Nutt
e32e6064e0 Update ChangeLog and README 2015-10-01 07:10:25 -06:00
Paul A. Patience
e8ca4c3fde UAVCAN: Add example application 2015-09-30 22:11:46 -04:00
Gregory Nutt
eff5642eca Merged in paulpatience/nuttx-apps (pull request #11)
UAVCAN: Add platform-specific code
2015-09-30 16:54:08 -06:00
Paul A. Patience
a7cd308658 UAVCAN: Add platform-specific code 2015-09-30 18:39:37 -04:00
Gregory Nutt
2e0d0ede6d Add apps/exemples/udpblaster 2015-09-30 10:56:31 -06:00
Paul A. Patience
298a72c71e Add UAVCAN library 2015-09-23 13:48:35 -04:00
Paul A. Patience
9eafc90125 Fix issue detected by clang 2015-09-10 21:02:11 -04:00
Gregory Nutt
9ef516c311 Some corrects to previous nxterm commit 2015-09-08 11:53:29 -06:00
Gregory Nutt
f10f2de2e4 Eliminate some warnings 2015-09-08 09:20:49 -06:00
Gregory Nutt
a5d4ed2fef Make sure that CONFIG_USBDEV_TRACE_INITIALIDSET has an assigned value to avoid warnings 2015-09-08 07:24:26 -06:00
Gregory Nutt
5306a27335 apps/examples/ajoystick: Fix missing includes of Application.mk 2015-09-07 16:31:17 -06:00
Alan Carvalho de Assis
aa17ae4c0a Add pap_username/password to pppd example if PAP Auth is enabled 2015-09-07 13:48:37 -06:00
Paul A. Patience
85a2cecb99 Simplify apps/ Makefiles by combining common logic into the Makefile fragment Application.mk 2015-09-05 15:13:03 -04:00
Gregory Nutt
7084ce0e02 Cosmetic: Move # of pre-processior command to column 1 2015-09-05 09:12:20 -06:00
Gregory Nutt
32666422a8 apps/examples/netloop: will now build as an NSH built-in app 2015-09-03 08:19:15 -06:00
Gregory Nutt
84dbf4ee7c Most cosmetic changes to apps/examples/netloop 2015-09-02 18:30:12 -06:00
Gregory Nutt
9191e22624 apps/examples/netloop: Add a test of the local loopback device 2015-09-02 18:18:47 -06:00
Gregory Nutt
9cc360ab75 Cosmetic changes 2015-09-02 16:49:17 -06:00
Gregory Nutt
ed2ccad735 examples/nettest: Fix a couple of crazy long delays that may make you think something is broken. In main, add a wait for the server to exit 2015-08-27 11:46:42 -06:00
Gregory Nutt
a7853cdc89 apps/examples/nettest: Extend the test so that it can be down using the local loopback device 2015-08-26 10:35:40 -06:00
Gregory Nutt
6cedfcd632 apps/examples/nettest: Add option to suppress networking initialization 2015-08-26 09:06:41 -06:00
Pavel Pisa
64fb2c63b6 Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT 2015-08-20 16:08:45 -06:00
Gregory Nutt
d836478728 apps/examples/usbserial: Can now be run as an NSH builtin-function. Now uses a configurable IO buffer size 2015-08-20 10:40:31 -06: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
c11c4d6bd9 Add si_errno to siginfo_t 2015-08-14 10:12:35 -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
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Anton D. Kachalov
b43c5a6b1e THTTPD: Depends on !DISABLE_POLL
webserver:  Allow to build webserver as an application

Signed-off-by: Anton D. Kachalov mouse@yandex-team.ru
2015-08-10 14:44:11 -06:00
Gregory Nutt
09add96e22 Change the name of the local variable sigset to set to prevent name collisions with the function of the same name 2015-07-31 13:31:44 -06:00
Gregory Nutt
14eb3f6cdc OS test: Minor improvements to the sporadic scheduler test 2015-07-28 14:27:48 -06:00
Gregory Nutt
ae2e61c764 OS test: improve the sporadic scheduler test by waiting for a bit in the 'nuisance' thread 2015-07-27 15:52:27 -06:00
Gregory Nutt
c27364570f OS test, sporadic scheduler test: If more timers are available, use them 2015-07-27 08:10:59 -06:00
Gregory Nutt
70f1ee9dcd OS test: Sporadic test now emits a message if the max_repl configuration is too small for the test to work reliably 2015-07-26 15:34:33 -06:00
Gregory Nutt
46c3158b85 OS test: Cosmetic changes to printf output in sporadic scheduler test 2015-07-26 10:52:47 -06:00
Gregory Nutt
b0fa962e42 OS test: Sporadic test was passing an illegal value for max_repl 2015-07-25 12:47:24 -06:00
Gregory Nutt
51b645eb34 OS test: add some locking and unlocking of the scheduler to the sporadic scheduler test in order to test a few more cases 2015-07-25 12:29:22 -06:00
Gregory Nutt
e15a186530 OS test: Some extensions to the sporadic scheduler test 2015-07-24 18:16:10 -06:00
Gregory Nutt
bc4a0ec95f OS test: Make the sporadic test output more readable 2015-07-24 14:13:01 -06:00
Gregory Nutt
2d46cae060 Add a test for the sporadic scheduler 2015-07-24 13:50:31 -06:00
Gregory Nutt
e5ebfe35f6 OS test: improve synchronization for starting the round robin test 2015-07-24 13:04:40 -06:00
Gregory Nutt
3a57f9e2ef Adjust for increased size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:57 -06:00
Gregory Nutt
13a04b6255 apps/examples/nxlines: Clear a slightly larger rectangle than the one that we drew. This eliminates edge effects due to applying anti-aliasing twice: Once when the line was drawn, and again when the line was erased by overwriting it with the background color 2015-07-14 14:24:51 -06:00
Gregory Nutt
ba72767d09 apps/netutils/netlib and other files: Create netlib wrapper functions around dns_getserver() and dns_setserver() to isolate application code from changes to those interfaces. 2015-07-12 11:53:23 -06:00
Gregory Nutt
812450ebe6 If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h 2015-07-12 09:25:39 -06:00
Gregory Nutt
effda16cf5 DNS: Remove some unused, non-functional DNS functions 2015-07-11 07:17:11 -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
03f477462a Remove broken host support for examples/sendmail and examples/wget 2015-07-10 14:36:18 -06:00
Gregory Nutt
5e8928d009 Remove bogus references to CONFIG_HAVE_GETHOSTBYNAME 2015-07-10 14:03:28 -06:00
Gregory Nutt
6bfef5b2de os_main.c may not call waitpid() and so needs to include sys/wait.h 2015-07-10 13:32:00 -06:00
Gregory Nutt
7e937597f9 Fix up nameing of configuration variables to follow changes made in nuttx 2015-07-10 12:12:22 -06:00
Gregory Nutt
48c36800f5 apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location. 2015-07-10 11:31:13 -06:00
Gregory Nutt
45bc73898c Fix a missing quot mark in a Kconfig 2015-07-08 13:43:17 -06:00
Gregory Nutt
e2dad619f6 Review and update OS test changes 2015-07-06 14:51:49 -06:00
Brennan Ashton
e7dc07c291 [OSTEST] Add option to poweroff with test status 2015-07-06 11:51:15 -07:00
Gregory Nutt
28c654c9b1 apps/examples/tcpecho/tcpecho_main.c: Add missing header file 2015-07-02 12:20:39 -06:00
Gregory Nutt
322561dcf3 Fix types in #error message 2015-07-01 14:31:28 -06:00
Gregory Nutt
edd4e9a797 apps/examples/poll: Fix a few bit-rot compilation errors 2015-07-01 09:46:52 -06:00
Gregory Nutt
1662fcff0b Update some URLs due to movement of the Documentation repository 2015-06-29 11:24:52 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00