Gregory Nutt
|
ddcaa3d425
|
can.h moved from include/nuttx/ to include/nuttx/drivers.
|
2016-07-20 13:38:36 -06:00 |
|
Gregory Nutt
|
4b4dbc79a2
|
Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h
|
2016-07-20 13:15:37 -06:00 |
|
Gregory Nutt
|
e73e82a923
|
Move prototypes of mkfifo2() from sys/stat.h and pipe2() from unistd.h. They are non-standard and should not be in such a public place. They are not in include/nuttx/fs/fs.h (which isn't a great place either).
|
2016-07-20 11:57:18 -06:00 |
|
Gregory Nutt
|
b28fa8a609
|
Move pipe() and mkpipe() to nuttx/libc. Change syscalls to pipe2() and mkfifo2()
|
2016-07-19 14:15:26 -06:00 |
|
Gregory Nutt
|
671d7fae31
|
Add mkfifo2() and pipe2() which are just like mkfifo() and pipe(), but allow control of the size of the underlying, in-memory circular buffer
|
2016-07-19 13:51:05 -06:00 |
|
Gregory Nutt
|
d36da2b560
|
Fix bad dev[u]random_register() function return value.
|
2016-07-18 12:25:05 -06:00 |
|
Gregory Nutt
|
1660329d06
|
Rename up_rnginitialize to devrandom_register
|
2016-07-18 10:55:37 -06:00 |
|
Gregory Nutt
|
fe315f867a
|
Costmetic
|
2016-07-17 17:01:35 -06:00 |
|
Gregory Nutt
|
006f4a5818
|
HOSTFS: Fix some errors in first cut at repartitioning
|
2016-07-17 16:31:14 -06:00 |
|
Gregory Nutt
|
2b28a1f3e5
|
SIM HOSTFS: First cut at changes to get it working on Cygwin.
|
2016-07-17 15:59:45 -06:00 |
|
Gregory Nutt
|
07e20479ad
|
/dev/random: Add configuration option to use the congruential PRNG.
|
2016-07-17 07:56:25 -06:00 |
|
David Alessio
|
6cefbc0c3f
|
This change provides an option to add /dev/urandom to all architectures. The pseudo-random algorithm I choose strikes an arguably-good balance between being "random" and small/fast enough for 8/16 bit MCUs. It’s the well-documented xorshift128 algorithm. It has an internal state of 128 bits that can be [re-]seeded with a write.
|
2016-07-17 06:42:26 -06:00 |
|
Gregory Nutt
|
ded91e451b
|
PTY: Add TERMIOS support.
|
2016-07-16 10:43:44 -06:00 |
|
Gregory Nutt
|
6a75f2df89
|
PTY: Add some encode to reduce the likely of misinterpreting the return value of the file open() method
|
2016-07-15 17:13:21 -06:00 |
|
Gregory Nutt
|
9ecd558002
|
Add the correct implementation of the file_poll() function
|
2016-07-15 11:34:08 -06:00 |
|
Gregory Nutt
|
6e6c04f778
|
Rename file_poll as fdesc_poll. The file_ namespace is used for other things.
|
2016-07-15 11:21:11 -06:00 |
|
Gregory Nutt
|
f7f7036db8
|
Update some comments
|
2016-07-15 11:15:33 -06:00 |
|
Gregory Nutt
|
95555a0199
|
PTY: Add ioctls to support locking and unlocking of the slave. LIBC: Add implementation of unlockpt()
|
2016-07-15 09:39:33 -06:00 |
|
Gregory Nutt
|
6139860c0b
|
PTY: Added PTY IOCTL command definitions. Add support for TIOCGPTN. LIB: Implement ptsname() and ptsname_r()
|
2016-07-15 08:33:47 -06:00 |
|
Gregory Nutt
|
e50646336b
|
Add PTY header files
|
2016-07-15 07:19:42 -06:00 |
|
Gregory Nutt
|
beaca7a17f
|
Merge remote-tracking branch 'origin/master' into timekeeping
|
2016-07-13 10:22:38 -06:00 |
|
Max Neklyudov
|
b18369d772
|
ADC: add macros to call ADC routines
|
2016-07-13 10:12:14 -06:00 |
|
Gregory Nutt
|
c8f053de92
|
Kinetis Ethernet: Add support for the KSZ8081 PHY
|
2016-07-12 09:59:08 -06:00 |
|
David Alessio
|
261358f1f5
|
This change should significantly improve the performance of single precision floating point math library functions. The vast majority of changes have to do with preventing the compiler from needlessly promoting floats to doubles, performing the calculation with doubles, only to demote the result to float. These changes only affect the math lib functions that return float.
|
2016-07-11 07:02:50 -06:00 |
|
Gregory Nutt
|
246773faa7
|
Rename CONFIG_SCHED_TIMEKEEPING to CONFIG_CLOCK_TIMEKEEPING. That is a better compartmentalized name.
|
2016-07-11 06:54:02 -06:00 |
|
Gregory Nutt
|
f47b69e1f0
|
Add support for adjtime system call
|
2016-07-10 16:55:32 -06:00 |
|
Gregory Nutt
|
c326b6320a
|
Add description of adjtime() from Linux man page
|
2016-07-10 16:47:06 -06:00 |
|
Max Neklyudov
|
8db29071da
|
timekeeping: initial implementation
|
2016-07-10 16:14:25 -06:00 |
|
Gregory Nutt
|
2279206f5f
|
Remove carriage returns from header file
|
2016-07-07 17:11:44 -06:00 |
|
Gregory Nutt
|
88a03ae3ec
|
Break out internal interface psock_ioctl()
|
2016-07-06 07:30:09 -06:00 |
|
Paul A. Patience
|
0690391d42
|
ioexpander/gpio: Add missing argument to gpin_read and gpout_read
|
2016-07-05 15:55:16 -04:00 |
|
Gregory Nutt
|
02b91d9880
|
Add a SYSLOG character device that can be used to re-direct output to the SYSLOG
|
2016-07-05 12:58:18 -06:00 |
|
Gregory Nutt
|
a39ce80add
|
SYSLOG logic should use existing file interfaces, not re-invent them.
|
2016-07-05 12:12:44 -06:00 |
|
Gregory Nutt
|
f1cf6731eb
|
Add raise to std:: namespace in csignal
|
2016-07-04 12:22:33 -06:00 |
|
Gregory Nutt
|
830af912a1
|
Add sig_raise()
|
2016-07-04 09:32:36 -06:00 |
|
Gregory Nutt
|
aa96a1d2ec
|
Move the TZ/Olson zoneinfo data set from apps/system/zoneinfo to libc/zoneinfo
|
2016-06-30 15:40:37 -06:00 |
|
Gregory Nutt
|
a897fd4ccf
|
Eliminate use of apps/system/usbmonitor. Use drivers/usbmonitor instead.
|
2016-06-30 13:09:22 -06:00 |
|
Gregory Nutt
|
2a19e16eb0
|
libc/hex2bin: Move the portable library portion of apps/system/hex2bin to nuttx/libc/hex2bin where it can be shared with the OS internals.
|
2016-06-27 11:22:38 -06:00 |
|
Gregory Nutt
|
b16fdaf155
|
Some small improvements to GPIO driver
|
2016-06-26 11:24:35 -06:00 |
|
Gregory Nutt
|
20708c7c5e
|
GPIO driver: Fix inconsistency in naming; beef up a debug assertion.
|
2016-06-24 11:32:24 -06:00 |
|
Gregory Nutt
|
ae19ca45e0
|
drivrs/ioexpander: Add support for a very simple GPIO drivers. It supports only pre-conrigured input and output pins and only basic input and output operations.
|
2016-06-24 09:43:49 -06:00 |
|
Sebastien Lorquet
|
82d746ec35
|
STM32L4 CAN: Implementation of loopback IOCTLs
|
2016-06-22 10:02:20 -06:00 |
|
Sebastien Lorquet
|
16fe8ba342
|
Add some CAN mode IOCTL calls. These will be useful for device autotest when the application boots. They are redundant with the CONFIG_CAN_LOOPBACK option, which can now just be interpreted as a default setting.
|
2016-06-22 06:33:04 -06:00 |
|
Gregory Nutt
|
82c890db23
|
syslog_dev_flush() needs to check if the inode is a mountpoint before calling the flush() method. Noted by David Sidrane.
|
2016-06-22 05:58:33 -06:00 |
|
Gregory Nutt
|
0150991503
|
Update some comments
|
2016-06-21 16:12:05 -06:00 |
|
Gregory Nutt
|
0e1e3bc404
|
Add a file that I forgot in the last commit; Also update some comments.
|
2016-06-21 13:33:17 -06:00 |
|
Gregory Nutt
|
e6a1d53869
|
Extend SYSLOG logic so that we can send SYSLOG output to a file. Not verified on initial commit.
|
2016-06-21 12:54:47 -06:00 |
|
Paul A. Patience
|
2f76f6e848
|
can: Add support for poll
|
2016-06-21 13:02:46 -04:00 |
|
Gregory Nutt
|
5118264e6c
|
Rename CONFIG_SYSLOG_CONSOLE to CONFIG_CONSOLE_SYSLOG
|
2016-06-21 09:35:51 -06:00 |
|
Gregory Nutt
|
62d8f839c7
|
SYSLOG: Now a two phase initialization. Some SYSLOG channels cannot be initialized until later in the bringup
|
2016-06-21 07:52:24 -06:00 |
|
Gregory Nutt
|
951c71041d
|
Merged in paulpatience/nuttx/assert (pull request #66)
assert: Don't define static_assert in C++
|
2016-06-21 05:59:55 -06:00 |
|
Gregory Nutt
|
7f16548f57
|
Replaces last three commits. Does the same thing, but does it in a way that does not change the usage model.
|
2016-06-21 05:26:08 -06:00 |
|
Paul A. Patience
|
983ccf1b0a
|
assert: Don't define static_assert in C++
|
2016-06-21 07:17:29 -04:00 |
|
Gregory Nutt
|
b82743612f
|
Even the 'unconditional' _alert() macro should be disabled if all debug features are disabled.
|
2016-06-20 22:38:54 -06:00 |
|
Gregory Nutt
|
505ca542e8
|
Remove some last traces of lowvsyslog that were missed; Add a SYSLOG emergency channel for handling assertion output more cleanly
|
2016-06-20 16:11:50 -06:00 |
|
Gregory Nutt
|
d1a62f1d24
|
Add a comment
|
2016-06-20 14:26:13 -06:00 |
|
Gregory Nutt
|
7ee6668178
|
Merged in paulpatience/nuttx/assert (pull request #65)
assert: Define static_assert
|
2016-06-20 14:20:04 -06:00 |
|
Gregory Nutt
|
2a751068e6
|
Without lowsyslog() *llerr() is not useful. Eliminate and replace with *err().
|
2016-06-20 12:44:38 -06:00 |
|
Gregory Nutt
|
43eb04bb8f
|
Without lowsyslog() *llinfo() is not useful. Eliminate and replace with *info().
|
2016-06-20 11:59:15 -06:00 |
|
Gregory Nutt
|
d40a473f72
|
Without lowsyslog() *llwarn() is not useful. Eliminate and replace with *warn().
|
2016-06-20 09:37:08 -06:00 |
|
Gregory Nutt
|
2b445ddccc
|
Remove lowsyslog(). The new syslog() includes all of the functionality of lowsyslog(). No longer any need for two interfaces.
|
2016-06-20 08:57:08 -06:00 |
|
Paul A. Patience
|
a96c7492ad
|
assert: Define static_assert
|
2016-06-20 10:29:41 -04:00 |
|
Gregory Nutt
|
f4c47636e7
|
SYSLOG: Debug output from the IDLE task should be forced like interrupt level output
|
2016-06-20 07:35:38 -06:00 |
|
Gregory Nutt
|
fa365e85f5
|
Update some cmoments
|
2016-06-20 06:11:22 -06:00 |
|
Gregory Nutt
|
7dd66a4620
|
Need to pass va_list as a reference to vsyslog. This is because va_list is a structure in some compilers and passing of structures in the NuttX sycalls does not work.
|
2016-06-19 14:50:00 -06:00 |
|
Gregory Nutt
|
5b2aa7bf99
|
Remove all traces of CONFIG_SYSLOG
|
2016-06-19 13:59:43 -06:00 |
|
Gregory Nutt
|
9434d3e945
|
There is now one-and-only-one copy of syslog_putc. It is in the SYSLOG channel logic and can redirect syslog output as needed. All former syslog_putc versions were renamed and the corresponding SYSLOG device initializaiton now calls syslog_channel()
|
2016-06-19 13:03:20 -06:00 |
|
Gregory Nutt
|
d82942cf3b
|
Merge remote-tracking branch 'origin/master' into syslog
|
2016-06-19 11:20:31 -06:00 |
|
Gregory Nutt
|
9f260ca193
|
Some renaming so that future features will fit in better; If the architecture provides its only system logging (via CONFIG_ARCH_SYSLOG), then syslog_initialize() is stubbed out
|
2016-06-19 11:16:12 -06:00 |
|
Gregory Nutt
|
19c6a82f8b
|
a few cosmetic changes
|
2016-06-19 09:52:34 -06:00 |
|
Gregory Nutt
|
f59196247c
|
Merge remote-tracking branch 'origin/master' into syslog
|
2016-06-19 09:47:13 -06:00 |
|
Gregory Nutt
|
0f18f3bd15
|
Move RAMLOG initialize from up_initialilize.c files to syslog_initialize(). up_initialize.c files now call syslog_initialize() unconditionally
|
2016-06-19 09:39:21 -06:00 |
|
Gregory Nutt
|
3bd953316f
|
Add a hook before the existing syslog_initialize() call; rename the old syslog_initialize() to syslog_dev_initialize().
|
2016-06-19 09:12:33 -06:00 |
|
Gregory Nutt
|
2ff6ff39c9
|
Merge remote-tracking branch 'origin/master' into syslog
|
2016-06-19 08:11:07 -06:00 |
|
Gregory Nutt
|
b66112347c
|
include/nuttx/syslog/syslog.h now needs to include stdarg.h
|
2016-06-19 08:08:43 -06:00 |
|
Gregory Nutt
|
668980b4fa
|
Merge remote-tracking branch 'origin/master' into syslog
|
2016-06-19 08:02:42 -06:00 |
|
Gregory Nutt
|
34f776dce9
|
Move the OS intensive part of vsyslog and vlowsyslog to drivers/syslog/vsyslog.c and vlowsyslog.c. Also move lib_syslogstrem to drivers/syslog/syslogstream.c
|
2016-06-19 07:56:24 -06:00 |
|
Gregory Nutt
|
39a3c9aaee
|
Merge remote-tracking branch 'origin/master' into syslog
|
2016-06-19 07:04:51 -06:00 |
|
Gregory Nutt
|
f5e5908a70
|
vsyslog is now a system call
|
2016-06-19 07:03:44 -06:00 |
|
Gregory Nutt
|
fedf00033c
|
Make default interupt buffer smaller
|
2016-06-19 07:03:10 -06:00 |
|
Gregory Nutt
|
ea9565e137
|
SYSLOG: Flesh out interrupt buffer logic
|
2016-06-18 14:54:25 -06:00 |
|
Gregory Nutt
|
c44a011394
|
Add some basic SYSLOG channel selection logic
|
2016-06-18 12:54:55 -06:00 |
|
Gregory Nutt
|
b39e53391d
|
Add underscore at beginning of alert() as well
|
2016-06-16 12:38:05 -06:00 |
|
Gregory Nutt
|
0c8c7fecf0
|
Add _ to the beginning of all debug macros to avoid name collisions
|
2016-06-16 12:33:32 -06:00 |
|
Gregory Nutt
|
6f08216621
|
Centralize definitions associated with CONFIG_DEBUG_SYSCALL
|
2016-06-16 08:12:38 -06:00 |
|
Gregory Nutt
|
7a9f1814a2
|
Centralize definitions associated with CONFIG_DEBUG_SDIO/MEMCARD
|
2016-06-16 07:50:54 -06:00 |
|
Gregory Nutt
|
b7f0fbc073
|
Centralize definitions associated with CONFIG_DEBUG_RTC
|
2016-06-16 07:39:23 -06:00 |
|
Gregory Nutt
|
37b9742189
|
Centralize definitions associated with CONFIG_DEBUG_TIMER
|
2016-06-16 07:16:25 -06:00 |
|
Gregory Nutt
|
6b517ed017
|
Centralize definitions associated with CONFIG_DEBUG_WATCHDOG
|
2016-06-16 06:28:04 -06:00 |
|
Gregory Nutt
|
03cbe671ad
|
Centralize definitions associated with CONFIG_DEBUG_PWM
|
2016-06-15 17:23:56 -06:00 |
|
Gregory Nutt
|
8ce929a915
|
Centralize definitions associated with CONFIG_DEBUG_I2S
|
2016-06-15 16:54:01 -06:00 |
|
Gregory Nutt
|
5c89b18af8
|
Centralize definitions associated with CONFIG_DEBUG_I2C
|
2016-06-15 16:30:12 -06:00 |
|
Gregory Nutt
|
63b1eb09e6
|
Centralize definitions associated with CONFIG_DEBUG_CAN
|
2016-06-15 15:45:27 -06:00 |
|
Gregory Nutt
|
2ddd57c674
|
Centralize definitions associated with CONFIG_DEBUG_LEDS
|
2016-06-15 14:12:19 -06:00 |
|
Gregory Nutt
|
24c51ec1ff
|
Centralize definitions associated with CONFIG_DEBUG_LCD
|
2016-06-15 11:40:33 -06:00 |
|
Gregory Nutt
|
ba03134bed
|
Centralize definitions associated with CONFIG_DEBUG_SPI
|
2016-06-15 10:41:13 -06:00 |
|
Gregory Nutt
|
a97d3ae707
|
Centralize definitions associated with CONFIG_DEBUG_GPIO
|
2016-06-15 09:20:23 -06:00 |
|
Gregory Nutt
|
c4e6f50eac
|
Centralize definitions associated with CONFIG_DEBUG_IRQ
|
2016-06-15 08:35:22 -06:00 |
|
Gregory Nutt
|
58a0fa8a1e
|
Trivial spacing changes from review of last PR
|
2016-06-14 16:41:10 -06:00 |
|
Gregory Nutt
|
0da02686e6
|
Merged in K-man23/nuttx/ncp5623c (pull request #57)
Forgot to add the header file for the ncp5623c driver
|
2016-06-14 16:35:54 -06:00 |
|