Commit Graph

3500 Commits

Author SHA1 Message Date
Gregory Nutt
67ea112767 Update ChangeLog 2016-06-27 13:08:40 -06:00
Gregory Nutt
fc8dfbd45a Update ChangeLog 2016-06-24 11:00:37 -06:00
Gregory Nutt
a8a4792b07 Update ChangeLog 2016-06-21 13:01:50 -06:00
Gregory Nutt
ec1e1a10fd Make system: Build the drivers/ directory even if file descriptors are disabled. There are still things that may be needed from the drivers/ director (such as SYSLOG logic or lower half drivers). 2016-06-20 16:33:20 -06:00
Gregory Nutt
36e8d6f7d1 Update ChangeLog 2016-06-20 12:47:53 -06:00
Jakub Łągwa
338b915008 While working with version 7.10 I discovered a problem in TCP stack that could be observed on high network load. Generally speaking, the problem is that RST flag is set in unnecessary case, in which between loss of some TCP packet and its proper retransmission, another packets had been successfully sent. The scenario is as follows: NuttX did not receive ACK for some sent packet, so it has been probably lost somewhere. But before its retransmission starts, NuttX is correctly issuing next TCP packets, with sequence numbers increasing properly. When the retransmission of previously lost packet finally succeeds, tcp_input receives the accumulated ACK value, which acknowledges also the packets sent in the meantime (i.e. between unsuccessful sending of lost packet and its proper retransmission). However, variable unackseq is still set to conn->isn + conn->sent, which is truth only if no further packets transmission occurred in the meantime. Because of incorrect (in such specific case) unackseq value, few lines further condition if (ackseq <= unackseq)is not met, and, as a result, we are going to reset label. 2016-06-20 06:55:29 -06:00
Gregory Nutt
d5b8869b10 Update ChangeLog 2016-06-20 06:23:31 -06:00
Gregory Nutt
0fe5c726b5 Update ChangeLog 2016-06-17 17:53:02 -06:00
Gregory Nutt
a308ea553b Remove some excessive, redundant debug info per request of antin Berezenko. See Issue #8. 2016-06-14 15:50:23 -06:00
Gregory Nutt
c384f33ac9 Update ChangeLog 2016-06-14 13:24:28 -06:00
Gregory Nutt
eab652bd9a Update ChangeLog 2016-06-12 17:34:42 -06:00
Gregory Nutt
6b706b1e06 Update ChangeLog 2016-06-09 13:41:07 -06:00
David Sidrane
d8ea955d69 Added STM32FF76xxx and STM32FF7xx families 2016-06-08 08:26:26 -06:00
David Sidrane
44da2c0add Refactored configs/nucleo-144 sub-directories to support additional nucleo-144 board. Add support for the Nucleo-F767ZI board. 2016-06-08 07:52:19 -06:00
Aleksandr Vyhovanec
c939bbe47a include/signal.h: Change type of SIG_IGN and related defines to _sa_handler_t 2016-06-07 06:56:19 -06:00
Gregory Nutt
08fd09b8fe Update ChangeLog 2016-06-06 15:01:25 -06:00
Gregory Nutt
af43ce4f46 Update ChangeLog 2016-06-05 15:01:37 -06:00
Gregory Nutt
a18dbfda6e Remove drivers/mtd/flash_eraseall.c. It is not used in the OS and is just a dumb wrapper around the MDIOC_BULKERASE IOCTL call. 2016-06-02 10:44:13 -06:00
Gregory Nutt
692ea396e3 Prep for NuttX-7.16 release 2016-06-01 15:45:23 -06:00
Gregory Nutt
6940fe9655 Update ChangeLog 2016-05-30 13:31:19 -06:00
Gregory Nutt
001715d57b FS: Add logic to detach a file structure from a file descriptor. This is for use only within the OS. It permits an open file or driver to be used across multiple threads. 2016-05-26 09:41:50 -06:00
Gregory Nutt
add152bf24 Update README 2016-05-25 14:07:59 -06:00
Gregory Nutt
54d7eac51d Update ChangeLog 2016-05-25 08:08:54 -06:00
Gregory Nutt
549f415cf9 Update ChangeLog 2016-05-24 10:54:27 -06:00
Gregory Nutt
15cc1b973d Update ChangeLog 2016-05-24 07:57:38 -06:00
Gregory Nutt
c7979ad49c Update README and ChangeLog 2016-05-22 15:17:03 -06:00
Gregory Nutt
5e5b6d677d Update README and ChangeLog 2016-05-22 15:05:41 -06:00
Gregory Nutt
c0653dc238 Update ChangeLog 2016-05-19 07:51:06 -06:00
Gregory Nutt
1047d63f52 Update ChangeLog 2016-05-17 08:24:09 -06:00
Gregory Nutt
a3f3cc12c0 Update some comments; Fix grammatic error in ChangeLog. 2016-05-13 17:36:08 -06:00
Gregory Nutt
09a58263c8 Update ChangeLog 2016-05-13 12:19:26 -06:00
Gregory Nutt
abc0481a57 Port for the Nucleo-144 board with the STM32F476ZG MCU. From Kconstantin Berezenko. 2016-05-12 09:47:54 -06:00
Gregory Nutt
b096ea077f Fix some typos in the ChangeLog 2016-05-10 16:40:47 -06:00
Gregory Nutt
e523c93391 Several Makefiles: Add .PHONY definitions to prevent 'clean up to date' message weirdness. 2016-05-10 15:44:06 -06:00
Gregory Nutt
88b79d305f Update ChangeLog 2016-05-10 11:14:27 -06:00
Gregory Nutt
6d03f132a1 Fix some typos in ChangeLog 2016-05-06 04:56:25 -06:00
Gregory Nutt
443bf7fc93 Update ChangeLog 2016-05-06 04:47:35 -06:00
Gregory Nutt
fab5a71fe5 Add a VNC NxWM configuration to support further VNC testing 2016-04-23 08:21:15 -06:00
Gregory Nutt
57449d9c8f Updte changelog 2016-04-22 07:29:44 -06:00
SP
a9af194688 ChangeLog: Correct typo 2016-04-21 08:27:27 -06:00
Gregory Nutt
628dd9b181 SAMV71-Xult: Add a configuration that will be used to test VNC 2016-04-18 12:25:23 -06:00
Gregory Nutt
12f9a27d54 Update ChangeLog 2016-04-18 10:50:56 -06:00
Alan Carvalho de Assis
de734ba310 configs/stm32f4discovery: Integrate BH1750FVI driver in the STM32F4Discovery board 2016-04-15 08:20:33 -06:00
Alan Carvalho de Assis
7f5339ee5a drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient Light Sensor BH1750FVI. 2016-04-15 08:16:16 -06:00
Gregory Nutt
1f8212679c NRF24L01: Fix backward calculation of relative frequency. Noted by Henry Zhang 2016-04-15 07:07:22 -06:00
Gregory Nutt
46846c0c24 Framebuffer driver: Add a display number to each interface in order to support multiple displays 2016-04-14 12:23:15 -06:00
Gregory Nutt
3f731241cb fs/inode/, fs/vfs/, and sched/task/: File and socket descriptors are no longer allocated for kernel threads. They must use SYSLOG for output and the low-level psock interfaces for network I/O. This saves a little memory which might be important for small footprint configurations. 2016-04-14 10:14:38 -06:00
Gregory Nutt
39a37d6aa8 Separate out psock_listen() and psock_accept() for internal use by the OS 2016-04-14 08:39:48 -06:00
Sebastien Lorquet
bef518095f Fix the STM32L4 SPI driver. That SPI driver is quite different. They now handle frames of arbitrary size between 4 and 16 bits. It was broken before a new bit has to be set (rx fifo threshold) to handle <= 8-bit transactions. If not set, the default is 16-bit packed >=8-bit frames and the RXNE bit is never set (it is set when 16-bits are received). weird things as always.
This also add 8-bit access routines to the data register, because a 16-bit access to the data register when the frame size is below 9 bits is interpreted as a packed dual frame exchange.
2016-04-13 17:21:49 -06:00
Gregory Nutt
91686e671c configs/nucleus2g: Remove this board from the configs/ directory. A snapshot is still available in the Obsoleted repository 2016-04-12 12:19:30 -06:00
Gregory Nutt
28a4ca6713 libc/signal and include/signal.h: Rename sigset() to signal(). sigset() is the System V function; signal() is the obsoleted POSIX name. These seem to be equivalent. Neither are relevant in modern POSIX programming but the name signal() probably has better credentials. sigset() is now relegated to a #define in signal.h that makes it equivalent to signal(). 2016-04-10 14:35:45 -06:00
Gregory Nutt
51bed92fc2 STM32F429i-disco: Add uVision GCC IDE project files 2016-04-10 09:11:56 -06:00
Kha Vo
7d2937d481 tools: Add the IDE exported Python script for use with the IAR toolchain 2016-04-10 09:11:51 -06:00
Gregory Nutt
8b848504c3 Fix all URLs to the NuttX repository 2016-04-06 18:04:06 -06:00
Gregory Nutt
58d6624f29 RTC: Simplify the RTC driver interface. Way too much stuff in that interface and it is not fully implemented anywhere. 2016-04-02 13:01:02 -06:00
Gregory Nutt
ab3f9b764e Update ChangeLog 2016-04-02 08:16:28 -06:00
Gregory Nutt
bbbb615c31 Remove references to VSN from README; update ChangeLog 2016-03-30 18:13:45 -06:00
Gregory Nutt
54dbec248e PM: Add domain to all PM interfaces. Internal PM data structures now handle multiple PM domains. 2016-03-27 13:03:47 -06:00
Gregory Nutt
dea4fe5d90 PM: Add activity domain to all PM callbacks 2016-03-27 11:19:39 -06:00
Gregory Nutt
8523e17f52 Prep for 7.15 release 2016-03-26 12:16:14 -06:00
Gregory Nutt
3e4ae24387 Fix a few issues related to new USB device boardctl() commands 2016-03-25 14:23:27 -06:00
linfei_chen
4b18b8d1e3 LP Work Queue: Fix test to find and idle worker thread. 2016-03-22 08:15:49 -06:00
Gregory Nutt
00b44959ea TCP poll: TCP poll events can really only being processed when the poll from the correct device is received. 2016-03-20 08:39:15 -06:00
Gregory Nutt
4639cdd894 TCP timeouts: Fix some logic when there are multiple network interfaces. In this case, TCP timeout events can really only being processed when the poll from the correct device is received. 2016-03-20 08:19:00 -06:00
Gregory Nutt
a589eb296c Update ChangeLog 2016-03-18 13:32:23 -06:00
Gregory Nutt
242f8ff25f drivers/syslog/note_driver.c: Add a driver that will allow an application to read buffered scheduler instrumentation data 2016-03-17 14:46:00 -06:00
Gregory Nutt
7f19631338 sched/: Add option to buffer scheduler instrumentation data in memory. 2016-03-17 09:49:43 -06:00
Gregory Nutt
0929c8b1d7 Update submodules 2016-03-10 15:58:39 -06:00
Gregory Nutt
30b6ee96c9 Add basic definitions for TLS support 2016-03-10 11:56:33 -06:00
Gregory Nutt
4a22542091 Update ChangeLog 2016-03-10 10:10:25 -06:00
Gregory Nutt
ea48809fff Update ChangeLog 2016-03-10 07:14:10 -06:00
Gregory Nutt
760fb63f33 Update README/TODO with new naming 2016-03-09 17:39:43 -06:00
Gregory Nutt
5d63cd85c7 sched/semaphore: Add an internal interface to reset a semaphore count. 2016-03-05 07:33:24 -06:00
Gregory Nutt
480eab8423 Update ChangeLog 2016-03-01 12:59:12 -06:00
Gregory Nutt
4ad08a2d85 Update ChangeLog 2016-02-28 14:17:39 -06:00
Gregory Nutt
300edb9b0f Update ChangeLog 2016-02-27 10:37:42 -06:00
Gregory Nutt
d84fa1689a Add include/nuttx/wireless/ieee802154 directory (with dummy header file) 2016-02-26 17:32:37 -06:00
Gregory Nutt
1ecb092e51 Add wireless/ieee802154 to the build 2016-02-26 17:27:58 -06:00
Gregory Nutt
6d1b4c051e Add new top-level wireless/ directory 2016-02-26 17:07:04 -06:00
Gregory Nutt
8db55f6493 Back out most of previous commit 2016-02-26 06:45:37 -06:00
Gregory Nutt
0b441ff1f4 net/: Add basic IEEE 802.15-4 socket support 2016-02-25 14:01:22 -06:00
Gregory Nutt
7c44444883 FAT: Add an option to force all transfers to be performed indirectly through the FAT file system's internal sector buffers 2016-02-22 16:26:04 -06:00
Gregory Nutt
883a1adfe2 Implement sched_setaffinity() and sched_getaffinity() 2016-02-19 19:18:54 -06:00
Gregory Nutt
1b5e296cf2 Add pthread_setaffinity() and pthread_getaffinity() 2016-02-19 17:59:19 -06:00
Gregory Nutt
a633353ec3 Add a CPU affinity set to the TCB if SMP is enable and use this CPU set as a mask for determining which CPUs the thread may run on. Add an affinity field to the attrributes to permit controlling which CPUs a pthread may run on. Implements pthread_att_setaffinity_np() and pthread_attr_getaffinity_np(). 2016-02-19 17:33:35 -06:00
Gregory Nutt
72d3920295 Rename cpuset_t to cpu_set_t which is the type used in some non-standard Linux/GNU interfaces. Move definitions of cpu_set_t to include/sys/types.h. Add prototypes for sched_setaffinity(), sched_getaffinity(), pthread_attr_setaffinity_np(), pthread_attr_getaffinity_np(), pthread_setaffinity_np(), and pthread_getaffinity_np(). No implementation is yet in place. 2016-02-19 15:57:07 -06:00
Gregory Nutt
050b3ee06a profcs task status will now show CPU is SMP is enabled 2016-02-19 15:34:36 -06:00
Gregory Nutt
52fbbaf778 1. SMP: Fix an assertion. SMP-specific change accidentally made in non-SMP code
2. Move list of signal actions from the task TCB to the task group.  Signal handlers are a property of the entire task group and not of individual threads in the group.  I know, I preferred it the other way too but this is more compliant with POSIX.
2016-02-18 08:34:54 -06:00
Gregory Nutt
4d0103f210 Update ChangeLog 2016-02-14 16:55:06 -06:00
Gregory Nutt
9cb2a6b1f9 Rename irqsave() and irqrestore() to up_irq_save() and up_irq_restore() 2016-02-14 16:19:15 -06:00
Gregory Nutt
d09db96a7c Update ChangeLog 2016-02-13 19:28:57 -06:00
Gregory Nutt
49227fa554 Scheduler: Replace the boolean 'prioritized' with a uint8_t bit set so that additional attributes of a list can be specified without adding more boolean values. 2016-02-11 08:06:33 -06:00
Gregory Nutt
8a1789ba11 Update ChangeLog 2016-02-10 14:58:55 -06:00
Gregory Nutt
b022f1e9d8 Add basic support for spinlocks (not currently used by anything) 2016-02-09 13:48:59 -06:00
Gregory Nutt
0af9a197ac ARP: Add IOCTL commands to manage the ARP table 2016-02-08 11:17:22 -06:00
Gregory Nutt
74db48202e sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro 2016-02-06 17:44:41 -06:00
Gregory Nutt
12f95c6f6b Add procfs/kmm to show the state of the kernel heap 2016-02-06 11:35:30 -06:00
Gregory Nutt
8a9fa634bf syslog: If syslog timestamping is enabled, don't try to get the time if the timer hardware has not yet been initialized. 2016-02-05 08:36:43 -06:00
Gregory Nutt
2dc258986d Add a state variable that provides the current level of OS initialization. This is needed by some logic that may attempt to run early in the start-up sequence, but cannot run if a sufficient level of initializaitn has not not yet occurred 2016-02-05 08:34:03 -06:00
Gregory Nutt
cea3854dea PCA5555: Add logic to make the driver thread safe. Problem noted by Stefan Kolb. 2016-02-03 12:39:11 -06:00