Commit graph

32606 commits

Author SHA1 Message Date
Gregory Nutt
41992ca46a NuttShell.html: Add documentation of the time command 2015-12-31 09:34:27 -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
697bc47187 Refresh configuration; update README 2015-12-30 12:36:53 -06:00
Gregory Nutt
b323e1d5ff Trivial, cosmetic 2015-12-30 12:36:22 -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
3c286bd5f8 Update README files 2015-12-30 07:56:11 -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
d1ece2c59f Fix some bad inclusions of files with internal in the name 2015-12-29 18:18:20 -06:00
Gregory Nutt
d235dcc3b0 Rename the LPC2378 header file internal.h to lpc2378.h 2015-12-29 18:17:23 -06:00
Gregory Nutt
8eab9280d8 Rename all architecture files of form xyz_internal.h to just xyz.h 2015-12-29 18:07:27 -06:00
Gregory Nutt
71c289ce4f Rename all architecture files of form xyz_internal.h to just xyz.h 2015-12-29 18:07:11 -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
6daa73a945 Remove internal from name of all board header files 2015-12-29 15:44:56 -06:00
Gregory Nutt
a64ebf212d STM32F3-Discvoery: Rename stm32f3discovery-internal.h to just stm32f3discovery.h 2015-12-29 15:09:04 -06:00
Dimitry Kloper
9cae5a0e14 Merged nuttx/boards/master into atmega2560 2015-12-29 21:54:24 +02:00
Dimitry Kloper
a7fea840be Merged nuttx/arch/master into atmega2560 2015-12-29 21:54:06 +02:00
Gregory Nutt
e9d116ef14 Coding Standard: Add TAB stop requirement 2015-12-29 13:36:26 -06:00
Gregory Nutt
fc30b31ed3 Update ChangeLog 2015-12-29 13:05:34 -06:00
Gregory Nutt
e7042df19c README: Add reference to arduion-meg2560 README 2015-12-29 13:05:15 -06:00
Gregory Nutt
68cc2ecfd2 ATMEGA2560: Most cosmetic changes from review of pull request 2015-12-29 13:02:20 -06:00
Gregory Nutt
9bde162fd6 Arduino-Atmega2560: Updates from review of merge plus name changes to be consistent with the new conventions that I am trying to establish 2015-12-29 12:36:59 -06:00
Gregory Nutt
321d8f1441 Merged in kloper/boards/atmega2560 (pull request #26)
Arduino Mega 2560: Introduce 'Hello World' example
2015-12-29 12:21:38 -06:00
Gregory Nutt
87a6662998 Merged in kloper/arch/atmega2560 (pull request #46)
Atmega2560
2015-12-29 12:20:09 -06:00
Dimitry Kloper
65f1168750 Merge branch 'atmega2560' of bitbucket.org:kloper/boards into atmega2560 2015-12-29 19:29:59 +02:00
Dimitry Kloper
8fa0f43a59 Merged nuttx/boards/master into atmega2560 2015-12-29 19:29:16 +02:00
Dimitry Kloper
6690663d77 Arduino Mega 2560: Introduce 'Hello World' example 2015-12-29 19:26:48 +02:00
Dimitry Kloper
0b8a43abbb Merged nuttx/arch/master into atmega2560 2015-12-29 19:10:57 +02:00
Dimitry Kloper
3c0c90e07d Minor identation fix 2015-12-29 19:09:20 +02:00
Dimitry Kloper
3746305f12 AVR: Minor adapt to a differnt TIMER IRQ notions for Atmega2560 2015-12-29 19:08:13 +02:00
Dimitry Kloper
556954141e AVR: Add support for AVR chips with 24-bit Program Counter register
The main challenge is to change the context switch code to be aware of the
extra byte that is saved on stack during call and intterupt. This relates also
to the task startup and signal handling.
2015-12-29 19:01:06 +02:00
Dimitry Kloper
99aab135b2 AVR: Make setting of XDIV optional for platforms that support it
Put setting of XDIV into ifdef since not AVR platforms support it.
2015-12-29 18:56:12 +02:00
Dimitry Kloper
462307f4b7 AVR: Clear EIND on system start-up
For AVR chips (Atmega2560) Program Counter register larger than 16 bits
EIND represents the most significant byte that is used for EICALL and EIJMP
instructions.

Setting of EIND is normally managed by compiler, but I have seen a situation
when for first 64K flash segment compiler didn't set EINT explicitly. Thus
setting EIND at system startup makes sure we are safe.
2015-12-29 18:46:28 +02:00
Dimitry Kloper
9a4a06bf47 AVR: Explicitly disable interrupts as the first step of system init
Disabling interrupts at the very beginning of system init does not
make sense after reset since interrupts are disabled anyway. But
it is very convenient for debugging purposes, in situations when the
system misbehaves and ocassionally jumps to zero.
2015-12-29 18:35:36 +02:00
Dimitry Kloper
ff5e589f76 AVR: add support for TCGETS and TCSETS terminal controls
Sometimes I need UART to support binary data transfer, TCSETS/TCGETS allow
stwitching into binary mode.
2015-12-29 17:56:44 +02:00
Gregory Nutt
416e01bbfa TMS570: Add some placeholders for missing logic; fix some conditional compilation 2015-12-29 09:30:37 -06:00
Dimitry Kloper
d6f6e41a36 AVR: Fix linking error for AVR platforms that have no ARCH_HAVE_LEDS defined
Minor bug while working on Arduino Mega support. I didn't add support
for ARCH_HAVE_LEDS and have it undefined in .config. To my surprise compilation
failed since AVR code had a related function compiled in.
2015-12-29 17:26:11 +02:00
Dimitry Kloper
8f8b88f532 AVR: Fix resulting nuttx file name when EXEEXT is not empty
arch/avr/Makefile is adding extra EXEEXT to the
nuttix image file. This was not discovered since in most configurations
EXEEXT is empty string.
2015-12-29 17:19:30 +02:00
Gregory Nutt
7a0d6cd7ca TMS570: Fix an error introduced in last commit 2015-12-29 08:10:16 -06:00
Gregory Nutt
d9737f0645 TMS570: reset stack pointer before calling os_start 2015-12-29 07:56:22 -06:00
Gregory Nutt
e7d7036cb9 ARMv7-R: L2CC_VBASE->L2CC_BASE 2015-12-28 16:32:34 -06:00
Gregory Nutt
e7c753801d Update submodules 2015-12-28 16:22:04 -06:00