Commit Graph

3428 Commits

Author SHA1 Message Date
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