mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-06 04:15:38 +08:00
* Add SAML10 Cortex-M23 series support 1. Add SAML10 Cortex-M23 series support; 2. remove STDIO related code of same54 series, no need any more; 3. update rtconfig.py to support output bin & map file containing DEVICE PART info.
50 lines
1.3 KiB
C
50 lines
1.3 KiB
C
/**
|
|
* \file
|
|
*
|
|
* \brief Top level header file
|
|
*
|
|
* Copyright (c) 2019 Microchip Technology Inc.
|
|
*
|
|
* \license_start
|
|
*
|
|
* \page License
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*
|
|
* \license_stop
|
|
*
|
|
*/
|
|
|
|
#ifndef _SAM_
|
|
#define _SAM_
|
|
|
|
#if defined(__SAML10D14A__) || defined(__ATSAML10D14A__)
|
|
#include "saml10d14a.h"
|
|
#elif defined(__SAML10D15A__) || defined(__ATSAML10D15A__)
|
|
#include "saml10d15a.h"
|
|
#elif defined(__SAML10D16A__) || defined(__ATSAML10D16A__)
|
|
#include "saml10d16a.h"
|
|
#elif defined(__SAML10E14A__) || defined(__ATSAML10E14A__)
|
|
#include "saml10e14a.h"
|
|
#elif defined(__SAML10E15A__) || defined(__ATSAML10E15A__)
|
|
#include "saml10e15a.h"
|
|
#elif defined(__SAML10E16A__) || defined(__ATSAML10E16A__)
|
|
#include "saml10e16a.h"
|
|
#else
|
|
#error Library does not support the specified device
|
|
#endif
|
|
|
|
#endif /* _SAM_ */
|