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
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