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
Dimitry Kloper
b48ca00cd5
The delay parameter has 'int' type while explicit int32_t is used in sigtimedwait() (sig_timedwait.c) This can lead to wrong argument for systems that have default int size different than int32 (namely AVR).
2016-01-05 07:58:04 -06:00
Gregory Nutt
63f13283de
Upate TODO list
2016-01-03 11:59:43 -06:00
Gregory Nutt
efd5a63cf3
Update submodules
2016-01-01 12:18:04 -06:00
Gregory Nutt
b1938c065d
sys/time.h: Fix timersub macro; time_t is unsigned
2015-12-31 09:05:35 -06:00
Chris Croswhite
b73a7515b6
Small compilation issue when selecting localtime, this patch adds the correct ifdef.
2015-12-30 19:12:42 -06:00
Gregory Nutt
05d16f15da
Update ChangeLog
2015-12-30 16:33:27 -06:00
Gregory Nutt
c33724fc93
Update TODO list
2015-12-30 15:26:30 -06:00
Gregory Nutt
c1fff4706c
signals: Adds a very limited, minimal implementation for SIGEV_THREAD
2015-12-30 15:01:14 -06:00
Gregory Nutt
9852932dcc
Fix another error from the last set of header file renaming
2015-12-30 13:48:29 -06:00
Gregory Nutt
849df03d22
Update dates on files modified for SIGEV_THREAD support
2015-12-30 13:28:39 -06:00
Gregory Nutt
9835eeb181
signals: Basic framework to support SIGEV_THREAD
2015-12-30 13:20:31 -06:00
Gregory Nutt
e76e8f41c6
pthread: Correct default schedule policy
2015-12-30 12:18:24 -06:00
Gregory Nutt
40659d12df
Rename libxx_internal.h to libxx.h
2015-12-30 07:56:56 -06:00
Gregory Nutt
426eb61e47
Fix an error introduced in the last big set of header file renaming
2015-12-29 18:29:24 -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
e7c753801d
Update submodules
2015-12-28 16:22:04 -06:00
Gregory Nutt
5206f8430f
Update submodules
2015-12-26 18:13:25 -06:00
Gregory Nutt
658272bbbf
FAT: Fix some duplicate definition warnings when big-endian is enabled
2015-12-26 14:49:40 -06:00
Gregory Nutt
5d95abc679
Update submodules
2015-12-26 12:06:05 -06:00
Gregory Nutt
0f2a48f640
Update submodules
2015-12-25 15:19:38 -06:00
Gregory Nutt
239c92ec2b
Update submodules
2015-12-24 13:47:53 -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
Gregory Nutt
7110634a38
Trivial typo fix in a comment
2015-12-23 16:09:49 -06:00
Gregory Nutt
5d84cd5d11
Improve a few comments
2015-12-23 15:17:16 -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
86935ca2dc
Update README
2015-12-23 09:49:58 -06:00
Gregory Nutt
3036e53be4
Update TODO list
2015-12-23 08:19:13 -06:00
Gregory Nutt
198cfd0224
Forgot to add a file needed in the last commit
2015-12-22 12:06:05 -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
8f540fd81a
Trivial fix to typo in a comment
2015-12-21 22:24:43 -06:00
Gregory Nutt
a2e1ece873
RTC: Handle RTC failures. If mktime is called with garbage, it may crash
2015-12-21 14:39:40 -06:00
Gregory Nutt
a696b807fb
PCF65263: Correct readback verification of seconds register
2015-12-21 14:00:25 -06:00
Gregory Nutt
1e96a07346
Kconfig: CONFIG_BUILD_KERNEL should not be experimental
2015-12-21 10:58:59 -06:00
Gregory Nutt
2c0770a4b6
Update submodules
2015-12-19 16:34:28 -06:00
Gregory Nutt
a12eeaf899
Update submodules
2015-12-17 15:32:25 -06:00
Gregory Nutt
cc48a12464
Update submodules
2015-12-16 12:47:14 -06:00
Gregory Nutt
dc30bb5a54
Update submodules
2015-12-16 09:06:24 -06:00
Gregory Nutt
435d7597cf
sycalls: Fix some missing quotes in the syscall CSV file
2015-12-15 17:49:07 -06:00
Gregory Nutt
797798d4ea
Update ChangeLog
2015-12-15 17:21:34 -06:00
Gregory Nutt
b1a0171d0f
Fix a missed name change in a Kconfig file
2015-12-15 08:43:18 -06:00
Gregory Nutt
8ab93fdf98
Change name of drivers/discrete back to drivers/ioexpander
2015-12-15 08:40: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
ebfead6f0d
Update submodules
2015-12-14 15:42:02 -06:00
Gregory Nutt
09f236aea4
Update ChangeLog
2015-12-14 13:20:47 -06:00