Rename the sam_sysctrl.h header file to samd_sysctrl.h since it does not apply to the saml

This commit is contained in:
Gregory Nutt 2015-05-16 11:01:45 -06:00
parent 69ca2f0f8b
commit 113d065ed2
2 changed files with 14 additions and 11 deletions

View File

@ -1,7 +1,7 @@
/********************************************************************************************
* arch/arm/src/samdl/chip/sam_sysctrl.h
* arch/arm/src/samdl/chip/samd_sysctrl.h
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
* Copyright (C) 2014, 2015 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* References:
@ -37,8 +37,8 @@
*
********************************************************************************************/
#ifndef __ARCH_ARM_SRC_SAMDL_CHIP_SAM_SYSCTRL_H
#define __ARCH_ARM_SRC_SAMDL_CHIP_SAM_SYSCTRL_H
#ifndef __ARCH_ARM_SRC_SAMDL_CHIP_SAMD_SYSCTRL_H
#define __ARCH_ARM_SRC_SAMDL_CHIP_SAMD_SYSCTRL_H
/********************************************************************************************
* Included Files
@ -48,6 +48,8 @@
#include "chip.h"
#ifdef CONFIG_ARCH_FAMILY_SAMD20
/********************************************************************************************
* Pre-processor Definitions
********************************************************************************************/
@ -315,4 +317,5 @@
* Public Functions
********************************************************************************************/
#endif /* __ARCH_ARM_SRC_SAMDL_CHIP_SAM_SYSCTRL_H */
#endif /* CONFIG_ARCH_FAMILY_SAMD20 */
#endif /* __ARCH_ARM_SRC_SAMDL_CHIP_SAMD_SYSCTRL_H */

View File

@ -7,11 +7,11 @@
* References:
* 1. "Atmel SAM D20J / SAM D20G / SAM D20E ARM-Based Microcontroller
* Datasheet", 42129JSAM12/2013
* 2. Atmel sample code. This code has an ASF license with is compatible
* with the NuttX BSD license, but includes the provision that this
* code not be used in non-Atmel products. That sample code was used
* only as a reference so I believe that only the NuttX BSD license
* applies.
* 2. Atmel sample code for the SAMD20. This code has an ASF license
* with is compatible with the NuttX BSD license, but includes the
* provision that this code not be used in non-Atmel products. That
* sample code was used only as a reference so I believe that only the
* NuttX BSD license applies.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@ -55,7 +55,7 @@
#include "up_arch.h"
#include "chip/sam_pm.h"
#include "chip/sam_sysctrl.h"
#include "chip/samd_sysctrl.h"
#include "chip/sam_gclk.h"
#include "chip/sam_nvmctrl.h"
#include "chip/sam_fuses.h"