Commit Graph

3520 Commits

Author SHA1 Message Date
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
Gregory Nutt
0c34ef7468 Update ChangeLog 2015-08-10 10:18:42 -06:00
Gregory Nutt
5848101c1f Fix/improve some issues in the SPI slave interface header file 2015-08-09 12:06:46 -06:00
Gregory Nutt
b9503c4dbc Update ChangeLog 2015-08-08 10:47:12 -06:00
Gregory Nutt
fcf1743c0a Update ChangeLog 2015-08-07 15:45:57 -06:00
Gregory Nutt
6d59603610 Trivial updates from review of LM92 driver; Update ChangeLog 2015-08-06 16:33:02 -06:00
Gregory Nutt
1ff1cd6c0c Update ChangeLog 2015-08-06 14:07:59 -06:00
Gregory Nutt
007e258c2b Update some function headers 2015-08-05 16:22:40 -06:00
Gregory Nutt
15db2a45a4 drivers/net/slip.c: Fix another compilation error 2015-08-02 07:20:36 -06:00
Gregory Nutt
2c66e0eb2a sem_tickwait(): Add a new, non-standard function to perform timed semaphore waits. It is functionally equialent to the standard sem_timedwait(), but more efficient for use in higher performance device drivers. Requested by Max Neklyudov 2015-08-01 07:31:09 -06:00
Gregory Nutt
a0dc5b0123 Update changelog, refresh gitmodules 2015-07-30 12:13:03 -06:00
Gregory Nutt
8935ff34d5 16550 UART Driver: Add a configuration option to indicate the the THR empty bit is inverted. This is the the case for the moxART SoC. Based comments from Anton D. Kachalov 2015-07-29 16:31:21 -06:00
Anton D. Kachalov
88861e562a Add support for a Faraday FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov 2015-07-29 15:57:58 -06:00
Gregory Nutt
80d934406f Update ChangeLog; refresh submodules 2015-07-29 14:13:31 -06:00
Gregory Nutt
0d71260bf2 sched/: Separate the round-robin logic into a separate file so that it is symmetric with the sporadic stuff. Integrate the sporadic scheduler into the time tick interrupt handling and into the tickless operation. 2015-07-24 11:49:28 -06:00
Gregory Nutt
55ba5f8f5d Update ChangeLog 2015-07-23 13:17:44 -06:00
Gregory Nutt
9095e8eab4 include/, sched/, and libc/: Add support for sporadic scheduling parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t. Update all user interfaces to pass sporadic scheduling parameters. Feature is dependent on EXPERIMENTAL and no changes have yet been made to core scheduling logic. 2015-07-23 13:16:32 -06:00
Gregory Nutt
aa90da2bc8 pthread_create: Fix an (unlikely) error in fallback value in the event of a failure (which should never occur) 2015-07-23 11:25:25 -06:00
Gregory Nutt
146bdc3c93 TCB: Increase the size of the scheduling policy field from 1 to 2 bits to allow additional, planned scheduling policies 2015-07-23 10:15:07 -06:00
Gregory Nutt
3092e46f01 Update ChangeLog 2015-07-22 07:33:15 -06:00
Gregory Nutt
c51828fb2c Update ChangeLog 2015-07-21 07:18:07 -06:00
Gregory Nutt
c1e1c5759d STM32 F7: Port the STM32 F7 2015-07-20 13:54:41 -06:00
Gregory Nutt
37b956f83d STM32 F7 Ethernet: With these last changes, the STM32 F7 Ethernet driver is functional 2015-07-20 10:57:06 -06:00
Gregory Nutt
32aa2e937e Update ChangeLog 2015-07-20 07:25:13 -06:00
Gregory Nutt
4b9b7589b9 STM32 F7: Add logic to enable I-/D-Cache, ITCM and DTCM 2015-07-19 10:43:26 -06:00
Gregory Nutt
0aefd55383 Update ChangeLog 2015-07-17 07:46:40 -06:00
Gregory Nutt
652371c919 Add CONFIG_NETDEV_LATEINIT that can be used to suppress calls to up_netinitialize() from early initialization 2015-07-17 07:20:16 -06:00
Gregory Nutt
27f6509022 Add initial support for the STM32 F7 Discovery board 2015-07-16 11:43:25 -06:00
Gregory Nutt
320c584888 CAN driver: Fix a problem where the rx_sem count can grow without bounds 2015-07-15 18:20:08 -06:00
Gregory Nutt
e803ffa082 Update ChangeLog 2015-07-15 11:23:35 -06:00
Gregory Nutt
ffcf173850 Update ChangeLog 2015-07-14 10:20:50 -06:00
Gregory Nutt
95424d9ef3 NETDB: Add support for caching DNS name resultion mappings 2015-07-13 10:41:32 -06:00
Gregory Nutt
9a6cf5724e DNS: Finish off low-level DNS IPv6 request processing. Untested on initial commit 2015-07-12 16:23:08 -06:00
Gregory Nutt
67378ed65e Upate ChangeLog 2015-07-12 11:59:23 -06:00
Gregory Nutt
5ace3311d9 Repartitioning of DNS client logic in preparation for IPv6 support
- Rename include/nuttx/net/dnsclient.h to dns.h
- Move internal DNS prototypes from dns.h to libc/netdb/lib_dns.h
- Global standard DNS definitions from libc/netdb/dns_soccket.c to dns.h
- Eliminate dns_gethostip().  This is now an internal part of gethostbyname()
- Eliminate interface dns_whois().  Not needed in this new context.
2015-07-12 09:19:40 -06:00
Gregory Nutt
a4a29f4ead Update ChangeLog 2015-07-10 15:27:11 -06:00
Gregory Nutt
b7708f8479 Update ChangeLog 2015-07-10 13:35:13 -06:00
Gregory Nutt
b7bc6ce598 Update ChangeLog 2015-07-10 08:45:35 -06:00
Gregory Nutt
b22769cd14 Update ChangeLog 2015-07-09 12:11:02 -06:00
Gregory Nutt
3971d97332 Update ChangeLog 2015-07-09 08:27:08 -06:00
Gregory Nutt
299782e8ec Add support for gethostbyaddr() 2015-07-08 14:33:23 -06:00
Gregory Nutt
e1c306f2dd Add support for sethostname 2015-07-05 08:42:32 -06:00
Gregory Nutt
4c54db68bd Implementment board_power_off() for the simulation platform. 2015-07-04 07:22:38 -06:00
Gregory Nutt
a7efa2fa2b Update ChangeLog 2015-07-02 09:40:06 -06:00
Gregory Nutt
ce6291b579 Update ChangeLog 2015-07-02 08:22:28 -06:00
Gregory Nutt
c1d12c5063 Update ChangeLog 2015-07-01 11:58:16 -06:00
Gregory Nutt
ff389b15ab LPC17xx: Fix a warning about an unused local variable 2015-07-01 09:36:39 -06:00
Gregory Nutt
6e591f6f52 arch/arm/src/sama5/sam_ehci.c: Fix some bad conditional compilation that left a function undefined if CONFIG_USBHOST_ASYNCH is not selected. 2015-07-01 07:04:02 -06:00
Gregory Nutt
31e815b364 Update ChangeLog 2015-07-01 06:27:50 -06:00
Gregory Nutt
092a8a8aed tools/testbuild.sh: Add a script that can be used perform test builds on a set of board configurations 2015-06-30 14:38:01 -06:00
Gregory Nutt
10e8f13eb5 Update ChangeLog 2015-06-30 11:44:48 -06:00
Gregory Nutt
5545e6a4d7 Update ChangeLog 2015-06-30 08:43:48 -06:00
Gregory Nutt
d1ab9c2e0a Remove the configs/ directory 2015-06-29 13:12:29 -06:00
Gregory Nutt
40f52f72d7 Documentation directory is now a submodule 2015-06-29 11:04:08 -06:00
Gregory Nutt
30280a913b Remove the Documentation/ directory 2015-06-29 10:57:05 -06:00
Gregory Nutt
342f5fe33d Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:08:57 -06:00
Gregory Nutt
3d0a53cf2b Update ChangeLog 2015-06-26 07:09:35 -06:00
Gregory Nutt
003bacdf91 Update ChangeLog 2015-06-26 06:56:57 -06:00
Gregory Nutt
ccadb28730 Update ChangeLog 2015-06-22 09:33:42 -06:00
Gregory Nutt
2a41e5ce95 Update ChangeLog 2015-06-22 07:49:52 -06:00
Gregory Nutt
0e89d32e8f Update ChangeLog 2015-06-22 07:13:30 -06:00
Gregory Nutt
80f39d5940 Update ChangeLog 2015-06-21 07:49:39 -06:00
Gregory Nutt
b4682bd839 Update ChangeLog 2015-06-20 14:42:23 -06:00
Gregory Nutt
79935b7816 Update ChangeLog 2015-06-18 14:00:41 -06:00
Gregory Nutt
3cd35c2265 Update ChangeLogs 2015-06-16 10:04:25 -06:00
Gregory Nutt
41fa4c7dbe Updata ChangeLog 2015-06-13 15:09:06 -06:00
Gregory Nutt
a0d55ca97b Update ChangeLog 2015-06-12 19:17:21 -06:00
Gregory Nutt
00a9f8fdc3 Update ChangeLog 2015-06-12 18:09:03 -06:00
Gregory Nutt
bbe54afd14 Update ChangeLogs 2015-06-12 11:56:23 -06:00