Commit Graph

12609 Commits

Author SHA1 Message Date
Gregory Nutt
f87358faf9 correct some conditional compilation; update some comments 2016-01-12 07:05:50 -06:00
Gregory Nutt
53226b608e Trivial correction of alighment 2016-01-11 17:14:34 -06:00
Gregory Nutt
42bcda4933 Trivial to typo in error message text 2016-01-11 08:10:08 -06:00
Gregory Nutt
a0c4c071ed tools/cnvwindeps.c: Omit dependency paths that include spaces 2016-01-11 08:01:42 -06:00
Gregory Nutt
586b31abc5 tools/cnvwindeps.c: Need to build this tool even on non-Cygwin platforms (either that or rethink the dependencies). 2016-01-10 13:38:41 -06:00
Gregory Nutt
c77ac221a7 Merge remote-tracking branch 'origin/master' into windeps 2016-01-10 13:13:23 -06:00
Gregory Nutt
61e0eb8006 Use name, not CONFIG_ settings, to determine host OS; Fix errors in help text. 2016-01-10 13:09:10 -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
65826c7f21 tools/mkdeps.c: Fix error in calculation of the length of the command 2016-01-10 11:15:30 -06:00
Gregory Nutt
76f4c2bf20 tools/mkdeps.c: Correct logic that exands paths 2016-01-10 10:16:21 -06:00
Gregory Nutt
e5c8290d5c Should use --winpath option, not the --winnative option 2016-01-10 09:25:32 -06:00
Gregory Nutt
c0cb4c8b03 Update submodules 2016-01-09 20:06:40 -06:00
Gregory Nutt
f6718fb050 Merge remote-tracking branch 'origin/master' into windeps 2016-01-09 20:04:53 -06:00
Gregory Nutt
51ee01255b ENC28J60: Missing semicolon causes error in some configurations. Noted by Maciej Wójcik 2016-01-09 19:56:47 -06:00
Gregory Nutt
5ec04daaa2 Extending tools/mkdeps.c 2016-01-09 19:52:24 -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
4d02274d50 Update submodules 2016-01-09 16:41:18 -06:00
Gregory Nutt
435b29fa7c Update submodules 2016-01-09 16:39:30 -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
fbb4dcc0af Some networking logic was used helpers from apps/netutils. Not good. Quick fix is to duplicate logic 2016-01-09 15:57:44 -06:00
Gregory Nutt
1608b7c33f Some networking logic was used helpers from apps/netutils. Not good. Quick fix is to duplicate logic 2016-01-09 15:56:08 -06:00
Gregory Nutt
7f041b2af4 Update README 2016-01-09 14:27:22 -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
Gregory Nutt
1ac6ecac87 Changes to last pull request needed for conformance with coding standard 2016-01-09 07:27:22 -06:00
Gregory Nutt
70746f766f Merged in kloper/nuttx/atmega2560 (pull request #46)
debug macros for AVR (take #2): Introduce arch-specific debug macro hooks
2016-01-09 07:17:22 -06:00
Dimitry Kloper
d219f3a36e Introduce arch-specific debug macro hooks
Make it possible for arch code to provide hook macros for NuttX dbg
that will lead to arch-specific syslog() and lowsyslog() variants.
2016-01-09 14:28:12 +02:00
Dimitry Kloper
a5e48dd6a3 Merged patacongo/nuttx into master 2016-01-09 02:33:50 +02:00
Gregory Nutt
953298d516 Update submodules 2016-01-08 11:26:45 -06:00
Gregory Nutt
5496c450c5 Update submodules 2016-01-08 07:51:21 -06:00
Dimitry Kloper
d6b846b323 Merged patacongo/nuttx into master 2016-01-07 22:04:00 +02:00
Gregory Nutt
31294fb468 Update submodules 2016-01-07 08:15:00 -06:00
Gregory Nutt
ce2a0b6b51 Eliminate a warning 2016-01-06 10:05:39 -06:00
Gregory Nutt
b28bf55fb0 Cosmetic spacing change 2016-01-05 14:52:20 -06:00
Gregory Nutt
670ac9fb2f Fix an ommission in compiler.h 2016-01-05 14:46:49 -06:00
Dimitry Kloper
06438b0dcc Fix 64-bit clock-related constant value evaluation for AVR compiler
This may be specific for Atmel AVR8 toolchain compiler.
The problem is that despite of being 8-bit architecture
avr-gcc supports uint64_t, but the following code

uint64_t value = 10000 * 1000;

produces a wrong negative value in the final code (tested
both with and without optimization).

The work-around is simple:

uint64_t value = 10000 * 1000L;

The code is a reduced part from sched/signal/sig_timedwait.c where
waitticks64 is calculated using NSEC_PER_TICK. This one is defined
as USEC_PER_TICK * NSEC_PER_USEC which leads to the example above.
2016-01-05 12:02:02 -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
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