Commit Graph

4924 Commits

Author SHA1 Message Date
Gregory Nutt
d50761428c LPC11: Fix hardcoded BAUD calculation. Is no configurable. From Alan Carvalho de Assis 2015-05-27 09:44:07 -06:00
Gregory Nutt
528275a77c Fix some typos 2015-05-27 07:34:35 -06:00
Gregory Nutt
ac102d3f85 K20: Some preliminary pin definitions 2015-05-26 17:02:47 -06:00
Gregory Nutt
318345fb1d Basic support for the Kinetis K20 architecture. Taken from PX4. This is the work of Jakob Odersky. 2015-05-26 15:03:35 -06:00
Gregory Nutt
cae38625f8 SAM4L: Fix some issues from loast commit. Now running off DFLL with source clock = XOSCK32K 2015-05-26 13:25:39 -06:00
Gregory Nutt
b96a141e8a SAML21-Xlplained: Add options to enable XOSC32K and to use it as the DFLL source; NSH configure now uses DFLL with OSC16M source 2015-05-26 10:39:38 -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
fe175fbc16 SAMD20: Fixes the problem introduced with the SAML21 integration 2015-05-25 10:13:06 -06:00
Gregory Nutt
643a98a0a8 SAML21: Fix issue with open loop operation; Add configuration options to select clock source 2015-05-24 10:27:37 -06:00
Gregory Nutt
9649e564f9 LPC11xx: Use offsets instead of absolute address in look-up tables. This saves about 156 bytes of FLASH. From Alan Carvalho de Assis. 2015-05-24 07:49:38 -06:00
Gregory Nutt
6973337ccd Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
Gregory Nutt
8e71f90d84 SAML21: Add missing support for GCLK8 2015-05-23 17:02:13 -06:00
Gregory Nutt
d495834882 SAML21: Several SERCOM fixes. No gets UART output, but at the wrong BAUD 2015-05-23 13:08:28 -06:00
Gregory Nutt
84ca7f4a46 SAM4L: Re-order some clock initialization. There was a dependency of GCLK0 on DFLL, but DFLL was being enabled after GCLK0 2015-05-23 11:01:22 -06:00
Gregory Nutt
41f9fb8c62 SAML21: Fix some register definitions; board OSC16M frequency 2015-05-23 10:54:51 -06:00
Gregory Nutt
09d1bc7060 LPC11xx: Add support for up_getc() which is needed for NSH if there is no file system. From Alan Carvalho de Assis. 2015-05-23 09:23:36 -06:00
Gregory Nutt
601aa6e358 SAMD/L: Change ordering of some initialization steps to match Atmel sample code. Add Errate 13134 support. SAML wait states changed to 1. Sample code is using 0 2015-05-23 08:55:06 -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
9140a0fcc4 Initial support for the NXP LPC11 family and the LPC1115 MCU in particular. Contributed by Alan Carvalho de Assis. 2015-05-22 14:14:09 -06:00
Gregory Nutt
1c82e961f5 SAML21. With these changes, the board now builds without error 2015-05-22 10:36:37 -06:00
Gregory Nutt
0eee2c40a8 SAML21: Rename sam_gclk.c to samd_gclk.c. Create saml_gclk.c with corrected logic for the SAML21 2015-05-22 07:28:19 -06:00
Gregory Nutt
2314cbd37e SAML21 clock config: Fix a misthink in last commit. Move setting of ONDEMAND to after clock is enabled in most cases 2015-05-21 16:50:55 -06:00
Gregory Nutt
2478184c22 SAML21: Clean up a few more compilation issues 2015-05-21 16:23:15 -06:00
Gregory Nutt
a0b9e26aba SAML21: Add logic to set MCLK CPU and related dividers 2015-05-21 13:40:34 -06:00
Gregory Nutt
ed47a08832 SAML21: Add FDPLL96M configuration logic 2015-05-21 11:52:38 -06:00
Gregory Nutt
786b292b1f SAML21: Add logic to support GLCK peripheral channels; add logic to configure FDPLL lock timer and ref clock GCLKs 2015-05-21 10:47:41 -06:00
Gregory Nutt
544a789714 SAMD/L: Move GCLK configuration logic to its own C file 2015-05-21 10:07:42 -06:00
Gregory Nutt
4a60f1c9f5 STM32: Building stm32_rng.c should be conditioned on CONFIG_STM32_RNG, not CONFIG_DEV_RANDOM. From Juha Niskanen 2015-05-21 07:47:22 -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
bd2bbfe53a Fixes for Tiva TM4C1294NCPDT. From Frank Sautter. 2015-05-20 18:34:15 -06:00
Gregory Nutt
ac2fe431aa SAML21: Add some parameter checking for FDPLL96M 2015-05-20 13:51:40 -06:00
Gregory Nutt
5eae4c914a Minor restructure for SAML21 FDPLL 2015-05-20 13:37:08 -06:00
Gregory Nutt
307d0d0e55 SAML21 minor cleanup 2015-05-20 13:00:39 -06:00
Gregory Nutt
8075f8ab84 SAML32: Update some DFLL logic 2015-05-20 12:26:49 -06:00
Gregory Nutt
7000cf8193 Fix SYNCBUSY wait for the SAML21 2015-05-20 11:49:24 -06:00
Gregory Nutt
321b54f49a Updated EFM32 RTC driver from Pierre-noel Bouteville 2015-05-19 14:53:01 -06:00
Gregory Nutt
8980f72251 SAML21-Xplained: Update the cloned SAMD20-Xplained board configuration for specifics of the SAML21-Xplained 2015-05-19 14:32:09 -06:00
Gregory Nutt
23732e2c9b SAMD/L: Hide differences in the way peripheral clocking is enabled behind macros. Some updates to saml_clockconfig.h + various fixes while working toward SAML21 build 2015-05-19 11:03:24 -06:00
Gregory Nutt
b94a8d7ee7 Clock configuration logic for the SAML21. Initial commit is just the SAMD20 clock configuration with some naming changes and does not compile 2015-05-19 07:02:58 -06:00
Gregory Nutt
792c76c4e6 Add saml_trng.h for SAML32 2015-05-19 06:31:48 -06:00
Gregory Nutt
0294384dd7 Add saml_eic.h for SAML21 2015-05-18 18:55:16 -06:00
Gregory Nutt
4458a34787 SAML21: Add interrupt header file + fix a few initial compile issues. Still a long way to go 2015-05-18 17:41:28 -06:00
Gregory Nutt
dfa87403b3 Add basic board build configurat for the SAML21 Xplained. Initial commit is jsut the SAMD20 Xplained with name changes and does not yet build 2015-05-18 13:16:32 -06:00
Gregory Nutt
c28a6a91f3 Rename sam_fuses.h to samd_fuses.h; add saml_fused.h for the SAML21 2015-05-18 11:59:53 -06:00
Gregory Nutt
aecb60a8e8 Rename sam_sercom.h to samd_sercom.h; Add saml_sercom.h for the SAML21 2015-05-18 10:54:50 -06:00
Gregory Nutt
317fb073ef Rename sam_port.h to samd_port.h; add saml_port.h for the SAML21 2015-05-18 10:35:11 -06:00
Gregory Nutt
16a2d363f9 Rename sam_nvmctrl.h to samd_nvmctrl.h; add saml_nvmctrl.h for SAML21 2015-05-18 09:44:12 -06:00
Gregory Nutt
a8cf79da52 Add SAML21 SUPC header file 2015-05-18 07:25:30 -06:00
Gregory Nutt
54027c756e Add saml_i2c_slave.h for the SAML21 2015-05-17 18:18:35 -06:00
Gregory Nutt
d0f236d855 Fix some mismatched C++ logic in header files 2015-05-17 16:51:18 -06:00