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 |
|
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 |
|
Gregory Nutt
|
f7684abdd2
|
Rename sam_gclk.h to samd_gclk.h. Add saml_gclk.h
|
2015-05-17 08:06:56 -06:00 |
|
Gregory Nutt
|
2f200ab966
|
SAML21: Add OSC32KCTRL header file
|
2015-05-16 15:49:22 -06:00 |
|
Gregory Nutt
|
10e4cbfeb9
|
Add SAML21 OSCCTRL definitions
|
2015-05-16 13:33:09 -06:00 |
|
Gregory Nutt
|
5a79aade2b
|
SAML21: Rename sam_clockconfig.c to samd_clockconfig.c. saml_clockconfig.c forthcoming.
|
2015-05-16 13:32:12 -06:00 |
|
Gregory Nutt
|
d542c49b53
|
Add SAML21 MCLK header file
|
2015-05-16 11:02:19 -06:00 |
|
Gregory Nutt
|
113d065ed2
|
Rename the sam_sysctrl.h header file to samd_sysctrl.h since it does not apply to the saml
|
2015-05-16 11:01:45 -06:00 |
|
Gregory Nutt
|
69ca2f0f8b
|
SAML21: Add pin multiplexing definitions
|
2015-05-15 11:45:56 -06:00 |
|
Gregory Nutt
|
2c71d8c4a5
|
SAML21: Flesh out SAML21 memory map
|
2015-05-15 09:30:25 -06:00 |
|
Gregory Nutt
|
5a666cf85b
|
SAMA5 OHCI: Fix errors introduced with blind changes to match changes to LPC17 OHCI. Fix some handling for the case where we get a falso alarm transfer completion after disconnection/cancellation
|
2015-05-15 09:02:17 -06:00 |
|
Gregory Nutt
|
87b065253d
|
LPC17 USB host: Fix some OHCI done head handling when a tranfer is cancelled
|
2015-05-15 08:29:45 -06:00 |
|
Gregory Nutt
|
6591a36950
|
OHCI drivers: Try disabling bulk list when cancelling bulk transfers
|
2015-05-15 07:31:13 -06:00 |
|
Gregory Nutt
|
33594ef326
|
Oop.. remove duplicate #else
|
2015-05-14 14:13:43 -06:00 |
|
Gregory Nutt
|
c84eb2f9fb
|
SAML21: Add configuration logic and placeholders for memory man and pin configruation header files
|
2015-05-14 14:02:50 -06:00 |
|
Gregory Nutt
|
14d6d059ac
|
Fix a missed renaming in a Kconfig file
|
2015-05-14 12:33:42 -06:00 |
|
Gregory Nutt
|
f606dea3b1
|
Rename SAMD directories and configuration variables to SAMDL so that the same build environment can support the SAML
|
2015-05-14 12:25:09 -06:00 |
|
Gregory Nutt
|
efd06005fa
|
SAMA5D OHCI: Missing D-Cache flush
|
2015-05-14 11:10:15 -06:00 |
|
Gregory Nutt
|
52720e9368
|
USB host drivers: Cannot take semaphores in cancel() method
|
2015-05-14 09:58:21 -06:00 |
|
Gregory Nutt
|
cde3fef581
|
STM32/EFM32 USB host drivers. Remove some detritus left from previous change
|
2015-05-14 07:55:55 -06:00 |
|
Gregory Nutt
|
8c05ef57f5
|
LM3S Ethernet: More semicolons needed after modified DEBUGASSERT macro. From Brennen Ashton
|
2015-05-14 06:35:40 -06:00 |
|
Gregory Nutt
|
416af1b54f
|
Update README
|
2015-05-13 13:30:26 -06:00 |
|
Gregory Nutt
|
5b687f4b0f
|
Fix several defien -> define. Thanks Pierre
|
2015-05-13 06:33:17 -06:00 |
|
Gregory Nutt
|
c4db8e440d
|
SAMV7 TWIHS: Fix logic that performs multi-message tranfers with and without repeated starts. This change is the final piece that was required to get the maXTouch Xplained Pro workding.
|
2015-05-12 17:56:35 -06:00 |
|
Gregory Nutt
|
40fac5d6d1
|
KL: Fix offset to the TPM status register. From Michael Hope.
|
2015-05-12 07:08:33 -06:00 |
|
Gregory Nutt
|
18bc1702e1
|
Fix typo in arch/arm/include/kl/chip.h header file. From Michael Hope
|
2015-05-12 07:05:29 -06:00 |
|
Gregory Nutt
|
3467c30d73
|
EHCI HCDs: Check for transfer in progress before attempting cancellation
|
2015-05-11 12:12:19 -06:00 |
|
Gregory Nutt
|
cf1ab6baec
|
The USB host cancellation now applies to all transfers and so it no longer conditional
|
2015-05-11 12:04:03 -06:00 |
|
Gregory Nutt
|
8ed11a374d
|
EHCI HCDs will now support cancellation of syncrhonous transfers
|
2015-05-11 11:43:31 -06:00 |
|
Gregory Nutt
|
a2ad652509
|
STM32 and EFM32 host will now support cancellation of synchronous methods
|
2015-05-11 11:15:28 -06:00 |
|
Gregory Nutt
|
7a3fafb67f
|
OHCI HCDs will not support cancellation of syncrhonous transfers
|
2015-05-11 10:36:17 -06:00 |
|
Gregory Nutt
|
33f5015f21
|
Correct an error recently introduced in the STM32 and EFM32 USB host controller drivers.
The test for data partially transferred is incorrectec: chan->xfrd != xfrlen
Should be chan->xfrd > 0
From Ronly XLN.
|
2015-05-11 09:04:25 -06:00 |
|
Gregory Nutt
|
c7a02488c6
|
Fix a cut'n'paste error in the last commit
|
2015-05-10 10:23:23 -06:00 |
|
Gregory Nutt
|
e6ebdba913
|
OHCI: Fix length calculation in all OHCI drivers: CBP==0 means that the entire buffer was transferred, not that a null packet was tranaferred
|
2015-05-10 10:01:22 -06:00 |
|
Gregory Nutt
|
85647eecc9
|
Add EXTI line definitions for the STM32L family.
|
2015-05-09 09:03:14 -06:00 |
|
Gregory Nutt
|
5defecbef5
|
STM32 F3: Add DBGMCU register definitions for the F3 family. From Greg Meiste.
|
2015-05-09 06:05:17 -06:00 |
|
Gregory Nutt
|
5a5d044bc5
|
Adds support for STM32F302K8 and STM32F302K6. From Ben Dyer via PX4/David Sidrane.
|
2015-05-08 14:10:55 -06:00 |
|
Gregory Nutt
|
c35bb693a9
|
USB host CDC/ACM fixes. Still kind of buggy
|
2015-05-08 10:58:41 -06:00 |
|
Gregory Nutt
|
8f0fb36f11
|
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
|
4bde37eabc
|
kl: enable the clocks to UART1 and UART2. The previous version would cause a hard fault on startup due to the modules not being clocked. Also drop the GPIO configuration as it's done during kl_start(). From Michael Hope.
|
2015-05-07 17:17:54 -06:00 |
|
Gregory Nutt
|
c120a61b80
|
kl: fix PWM debugging. TPM1 and TPM2 have two channels instead of six and will hard fault if you try to read the missing channels. From Michael Hope.
|
2015-05-07 17:17:53 -06:00 |
|
Gregory Nutt
|
53bb938f23
|
Misc improvements to the CDC/ACM host driver, mostly related to parsing the configuration descriptor. Still does not work.
|
2015-05-07 10:02:51 -06:00 |
|
Gregory Nutt
|
35952e47ea
|
Add support for the KL25Z64. The KL25Z64 is a lower memory variant of the KL25Z128 and is used on the Teensy LC. From Michael as SourceForge patch 50.
|
2015-05-07 06:47:17 -06:00 |
|
Gregory Nutt
|
96698619a0
|
LPC17 USB host: Fix some compile errors when bulk endpoints + USB debug enabled. Refresh a configuration
|
2015-05-06 16:15:12 -06:00 |
|
Gregory Nutt
|
48be132e5d
|
Fix a few typos in comments
|
2015-05-06 15:26:07 -06:00 |
|