Commit Graph

3488 Commits

Author SHA1 Message Date
Gregory Nutt
eb53d0158e Prep for NuttX-7.14 release 2016-01-28 11:36:36 -06:00
Gregory Nutt
f9e45122d4 Remove a dangling space 2016-01-27 13:43:29 -06:00
Gregory Nutt
7d6c2d150d fs/vfs/fs_poll.c: Fix handling of sem_tickwait() return value sem_tickwait() does not return an -1+errno, it returns a negated errno value. Noted by Freddie Chopin. 2016-01-27 13:42:39 -06:00
Gregory Nutt
fd896330d8 Remove the final vestiges of up_spiinitialize() 2016-01-27 09:27:56 -06:00
Gregory Nutt
439620ab69 Update ChangeLog 2016-01-27 09:11:54 -06:00
Gregory Nutt
7bf1db388c Update ChangeLog 2016-01-27 08:22:44 -06:00
Gregory Nutt
3dcafdb20a Update ChangeLog 2016-01-26 17:31:29 -06:00
Gregory Nutt
ee2bb9739e Update ChangeLog 2016-01-26 16:27:40 -06:00
Gregory Nutt
695ad45d83 Update ChangeLog 2016-01-26 15:23:01 -06:00
Gregory Nutt
efb5674742 drivers/ioexpander/pca9555: Now uses i2c_read and i2c_write instead of I2C_READ and I2C_WERITE 2016-01-26 11:07:47 -06:00
Gregory Nutt
d4a53ee131 I2C: Eliminate the I2C_WRITEREAD method 2016-01-26 10:26:16 -06:00
Gregory Nutt
67f38169b2 drivers/i2c: Move wrapper that implements I2C_WRITEREAD using I2C_transfer from pc9555.c to a new, comon i2c directory 2016-01-26 09:58:18 -06:00
Gregory Nutt
a6b1e6bd23 Updat ChangeLog 2016-01-26 08:04:36 -06:00
xuhang
26d40fa80c drivers/usbhost/hid_parser.c: Wrong size used in memcpy() 2016-01-25 20:00:11 -06:00
Gregory Nutt
aad3b013f1 Update ChangeLog 2016-01-25 18:28:59 -06:00
Gregory Nutt
eac271413f Add more 32-bit math operations; Update ChangeLog 2016-01-25 11:19:25 -06:00
Gregory Nutt
3a1d3bba5a Update ChangeLog 2016-01-23 18:59:51 -06:00
Gregory Nutt
accd99db25 Add an optional hwfeatures method to the SPI interface 2016-01-23 15:12:45 -06:00
Gregory Nutt
bf2106a684 Update ChangeLog 2016-01-22 16:26:16 -06:00
Gregory Nutt
2de5be34e5 Update ChangeLog 2016-01-21 19:29:43 -06:00
Gregory Nutt
032ad1b70b Remove clock_systimer32 and clock_systimer64. There is now only clock_systimer 2016-01-21 16:49:24 -06:00
Gregory Nutt
e001f37593 sched/clock/clock_timespec.c: Fix an error in the time conversion 2016-01-21 13:31:00 -06:00
Gregory Nutt
2bd27c856c Upate ChangeLog and README 2016-01-20 12:31:28 -06:00
Gregory Nutt
f4f931c2a5 Update ChangeLog 2016-01-19 16:38:48 -06:00
Frank Benkert
da33ec6b2e CAN: Add more extensive error reporting information 2016-01-18 12:22:27 -06:00
Gregory Nutt
7670936bbf Update ChangeLog and submodule 2016-01-18 08:13:26 -06:00
Gregory Nutt
60bb90cded Update README, Changelog, submodules 2016-01-18 08:04:25 -06:00
Gregory Nutt
b54cf004f3 Update ChangeLog 2016-01-17 15:15:01 -06:00
Gregory Nutt
19810eef6b Update Changelog and README.txt 2016-01-15 13:14:07 -06:00
Gregory Nutt
ff7a9c2798 Trivial fix to ChangeLog 2016-01-15 08:35:50 -06:00
Alexander Entinger
75d6c4cee3 drivers/sensors/mcp9844: Driver for the MCP9844 I2C digital temperature sensor with a selectable resolution 2016-01-15 07:25:58 -06:00
Gregory Nutt
fd91b4dd85 Fix minor typo in ChangeLog 2016-01-14 15:20:30 -06:00
Gregory Nutt
300d34f029 netdb: resolv.conf logic is functional 2016-01-14 15:12:42 -06:00
Gregory Nutt
a6da474a69 Update ChangeLog; fix some tools/mkdeps.c compile issue in non-Cygwin environemnts 2016-01-10 13:02:51 -06:00
Gregory Nutt
f6718fb050 Merge remote-tracking branch 'origin/master' into windeps 2016-01-09 20:04:53 -06:00
Gregory Nutt
c5bcfc166d tools/mkwindeps.sh. A script that coordinates the use of cnvwindeps.exe 2016-01-09 17:27:56 -06:00
Gregory Nutt
468732e064 mkdeps.sh and mkdeps.bat have been deleted. All configurations must now use the compiler mkeps program 2016-01-09 16:07:12 -06:00
Gregory Nutt
b390bd802a tools/cnvwindeps.c: Add a tool that will convert dependencies created by a Windows native toolchain for use the Cygwin make 2016-01-09 13:51:34 -06:00
Gregory Nutt
87a8616976 Update ChangeLog 2016-01-09 07:39:38 -06:00
Vladimir Komendantskiy
ae71c9b447 Fix a compile time error in drivers/net/tun.c. 2016-01-05 10:58:58 -06:00
Dimitry Kloper
06d83c6261 Introduce support for Atmel toolchain in-flash strings
Atmel toolchain AVR compiler provides a transparent in-flash object support using __flash and __memx symbols. The former indicates to compiler that this is a flash-based object.  The later used with pointer indicates that the referenced object may reside either in flash or in RAM. The compiler automatically makes 32-bit pointer with flag indicating whether referenced object is in flash or RAM and generates code to access either in run-time. Thus, any function that accepts __memx object can transparently work with RAM and flash objects.

For platforms with a Harvard architecture and a very small RAM like AVR this allows to move all constant strings used in trace messages to flash in the instruction address space, releasing resources for other things.

This change introduces IOBJ and IPTR type qualifiers.  The 'I' indicates that the object may like in instruction space on a Harvard architecture machine.

For platforms that do not have __flash and __memx or similar symbols IOBJ and IPTR are empty, making the types equivalent to, for example, 'const char' and 'const char*'.  For Atmel compiler these will become 'const __flash char' and 'const __memx char*'.  All printf() functions and syslog() functions are changed so that the qualifier is used with the format parameter.

From: Dimitry Kloper <dikloper@cisco.com>
2016-01-05 10:29:29 -06:00
Gregory Nutt
b1938c065d sys/time.h: Fix timersub macro; time_t is unsigned 2015-12-31 09:05:35 -06:00
Gregory Nutt
05d16f15da Update ChangeLog 2015-12-30 16:33:27 -06:00
Gregory Nutt
695a8890a6 Rename pm_internal.h to pm.h 2015-12-29 18:19:03 -06:00
Gregory Nutt
b682190f52 Rename all head files in main NuttX repository with names like *internal.h, removing the internal 2015-12-29 17:31:17 -06:00
Gregory Nutt
fc30b31ed3 Update ChangeLog 2015-12-29 13:05:34 -06:00
Gregory Nutt
4832de4022 Update ChangeLog 2015-12-24 07:40:16 -06:00
Manuel Stühn
4350b0ba0c Move macros timeradd() and friends from time.h to sys/time.h. 2015-12-24 07:09:39 -06:00
Manuel Stühn
3002023798 time.h: Add timeradd(), timersub(), timerclear(), timerisset(), and timercmp() as macros. These are non-POSIX interfaces, but included in most BSD deriviatives, included Linux. From Manuel Stühn 2015-12-23 15:13:01 -06:00
Gregory Nutt
b90da3f27b waitpid: CRITICAL BUGFIX. Add a reference counting mechansim to prevent wait from using stale memory that was freed by the exiting task 2015-12-22 11:48:17 -06:00
Gregory Nutt
797798d4ea Update ChangeLog 2015-12-15 17:21:34 -06:00
Gregory Nutt
78f2ce05f8 drivers: Move discrete user LED drivrs from drivers/discrete to drivers/leds 2015-12-15 08:23:53 -06:00
Gregory Nutt
d62a626703 Adds a driver for the PCA9635PW I2C LED driver IC which can be used to control the intensity of up to 16 LEDs. From Alexander Entinger 2015-12-15 08:05:10 -06:00
Gregory Nutt
09f236aea4 Update ChangeLog 2015-12-14 13:20:47 -06:00
Gregory Nutt
795ddd7e80 OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod 2015-12-12 17:42:25 -06:00
Gregory Nutt
040835de00 Add an implementation of rmmod 2015-12-12 10:51:54 -06:00
Gregory Nutt
658a2a6275 Update ChangeLog 2015-12-12 09:41:47 -06:00
Gregory Nutt
8bcf35ff39 binfmt/libmodule: Add support for kernel modules. Initial commit is just the ELF module support with name changes 2015-12-10 09:53:31 -06:00
Gregory Nutt
4e3b7e3358 Update ChangeLog 2015-12-10 06:33:14 -06:00
Gregory Nutt
d1a3c3aa3b Update ChangeLog 2015-12-08 10:13:27 -06:00
Gregory Nutt
8fdb173090 drivers/net/telnet.c: Now works like the loop device. A new interface called telnet_initialize() registers a telnet session "factory" device at /dev/telnet. Via ioctl, the factory device can create instances of the telnet character devices at /dev/telnetN to support Telnet sessions. 2015-12-07 13:48:06 -06:00
Gregory Nutt
3bd5f60a62 Update ChangeLog 2015-12-07 10:02:26 -06:00
Gregory Nutt
057b6aef2c drivers/net: Move the Telnet driver from apps/netutils/netnetd to drivers/net 2015-12-07 09:26:57 -06:00
Gregory Nutt
3f0bb06c54 Update ChangeLog 2015-12-06 16:41:50 -06:00
Gregory Nutt
d6a035d581 Update ChangeLog 2015-12-06 09:31:07 -06:00
Gregory Nutt
cbd9de2421 Update ChangeLog 2015-12-06 08:56:23 -06:00
Gregory Nutt
7bcb86a154 Prep for 7.13 release 2015-12-05 08:26:14 -06:00
Gregory Nutt
745a16db48 Update ChangeLog 2015-12-04 10:55:04 -06:00
Gregory Nutt
98c401a1f4 Update ChangeLog 2015-12-03 10:23:32 -06:00
Gregory Nutt
a43c294652 Update ChangeLog 2015-12-02 14:10:24 -06:00
Gregory Nutt
d166dda8f6 Update ChangeLog 2015-12-02 08:28:32 -06:00
Gregory Nutt
f4978c12d5 Update ChangeLog 2015-12-02 07:19:36 -06:00
Gregory Nutt
ad64c033e7 s/procfs: The procfs file system can now be configured so that it supports a runtime registration of procfs entries with CONFIG_FS_PROCFS_REGISTER=y 2015-12-01 14:56:20 -06:00
Gregory Nutt
6af3ba78b9 Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning IP addresses, but is not standard and not a appropriate feature in general. 2015-12-01 07:48:56 -06:00
Gregory Nutt
053aeb555c Update ChangeLog 2015-11-30 16:51:44 -06:00
Gregory Nutt
4c22aae14a Update ChangeLog 2015-11-30 16:06:10 -06:00
Gregory Nutt
49a34656b2 Fix spelling of Ken's last name in ChangeLog 2015-11-28 15:06:35 -06:00
Gregory Nutt
48da5aa496 sched/pthread/: CRITICAL BUGFIX: Logic was wiping out the indication that of the type of a pthread. Hence, it could be confused as a task. Found because this was causing a crash when /proc/nnn/cmdline was printed. 2015-11-28 10:05:36 -06:00
Ken Pettit
5821af1bbe drivers/mtd: Add support for /dev/smart loop device. From Ken Petit 2015-11-28 09:00:26 -06:00
Gregory Nutt
e4236941c6 net/net_procfs.c: Add basic support for networking procfs entries 2015-11-27 12:33:58 -06:00
Gregory Nutt
2a93c66948 include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics. 2015-11-26 12:08:09 -06:00
Gregory Nutt
ed35eb0f8d drivers/loop: Add a loop character device that can be used to setup and teardown loop devices 2015-11-25 17:13:56 -06:00
Ken Pettit
d4a58af380 drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
drivers/mtd/filemtd.c:  New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device.  This is useful for testing on the simulation using the hostfs.

From Ken Petit
2015-11-25 14:46:28 -06:00
Marco Krahl
b1b97e89c8 drivers/lcd/ili9432.c: Fixed errors in orientation. Portrait, RPortrait, and RLandscript should work correly now. They were displayed mirrored. From Marco Krahl 2015-11-25 13:01:37 -06:00
Gregory Nutt
fb0a148812 Update ChangeLog/TODO 2015-11-25 12:02:25 -06:00
Gregory Nutt
8f5047323f Update ChangeLog and submodules 2015-11-25 08:38:58 -06:00
Ken Pettit
c0b9dcf8a9 fs/hostfs: Add a special file system for use with simulator that supports access to the host file system from the simulation. From Ken Petit 2015-11-25 08:26:26 -06:00
Gregory Nutt
6230e6e199 size_t should be 64-bits on a 64-bit machine. mmsize_t should be 32-bits (unless CONFIG_MM_SMALL is selected). This commit backs out the last change to stddef.h 2015-11-23 12:03:36 -06:00
Gregory Nutt
54549ef082 Revert "Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'"
This reverts commit 96faf0fa3251ca10a17daddc728d931be5a206e0.
2015-11-22 10:15:06 -06:00
Gregory Nutt
64e8f12e2b Add option to specify logical sector size during low level format plus adds some run-time geometry tests. fs/smartfs: Remove the 'mksmartfs()' code from the kernel 'fs'
directory and build.
2015-11-22 10:07:35 -06:00
Gregory Nutt
006528b144 Add support for freopen() 2015-11-22 08:39:17 -06:00
Gregory Nutt
84a5f846c9 open() has been extended. You can now open block drivers and access them just as you can character drivers. For example, you can hexdump a block device. 2015-11-21 11:24:55 -06:00
Gregory Nutt
38c9d42e21 drivers/timers/pcf85263.c: Add a driver for the NXP PCF85263 I2C RTC 2015-11-20 17:36:10 -06:00
Gregory Nutt
4b29bcee7f Rename up_rtcinitialize to up_rtc_initialize so that it looks like other RTC interfaces 2015-11-20 08:27:52 -06:00
Ken Pettit
d30b73be82 W25: Add support for byte write mode. From Ken Petit 2015-11-20 07:34:07 -06:00
Ken Pettit
7b590ec9a2 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:12:06 -06:00
Gregory Nutt
687cea60b3 Add basic support for the SAME70-Xplained board 2015-11-18 13:57:02 -06:00
Gregory Nutt
622ea95ab1 drivers/timers/ds3213.c: Extend to include support for the DS1307 RTC 2015-11-18 08:43:19 -06:00
Gregory Nutt
4579f0c1fc Add a command to boardctl() to obtain a baord unique ID 2015-11-18 07:31:53 -06:00
Gregory Nutt
0d18b13a16 Update ChangeLog 2015-11-18 07:09:59 -06:00
Ken Pettit
f0f7dd9956 drivers/mtd/smart.c: Fix a Smart wear-leveling bug. From Ken Petit 2015-11-18 07:01:13 -06:00
Ken Pettit
7e58e4c4cf W25: Fix W25 page read/write logic 2015-11-18 06:56:53 -06:00
Gregory Nutt
9d0984e21e Update ChangeLog 2015-11-17 17:21:36 -06:00
Gregory Nutt
45530a77d4 Add support for DS3231 I2C RTC. Untested on initial commit. 2015-11-17 14:07:55 -06:00
Gregory Nutt
724901ceb9 Add support for multiple AT24xx EEPROM devices 2015-11-17 07:40:17 -06:00
Gregory Nutt
580529ba23 crypto/aes.c: Make refernce to key const 2015-11-16 14:30:43 -06:00
Gregory Nutt
2ae7485a57 Update ChangeLog 2015-11-16 10:47:21 -06:00
Gregory Nutt
457796d39e Update ChangeLog 2015-11-14 12:15:38 -06:00
Max Neklyudov
d54a39832a Implement high level DMA infrastructure for serial devices 2015-11-12 14:16:19 -06:00
Gregory Nutt
ef59f83a38 drivers/mtd/mtd_progmem.c: Add an upper-half driver that can be used with any FLASH library that provides the itnerfaces defined in include/nuttx/progmem.h 2015-11-12 13:40:18 -06:00
Gregory Nutt
5eaf368d16 progmem.h: Cosmetic updates to comments 2015-11-12 12:30:15 -06:00
Gregory Nutt
896834002a BCH driver should forward ioctl commands to the contained block driver 2015-11-09 11:47:25 -06:00
Gregory Nutt
b2bdba0824 S25FL1 FLASH driver: Fix return value from the bwrite() method 2015-11-07 11:26:53 -06:00
Gregory Nutt
f5b82db9b0 Update ChangeLog 2015-11-06 11:14:33 -06:00
Gregory Nutt
c6fc285277 CAN: Add a new CAN upper-half interface, can_txready(), that can be used to break deadlock conditions in certain CAN hardware that supports queuing of TX messages 2015-11-03 10:52:58 -06:00
Lok
da8950fe5b Fix an error in clock_timespec_subtract 2015-11-03 07:28:46 -06:00
Gregory Nutt
fc91ded815 Add support for a general user LED lower-half driver 2015-11-01 14:57:22 -06:00
Gregory Nutt
cbb78071b3 Rename ioexpander/ directories to discrete/ 2015-11-01 13:14:48 -06:00
Gregory Nutt
0032b91f49 Update ChangeLog 2015-11-01 12:51:03 -06:00
Gregory Nutt
aa92d44caf Update ChangeLog 2015-10-23 07:13:48 +08:00
Gregory Nutt
00af71dd78 Update ChangeLog 2015-10-20 06:02:10 +08:00
Gregory Nutt
d8731d0ef1 Add files missed in previous commit 2015-10-18 08:00:06 +08:00
Gregory Nutt
f5f69ef85d Add a file missed in the last commit 2015-10-13 07:36:46 -06:00
Alan Carvalho de Assis
8f0c912fff Add Zero Cross device driver support 2015-10-13 07:27:16 -06:00
Gregory Nutt
f0b40ba96a Add a a generic lower half button driver 2015-10-13 07:08:11 -06:00
Gregory Nutt
613798027e Add a button upper/lower half driver 2015-10-12 14:29:43 -06:00
Gregory Nutt
b489cd9610 TMFPS: Now basically functional although not heavily tested 2015-10-09 15:17:32 -06:00
Gregory Nutt
d359a5be13 TMPFS: Code complete, but not yet functional 2015-10-09 11:02:59 -06:00
Gregory Nutt
cc35c0c49d Add toosl/nxstyle.c 2015-10-08 12:48:40 -06:00
Gregory Nutt
e947ea587d Add fs/tmpfs. Nothing much there yet 2015-10-08 10:54:41 -06:00
Pierre-noel Bouteville
59e5e2f5cc drivers/lcd/st7565.c: Extend to include support for the ERC12864-3. From Pierre-noel Bouteville 2015-10-07 14:30:08 -06:00
Gregory Nutt
38e6142ae8 Make coding style more conformant, take description from OpenGroup.org, rename formal parameters to match names used on OpenGroup.org 2015-10-02 12:58:40 -06:00
Gregory Nutt
2ba224eca2 Add support for bsearch() in C library 2015-10-02 12:33:58 -06:00
Gregory Nutt
4cf28dff1d Prep for the 7.12 release 2015-10-01 13:10:49 -06:00
Gregory Nutt
ff67c0765a Update changelog; refresh submodules 2015-09-30 11:21:44 -06:00
Gregory Nutt
4cd57e1e4e Work queues: Logic that sets the queued indication and the logic that does the actual queuing must be atomic 2015-09-30 11:04:29 -06:00
Gregory Nutt
e35737ca88 Update ChangeLog 2015-09-29 16:35:07 -06:00
Gregory Nutt
2c7c034baf Update README, ChangeLog, and submodules 2015-09-29 09:22:39 -06:00
Gregory Nutt
c01ddfe833 Fix a typo in the ChangeLog 2015-09-24 14:42:48 -06:00
Gregory Nutt
d078c39b78 Update ChangeLog; refresh sub-modules 2015-09-24 14:42:20 -06:00
Gregory Nutt
cc7130b836 Correct a reference counting error in mq_open() 2015-09-23 10:34:08 -06:00
Alan Carvalho de Assis
c52e3e017b Battery Charger: Add BQ24250 driver 2015-09-20 09:47:00 -06:00
Gregory Nutt
2e70cdec95 Update ChangeLog 2015-09-19 14:05:23 -06:00
Gregory Nutt
b77872d1d9 Update ChangeLog 2015-09-15 07:38:25 -06:00
Gregory Nutt
bca2b2c07c Update ChangeLog 2015-09-14 07:08:03 -06:00
Gregory Nutt
d0e4df9931 Update ChangeLog 2015-09-10 07:24:58 -06:00
Gregory Nutt
8a87e3ca6e Add an empty function that can serve as a placeholder for the network shutdown() function 2015-09-09 07:03:05 -06:00
Gregory Nutt
90ec126b0b Update ChangeLog 2015-09-08 16:41:54 -06:00
Gregory Nutt
65abe20cdb Update ChangeLog 2015-09-07 13:51:05 -06:00
Sebastien Lorquet
77e4e7b231 Change all references from avsprintf to vasprintf. From Sebastien Lorquet 2015-09-07 13:22:13 -06:00
Gregory Nutt
7d33e858dd QSPI interface + ST25FL1 driver: Add methods to allocate properly aligned memory 2015-09-06 09:37:34 -06:00
Gregory Nutt
cae703e868 Update README and ChangeLog 2015-09-05 12:17:05 -06:00
Paul A. Patience
12595cc12b Fix typos 2015-09-04 19:53:28 -04:00
Gregory Nutt
b98109c419 Update ChangeLog, README file, and submodules 2015-09-04 16:49:06 -06:00
Gregory Nutt
0bf6fa0b43 Typo in ChangeLog 2015-09-02 19:50:00 -06:00
Gregory Nutt
0e2986f131 net/tcp: The logic that binds a specific networkd device to a connection was faulty for the case of multiple network devices. On bind(), the local address should be used to associate a device with the connection (if the local address is not INADDR_ANY); On connect(), the remote address should be used (in case the local address is INADDR_ANY). On accept(), it does not matter but the remote address is the one guarenteed to be available. 2015-09-02 19:48:31 -06:00
Gregory Nutt
f44320d2a6 ST25FL1: SAMV71 QSPI always does transfers in multiples of 4 bytes 2015-09-02 10:19:47 -06:00
Stefan Kolb
5ac6de118e libc/math/lib_asin.c: The function did not convert for some input values. Asin did not convert for values which do not belong to the domain of the function. But aside of that the function also did not convert for sine allowed values. I achieved a conversion of the function by reducing the DBL_EPSION and by checking if the input value is in the domain of the function. This is a fix for the problem but the function should always terminate after a given number of iterations. From Stefan Kolb. 2015-09-01 08:45:14 -06:00
Gregory Nutt
bb385c242f Update changelog/submodule 2015-08-31 15:23:01 -06:00
Gregory Nutt
409262a8ef Update ChangeLog/sub-module version 2015-08-31 08:41:17 -06:00
Bruno Herrera
915792cca1 fs/romfs: One allocation was not being freed if there was a subsequent failure to allocation I/O buffers resulting in a memory leak on certain error conditions. From Bruno Herrera. 2015-08-30 18:31:58 -06:00
Bruno Herrera
3fd07e32e9 binfmt/builtin.c: Fix a memory leak: File was not being closed. 2015-08-30 07:14:45 -06:00
Gregory Nutt
d6b0a8fe72 ST25FL1 driver is code complete 2015-08-29 15:58:54 -06:00
Gregory Nutt
883c6a7cea Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-29 08:02:57 -06:00
Gregory Nutt
726adbeb3f Update ChangeLog 2015-08-28 17:05:02 -06:00
Gregory Nutt
d06b709652 Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-27 12:12:24 -06:00
Gregory Nutt
b1e09d4847 net/socket and net/tcp: Fix a problem in whent there are multiple network devices. Polls were being sent to all TCP sockets before. This is not good because it means that packets may sometimes be sent out on the wrong device. That is inefficient because it will cause retransmissions and bad performance. But, worse, when one of the devices is not Ethernet, it will have a different MSS and, as a result, incorrect data transfers can cause crashes. The fix is to lock into a single device once the MSS is locked locked down. 2015-08-27 09:06:46 -06:00
Gregory Nutt
044f5d38ac Merge remote-tracking branch 'origin/master' into st25fl1 2015-08-26 07:20:36 -06:00
Juha Niskanen
70620d3dd6 rivers/rwbuffer: Fix some logic errors 2015-08-26 07:18:50 -06:00
Gregory Nutt
6dadfcbf6b Add QSPI interface definition 2015-08-25 15:26:16 -06:00
Gregory Nutt
94ecf7ebad drivers/mtd/st25fl1.c: Add a driver for ST25FL1*K QuadSPI FLASH parts 2015-08-25 09:10:12 -06:00
SaeHie Park
e983e547e1 Networking: Correct return value from psock_tcp_accept(). From SaeHie Park 2015-08-25 07:15:21 -06:00
Gregory Nutt
ccb24e1766 drivers/net: Add a basic prototype for a local loopback device 2015-08-24 11:03:36 -06:00
Gregory Nutt
07bdff9ef7 Networking: Add NetDB support for the local loopback device 2015-08-24 10:08:26 -06:00
Gregory Nutt
569ff602ea Networking: Remove bogus references to PPP as a link layer protocol 2015-08-24 08:29:07 -06:00
Gregory Nutt
6fc449f689 Moving canned_symtab from nuttx/libc to apps/system 2015-08-23 11:33:29 -06:00
Pavel Pisa
9ab3f03153 Define some symbol export conditions, correct errno and add sleep and usleep. From Pavel Pisa 2015-08-23 09:05:40 -06:00
Pavel Pisa
81a257eeb0 Optional canned symtab inclusion to the build. When option CONFIG_LIBC_SYMTAB is selected and symbol table file libc/symtab/canned_symtab.inc is prepared then application can use system provided complete symbol table. The option has substantial effect on system image size. Mainly code/text. If loading of applications at runtime is not planned do not select this. From Pavel Pisa. 2015-08-23 08:38:58 -06:00
Gregory Nutt
7f3a36fb78 Update ChangeLog 2015-08-21 18:36:12 -06:00
Pavel Pisa
23035ca68d [PATCH] gethostbyname(): correct returned address format when DNS is used. The hostent.h_addr_list should point to raw in_addr or in6_addr as defined in the standard. Original implementation used that
for numeric addresses but for DNS lookup returned pointer to whole sockaddr_in or sockaddr_in6.

getaddrinfo() should be preferred in a long term perspective. Return of complete addresses from the lookup would be better in such case but it requires significant changes anyway - multiple addresses support and most probably dynamic memory allocation which is bad for many RT applications. So gethostbyname() is sufficient for most applications now.

Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2015-08-21 18:33:03 -06:00
Gregory Nutt
89b5ef8d35 wdogs: Fix counting of free, pre-allocated wdog timers. The could could get decremented below zero in some situations 2015-08-21 11:30:22 -06:00
Pavel Pisa
12b1c04508 recvfrom(): Correct wait for new data when NET_UDP_READAHEAD is enabled. Fix size accounting when recvfrom_udpreadahead() sets state.rf_recvlen == -1. I have not checked if data are accumulated to the right position in the buffer however.
Signed-off-by: Pavel Pisa <ppisa@pikron.com>
2015-08-21 09:15:06 -06:00
Gregory Nutt
2a81a76c33 Update ChangeLog 2015-08-20 07:56:20 -06:00
Gregory Nutt
a987379e64 Add an error bit to the CAN message report 2015-08-18 07:27:00 -06:00
Max Neklyudov
425146255a Network drivers: Fix bug in tun interface driver. From Max Neklyudov 2015-08-17 09:04:58 -06:00
Gregory Nutt
51f386d08a Fix more common typos 2015-08-16 11:07:23 -06:00
Gregory Nutt
77f5c34af0 Fix some common typos 2015-08-16 11:00:30 -06:00
Gregory Nutt
a33bcc42fd Update ChangeLog 2015-08-14 18:13:57 -06:00
Gregory Nutt
eb19e0c0e2 Add two files that I forgot in a previous commit 2015-08-14 10:12:04 -06:00
Gregory Nutt
6df94096ca Add ldiv() and lldiv() too 2015-08-14 08:45:59 -06:00
Gregory Nutt
48107bf073 poll() now returns POLLERR for any file descriptor that returns a failure during the poll setup 2015-08-13 14:58:52 -06:00
Gregory Nutt
5323597c3f Prep for 7.11 release 2015-08-13 11:51:53 -06:00
Gregory Nutt
a543dfbcec Update ChangeLog; Convert a few tabs to spaces 2015-08-11 21:12:15 -06:00
Gregory Nutt
530d229361 net/udp: Add support for send() with connected UDP sockets 2015-08-11 19:17:55 -06:00
Gregory Nutt
29a0d5d23c Update ChangeLog 2015-08-11 12:30:07 -06:00
Max Neklyudov
7d04104485 Networking: Allow receipt of empty UDP packets. From Max Neklyudov 2015-08-11 08:34:16 -06:00
Gregory Nutt
9f1d7cddd8 Merged in paulpatience/nuttx (pull request #14)
Converted the AS5048B to use the quadrature encoder interface, changed copyright notice to my boss's preference, and updated ChangeLog to use my full name
2015-08-10 12:22:30 -06:00
Paul A. Patience
dc773a06d8 Updated ChangeLog to use my full name. 2015-08-10 14:15:20 -04:00
David Sidrane
c83d92e846 RAMTRON: Update driver to include support for newer RAMTRON parts. 2015-08-10 11:30:37 -06:00
Gregory Nutt
c74dc5f83f Changes from review epoll() implementation for consistency with NuttX naming and coding style 2015-08-10 10:38:41 -06:00