Commit Graph

3890 Commits

Author SHA1 Message Date
Gregory Nutt
f57de7a0d6 K20: Some preliminary pin definitions 2015-05-26 17:02:47 -06:00
Gregory Nutt
99e4c14ee1 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
fabd892d3a 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
315eb4b491 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
6e3fdea1a6 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
49d999f9d4 SAMD20: Fixes the problem introduced with the SAML21 integration 2015-05-25 10:13:06 -06:00
Gregory Nutt
7e3508361f SAML21: Fix issue with open loop operation; Add configuration options to select clock source 2015-05-24 10:27:37 -06:00
Gregory Nutt
a9b3fea3ca 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
4adda9d428 Fix numerous typos in configuration variable names. Tracked down by Alan Carvalho de Assis 2015-05-23 17:08:35 -06:00
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