sam/4l: monster commit

The original submitter of this squished everything into one series, and
has not returned. The code mostly appears good, and review comments were
followed for the most part.  The project doesn't really maintain any
testing or board farm for sam3/sam4 parts, so we're going to just trust
our users.

Reviewed-by: Karl Palsson <karlp@tweak.net.au>

sam/4l: IRQ Configuration file (irq.json)

sam/4l: Basic Memory Map.

sam/4l: GPIO Defines.

sam/4l: GPIO Functions

Added everything that needed to compile the library: Makefile, Linker
Script and common includes.

sam/4l: SCIF function to start OSC.

sam/4l: GPIO Enable/Disable and Multiplexing configuration functions.

sam/4l: PLL Clock configuration.

sam/4l: Peripheral clock configuration and basic USART support.

sam: USART Character length configuration.

sam/4l: Generic Clock configuration functions.

sam/4l: Analog to Digital Converter Interface (ADCIFE) basic support.
This commit is contained in:
Maxim Sloyko
2016-04-16 07:30:48 -07:00
committed by Karl Palsson
parent b4f195b488
commit 2b1ddc8490
31 changed files with 2003 additions and 23 deletions

View File

@@ -229,6 +229,13 @@ sam3x8e* sam3xnfc ROM=512K RAM=64K RAM1=32K
samd10?13* samd ROM=8K RAM=4K
samd10?14* samd ROM=16K RAM=4K
################################################################################
# the SAM4 chips
sam4l?8* sam4l ROM=512K RAM=64K RAM1=4K
sam4l?4* sam4l ROM=256K RAM=32K RAM1=4K
sam4l?2* sam4l ROM=128K RAM=32K RAM1=4K
################################################################################
# the lpc chips
@@ -460,6 +467,10 @@ sam3u END ROM_OFF=0x00080000 RAM_OFF=0x20000000 RAM1_OFF=0x20080000 NFCRAM=4K NF
sam3x END ROM_OFF=0x00080000 RAM_OFF=0x20000000 RAM1_OFF=0x20080000 CPU=cortex-m3 FPU=soft
samd END ROM_OFF=0x00000000 RAM_OFF=0x20000000 CPU=cortex-m0plus FPU=soft
################################################################################
# the SAM4 families
sam4l END ROM_OFF=0x00000000 RAM_OFF=0x20000000 RAM1_OFF=0x21000000
################################################################################
# the lpc families