Paul A. Patience
a0dc724a5d
Correct #if to #ifdef when the macro can be undefined. Fix bug in AT32UC3 clock initialization: AVR32_CLOCK_PLL_OSC1 should be AVR32_CLOCK_PLL0_OSC1 and AVR32_CLOCK_PLL1_OSC1.
2015-09-01 13:47:06 -04:00
Gregory Nutt
70f1a49fbe
arch/arm/src/up_iternal.h and several ARM Make.defs files: In the original implementation, NOT defined(CONFIG_ARMV7M_CMNVECTOR) was a sufficient test to determine if lazy floating point register saving was being used. But recents changes added common lazy register as well so now that test must be (NOT defined(CONFIG_ARMV7M_CMNVECTOR) || defined(CONFIG_ARMV7M_LAZYFPU)).
2015-08-31 08:40:02 -06:00
Gregory Nutt
da6c5aabdf
All ARMV7-M IRQ setup: Always set the NVIC vector table address. This is needed in cases where the code is running with a bootload and when the code is running from RAM. It is also needed by the logic of up_ramvec_initialize() which gets the vector base address from the NVIC. Suggested by Pavel Pisa
2015-08-21 08:42:24 -06:00
Gregory Nutt
ba6c0b3fa3
Fix more common typos
2015-08-16 11:06:29 -06:00
Gregory Nutt
e29220183a
Fix some common typos
2015-08-16 10:59:10 -06:00
Max Neklyudov
b13e182099
Correct some problems with SAM3/4 watchdog driver. Includes some small improvements. From Max Neklyudov.
2015-07-21 07:15:39 -06:00
Gregory Nutt
1f5e16dc95
Fix some warnings/errors detected by nuttx/tools/testbuilds.sh
2015-07-10 18:41:26 -06:00
Gregory Nutt
b8976adfb3
SAM4L: GPIO interrupts are not yet supported; can't compile sam_gpioirq.c yet
2015-07-03 09:33:52 -06:00
Gregory Nutt
fb926e7283
Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation
2015-06-28 08:08:57 -06:00
Max Neklyudov
8438b8eee8
SAM3/4: Add a TWI driver for the SAM4CM. From Max Neklyudov.
2015-06-22 09:32:15 -06:00
Max Neklyudov
0f19a33b3d
SAM4CM: Fix SUPC register definitions. From Max Neklyudov
...
Remove conditional logic form non-SAM4CM parts (Gregory Nutt)
2015-06-22 06:52:57 -06:00
Max Neklyudov
e4d7b311b7
sam4cm: add CFB and MAC AES modes. From Max Neklyudov
2015-06-22 06:42:37 -06:00
Max Neklyudov
bdf0b6a9ab
Back out an error introduced with commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in up_lowputc(). From Max Neklyudov.
2015-06-22 06:19:45 -06:00
Gregory Nutt
75077f4728
SAML21: Add DMA descriptor management logic
2015-06-14 08:48:25 -06:00
Gregory Nutt
8c8b2d926b
SAMD21: Add build framework for DMA support. Nothing there yet except for skeletal logic taken from SAM3/4.
2015-06-13 15:06:37 -06:00
Gregory Nutt
29136e51cc
Clean up and review of header files for conformance to standards
2015-06-12 19:26:01 -06:00
Gregory Nutt
7bd3d5eaf1
Clean up and review of header files for conformance to standards
2015-06-12 19:00:52 -06:00
Gregory Nutt
46148524a9
SAM4S/4E: Eand default loop optimiozation if EEFC_FMR configuration. From Marco Aurélio da Cruz
2015-06-11 14:35:49 -06:00
Gregory Nutt
f055d4cac4
Logic that samples the free running counter reads the pending interrupt status regsiter and can cause interrupts to be lost. So, if when the status regsiter is read, the logic must also handle the timer overflow event. Found and fixed by Max Neklyudov
2015-05-26 08:09:10 -06:00
Gregory Nutt
d1aae43e2a
SAM4CM: Add support for optical mode for UART1. From Max Neklyudov.
2015-05-23 06:48:36 -06:00
Gregory Nutt
790d53bb06
SAM3/4 Serial: In NONBLOCKING mode serial does not receive bytes from UART. This happens because RX interrupt was disabled in the setup routine. To fix this I save interrupt configuration before uart shutdown and restore it after. From Max Neklyudov.
2015-05-21 07:06:47 -06:00
Gregory Nutt
b8483aea40
In go_os_start that sets the IDLE thread stack coloration, mov does not set condition codes which are tested by the following beq. Need to use movs instead. Noted by David Sidrane
2015-05-07 20:36:08 -06:00
Gregory Nutt
5f113517f6
Fix a few typos in comments
2015-05-06 15:26:07 -06:00
Gregory Nutt
40c1484848
Correct some cloned typos involving EHCI
2015-04-27 14:03:24 -06:00
Gregory Nutt
d77a19f0a2
Two r's and only two r's in the word interrupt
2015-04-23 14:04:43 -06:00
Gregory Nutt
8172e4cec1
More places where watchodg mispelled
2015-04-15 21:36:30 -06:00
Gregory Nutt
6b7a0cb3b8
Revert commit b80e8be652dfa52e97daa65aa3e550cf31cb2409
2015-04-12 06:26:50 -06:00
Gregory Nutt
9ece96b6d3
Remove all traces of CONFIG_ARMV7M_STACKCHECK
2015-04-11 10:01:44 -06:00
Gregory Nutt
929ea217c7
Remove executable flag from more .c and .h files
2015-04-09 08:20:57 -06:00
Gregory Nutt
a93913c0f4
SAMA5 Serial: Reading IMR and disabling interrupt must be atomic
2015-04-08 15:27:31 -06:00
Gregory Nutt
35312b31f9
SAM3/4 and SAMV7 UART: The IMR register is read-only. This means that sam_restoreints() does not actually re-enable UART interrupts.
2015-04-08 15:04:10 -06:00
Gregory Nutt
27bb133294
SAM3/4 and SAMV7 Serial: Serial interrupts left disabled.
...
A side-effect of changing serial settings via TERMIOS (such as tcsetattr) is that serial interrupts were being left disabled. This is not a problem if the serial configuration is changed when there are no open references to the serial device. In that case, serial interrupts are disabled and will not be enabled enabled until the serial device is first opened. But it is fatal if the serial device is already opened and if there is a task waiting to receive data. In that case, the side-effect of disabling interrupts is fatal: That task is then left hanging with interrupts disabled.
2015-04-08 14:14:01 -06:00
Gregory Nutt
ae15c6963c
Make some file section headers more consistent with standard
2015-04-08 08:04:12 -06:00
Gregory Nutt
69d2d77424
Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
2015-04-01 12:37:44 -06:00
Gregory Nutt
e68baa3073
Include chip/sam_spi.h in sam_spi.h
2015-03-20 11:09:36 -06:00
Gregory Nutt
8d31651a1b
Bringing PPPD yet closer to the NuttX coding style
2015-03-11 18:47:04 -06:00
Gregory Nutt
d8a99fb73f
SAMV71-XULT: Enable 64-bit floating point support
2015-03-11 12:30:14 -06:00
Gregory Nutt
ed0fa0358c
SAMV7: Add PIO register definition header file
2015-03-08 17:34:26 -06:00
Gregory Nutt
bbf80bbd5d
SAMV71: Add pin mapping definitions
2015-03-08 13:24:32 -06:00
Gregory Nutt
5b72858f0c
SAMV71: Add UART register definition header file
2015-03-08 08:42:22 -06:00
Gregory Nutt
2571d6202d
SAMV71-XULT: Add heap allocation logic
2015-03-07 11:46:54 -06:00
Gregory Nutt
b1cecdd3ea
SAMV7: Add interrupt-related logic
2015-03-07 11:16:44 -06:00
Gregory Nutt
7f92f22167
SAMV71: Add Supply Controller register definition header file
2015-03-06 15:27:51 -06:00
Gregory Nutt
7113de4d18
SAMV71: Add PMC register definition header files
2015-03-06 14:58:13 -06:00
Gregory Nutt
9bcdf974a0
Add new common lazy FPU state saving option for ARMv7-M. Not yet verified
2015-03-06 08:26:43 -06:00
Gregory Nutt
3b798f6ef1
SAM3/4: Leverage some start-up logic from STM32
2015-03-05 17:45:13 -06:00
Gregory Nutt
f4ec5efe3a
SAMV71: Add memory map header file
2015-03-05 15:47:29 -06:00
Gregory Nutt
67c21e6817
SAMV7 Kconfig: Add peripheral selections
2015-03-05 13:51:39 -06:00
Gregory Nutt
5158e10bc2
Fix two uses of DEBUG_COLORATION vs STACK_COLORATION (from David Sidrane). Also some corrected comments
2015-03-05 06:41:14 -06:00
Gregory Nutt
429863f348
arch/: board function prototypes are now in include/nuttx/board.h. Remove from architecture header file; Add inclusion of nuttx/board.h to all files referencing board functions
2015-02-27 17:19:38 -06:00