Commit Graph

4901 Commits

Author SHA1 Message Date
Gregory Nutt
67380a335f SAML21: Add missing support for GCLK8 2015-05-23 17:02:13 -06:00
Gregory Nutt
fa585b66a3 SAML21: Several SERCOM fixes. No gets UART output, but at the wrong BAUD 2015-05-23 13:08:28 -06:00
Gregory Nutt
7b7da5ded4 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
b246e7adf2 SAML21: Fix some register definitions; board OSC16M frequency 2015-05-23 10:54:51 -06:00
Gregory Nutt
0607441b95 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
6bf2257d41 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
c61e7c3a96 SAM4CM: Add support for optical mode for UART1. From Max Neklyudov. 2015-05-23 06:48:36 -06:00
Gregory Nutt
bbdb84c1f4 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
bd23c4ad4e SAML21. With these changes, the board now builds without error 2015-05-22 10:36:37 -06:00
Gregory Nutt
de6eb5c02b 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
4542778f90 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
dde121c49d SAML21: Clean up a few more compilation issues 2015-05-21 16:23:15 -06:00
Gregory Nutt
4097432f2c SAML21: Add logic to set MCLK CPU and related dividers 2015-05-21 13:40:34 -06:00
Gregory Nutt
7cd5f669bd SAML21: Add FDPLL96M configuration logic 2015-05-21 11:52:38 -06:00
Gregory Nutt
b068185811 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
20d3b63946 SAMD/L: Move GCLK configuration logic to its own C file 2015-05-21 10:07:42 -06:00
Gregory Nutt
48be1479f6 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
52bcc7d0ba 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
0a9d3d872b Fixes for Tiva TM4C1294NCPDT. From Frank Sautter. 2015-05-20 18:34:15 -06:00
Gregory Nutt
8042d2e412 SAML21: Add some parameter checking for FDPLL96M 2015-05-20 13:51:40 -06:00
Gregory Nutt
0a8633f53b Minor restructure for SAML21 FDPLL 2015-05-20 13:37:08 -06:00
Gregory Nutt
8261197732 SAML21 minor cleanup 2015-05-20 13:00:39 -06:00
Gregory Nutt
67a45b019d SAML32: Update some DFLL logic 2015-05-20 12:26:49 -06:00
Gregory Nutt
ea1adddbcd Fix SYNCBUSY wait for the SAML21 2015-05-20 11:49:24 -06:00
Gregory Nutt
302dbd967d Updated EFM32 RTC driver from Pierre-noel Bouteville 2015-05-19 14:53:01 -06:00
Gregory Nutt
725e3cab72 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
857a2d08d9 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
ce5d03c763 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
f1f472866f Add saml_trng.h for SAML32 2015-05-19 06:31:48 -06:00
Gregory Nutt
8a18584f03 Add saml_eic.h for SAML21 2015-05-18 18:55:16 -06:00
Gregory Nutt
81ba1f0847 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
9e1c72e3e2 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
1df25eee7c 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
ca283d61e0 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
aca93f9740 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
36bea64b5c Rename sam_nvmctrl.h to samd_nvmctrl.h; add saml_nvmctrl.h for SAML21 2015-05-18 09:44:12 -06:00
Gregory Nutt
14160b715e Add SAML21 SUPC header file 2015-05-18 07:25:30 -06:00
Gregory Nutt
85ee7fc8e8 Add saml_i2c_slave.h for the SAML21 2015-05-17 18:18:35 -06:00
Gregory Nutt
53fe23f413 Fix some mismatched C++ logic in header files 2015-05-17 16:51:18 -06:00
Gregory Nutt
c13f11f495 Rename sam_i2c_slave.h to samd_i2c_slave.h 2015-05-17 16:50:40 -06:00
Gregory Nutt
6f12a3f31f Rename sam_i2c_master.h to samd_i2c_master.h; Add saml_i2c_master.h for SAML21 2015-05-17 16:42:37 -06:00
Gregory Nutt
07e1e8b40b SAMD/L: Move content of chip/sam_memorymap.h to chip.h; move chip/sam_pinmap. to sam_pinmap.h for consistency with other header files 2015-05-17 15:34:51 -06:00
Gregory Nutt
2725e382dc Rename sam_spi.h to samd_spi.h; Add saml_spi.h for the SAML21 2015-05-17 15:22:52 -06:00
Gregory Nutt
348d2cc484 Rename sam_usart.h to samd_usart.h; add saml_usart.h for the SAML21 2015-05-17 14:31:21 -06:00
Gregory Nutt
dd8069930e samd_wdt.h should include sam_sercom.h 2015-05-17 13:39:11 -06:00
Gregory Nutt
4d788f1582 Rename sam_evsys.h to samd_evsys.h; Add saml_evsys.h for the SAML21 2015-05-17 12:54:53 -06:00
Gregory Nutt
0c34d3f9b2 Rename sam_wdt.h to samd_wdt.h; Add saml_wdt.h for SAML21 2015-05-17 11:01:24 -06:00
Gregory Nutt
75883a4881 Add SAML21 RSTC register definitions 2015-05-17 10:41:21 -06:00
Gregory Nutt
0376cee7da SAML21: Add PM header file 2015-05-17 10:09:20 -06:00
Gregory Nutt
0d08073f04 SAML21: Rename chip/sam_pm.h to chip/samd_pm.h 2015-05-17 09:18:36 -06:00