Commit Graph

3513 Commits

Author SHA1 Message Date
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
Gregory Nutt
dea24c503a Networking: Remove the HSEC argument from devif_timer. 2016-02-03 12:12:41 -06:00
Gregory Nutt
95df32a5ce Update ChangeLog 2016-02-02 12:27:26 -06:00
Gregory Nutt
9ce58ad5b7 I2C: up_i2creset should not be a global function; Now it is an I2C interface method 2016-02-02 11:21:48 -06:00
Gregory Nutt
4a34a199dd I2C: Add an I2C character driver 2016-02-02 08:30:54 -06:00
Gregory Nutt
6ad641888b Add I2C frequency to the i2c_msg_s structure 2016-02-01 14:17:20 -06:00
Gregory Nutt
670c041e71 Update Changelog, submoduels, and README 2016-01-31 08:51:24 -06:00
Gregory Nutt
10f3bb1fef Update ChangeLog 2016-01-30 13:08:12 -06:00
Gregory Nutt
80476a16e2 Update ChangeLog 2016-01-30 12:20:32 -06:00
Gregory Nutt
af335827d0 Update ChangeLog 2016-01-30 11:27:49 -06:00
Vladimir Komendantskiy
19feab1bd6 drivers/modem/u-blox.c and include/nuttx/drivers/u-blox.h: Add an upper half driver for the U-Blox Modem. From Vladimir Komendantskiy 2016-01-30 07:37:43 -06:00
Gregory Nutt
6239f2e2f1 Update ChangeLog 2016-01-29 11:35:19 -06:00
Gregory Nutt
ca792558bf Update ChangeLog; add ADS1242 driver to build system; fix some typos; eliminate some warning 2016-01-29 07:55:39 -06:00
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