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
69637bf825
Costmetic changes to better match coding style
2016-07-17 13:39:21 -06:00
Gregory Nutt
1b7455c171
Update comments in a Kconfig
2016-07-17 11:09:01 -06:00
Gregory Nutt
76dc238baf
Add more name mappings to nuttx-names.dat
2016-07-17 09:44:27 -06:00
Gregory Nutt
5a35abb488
Improve some comments
2016-07-17 08:31:02 -06:00
Gregory Nutt
07e20479ad
/dev/random: Add configuration option to use the congruential PRNG.
2016-07-17 07:56:25 -06:00
Gregory Nutt
ffd3a31649
Rename lib_rand.c to lib_srand.c
2016-07-17 07:11:09 -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
Alan Carvalho de Assis
91ba0be667
Enable TERMIOS support in stm32discovery/pseudoterm configuration
2016-07-16 17:49:37 -06:00
Gregory Nutt
ba62b49190
SIM: Add more names to nuttx-namex.dat
2016-07-16 16:14:18 -06:00
Gregory Nutt
8710b56670
STM32F4 Discovery: Add a pseudo-terminal example
2016-07-16 11:30:43 -06:00
Gregory Nutt
ded91e451b
PTY: Add TERMIOS support.
2016-07-16 10:43:44 -06:00
Alan Carvalho de Assis
8fa14b8fed
Fix poll-related compile issues introduced with recent PTY changes
2016-07-16 07:03:38 -06:00
Gregory Nutt
11fe9378df
Fix some warnings
2016-07-16 07:02:06 -06:00
Gregory Nutt
bcb6095f1f
Add an assertion
2016-07-15 17:47:00 -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
873f1f6da5
Merged in HeathPetersen/nuttx (pull request #102 )
...
EXEEXT only needs to be appended once
2016-07-15 17:11:22 -06:00
Heath Petersen
c57672aeab
EXEEXT only needs to be appended once
2016-07-15 17:50:00 -05:00
Gregory Nutt
e7f31cc967
Freedom-K64F: Enable built-in applications in all configurations
2016-07-15 14:58:20 -06:00
Gregory Nutt
4b1553d3ad
PTY: Fix some tricky issues. Now seems to be working. A lot more testing is needed
2016-07-15 14:29:32 -06:00
Gregory Nutt
4b5149b244
PTY: Fix a few errors from early testing
2016-07-15 14:09:02 -06:00
Gregory Nutt
e7f0a56498
Correct some comments
2016-07-15 13:13:53 -06:00
Gregory Nutt
7b298a828d
up_pminitialize() needs to be called from instances of up_initialize()
2016-07-15 13:11:28 -06:00
Gregory Nutt
d3b3c71d97
All architectures: Add logic to automatically register /dev/ptmx a boot time
2016-07-15 11:54:41 -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
4d1b811117
PTY: Add support for the poll() method.
2016-07-15 10:07: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
bcbe9806d2
In SUSv1 model, need to tried the PTY driver pair as unlinked if the master closes its reference
2016-07-15 07:33:48 -06:00
Gregory Nutt
14c216107a
PTY: Need to free PTMX minor number is slave is unlinked
2016-07-15 07:22:36 -06:00
Gregory Nutt
e50646336b
Add PTY header files
2016-07-15 07:19:42 -06:00
Gregory Nutt
a615944e0a
Merged in HeathPetersen/nuttx (pull request #101 )
...
Correct some Make.defs problems for qemu-486 config
2016-07-15 07:03:21 -06:00
Gregory Nutt
1d2318439d
Merged in young-mu/nuttx (pull request #100 )
...
Fix a bug of tiva i2c ports configuration
2016-07-15 07:02:40 -06:00
Gregory Nutt
7fa5093fff
PTYs prototypes hooked into build and configuration system (as EXPERIMENTAL)
2016-07-15 06:48:10 -06:00
Gregory Nutt
c9d7ae6f47
Oops part of last commit was still in the editor.
2016-07-15 06:29:46 -06:00
Vladimir Komendantskiy
fd51393a37
Correct typos in SAMV71-XULT and SAME70-Xplained header files.
2016-07-15 06:26:04 -06:00
Young
7005fafb95
Fix a bug of tiva i2c ports configuration
2016-07-15 11:03:48 +08:00
Young
426dac3747
Merged nuttx/nuttx into master
2016-07-15 11:02:10 +08:00
Gregory Nutt
ccf4bfafcb
Prototype versions of ptmx/pty suppoprt. Still under developement; not yet hooked into build or configuration system.
2016-07-14 20:20:48 -06:00
David Alessio
912ad2d345
Fix bug in logf() algorithm that caused erroneous INFINITY results.
2016-07-14 20:15:37 -06:00
Gregory Nutt
18059d6821
Restore Wolfgang Reissnegger's PR as submitted. My mistake is it late here.
2016-07-14 18:39:51 -06:00
Wolfgang Reissnegger
f982180ec7
SAM3/4 Timer: Remove broken definitions for BMR register.
...
Per documentation SAM4S and SAM4E have the BMR register values
as they are already defined. No need for chip specific values.
In addition:
- CONFIG_ARCH_CHIP_SAM4s has wrong lower case 's' so the definitions would
not be used anyways for SAM4S builds.
- TC_BMR_TC2XC2S_TIOA2 does not make sense. There is no way to loop back
TC2's TIOA2 into itself.
2016-07-14 18:17:05 -06:00
Gregory Nutt
a19c099c75
Update ChangeLog
2016-07-14 16:07:23 -06:00
Ken Pettit
fea2aaba05
SMART MTD layer: Fixes freesector logic error when sectorsPerBlk=256, adds DEBUGASSERT for invalid geometry and additional memory debug logic. Also fixes the dangling pointer on error bug.
2016-07-14 10:31:28 -06:00
Gregory Nutt
54bc6c88dd
Fix cast of return value
2016-07-14 10:21:31 -06:00
Gregory Nutt
3f6835fda9
If CONFIG_SPIFI_SECTOR512 undefined, lpc43_bwrite doesn't do actual write (probably copy/paste errors). Still not sure about current state of lpc43_spifi implementation, but for me NXFFS works with this patch. From Vytautas Lukenskas.
2016-07-14 10:11:19 -06:00
Gregory Nutt
e42e3bd58c
Update README
2016-07-14 10:10:37 -06:00
Pierre-noel Bouteville
76f12b1f69
I'm using syslog through ITM. In this case syslog_channel function is call before ram initialisation in stm32_clockconfig. But syslog channel uses a global variable that is reset to default by the RAM initialization.
2016-07-14 07:29:39 -06:00