Arrow / Mbed OS DAPLink Reset
Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers device.h Source File

device.h

00001 /**
00002  * @file    cmsis.h
00003  * @brief
00004  *
00005  * DAPLink Interface Firmware
00006  * Copyright (c) 2019, ARM Limited, All Rights Reserved
00007  * SPDX-License-Identifier: Apache-2.0
00008  *
00009  * Licensed under the Apache License, Version 2.0 (the "License"); you may
00010  * not use this file except in compliance with the License.
00011  * You may obtain a copy of the License at
00012  *
00013  * http://www.apache.org/licenses/LICENSE-2.0
00014  *
00015  * Unless required by applicable law or agreed to in writing, software
00016  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00017  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00018  * See the License for the specific language governing permissions and
00019  * limitations under the License.
00020  */
00021 
00022 #ifndef DEVICE_H
00023 #define DEVICE_H
00024 
00025 #if defined (INTERFACE_K20D5) \
00026     || defined (INTERFACE_K26F) \
00027     || defined (INTERFACE_KL26Z) \
00028     || defined (INTERFACE_LPC55XX)
00029 #include "fsl_device_registers.h"
00030 #elif defined (INTERFACE_LPC11U35)
00031 #include "LPC11Uxx.h"
00032 #elif defined (INTERFACE_LPC4322)
00033 #include "LPC43xx.h"
00034 #elif defined (INTERFACE_MAX32620)
00035 #include "max32620.h"
00036 #elif defined (INTERFACE_MAX32625)
00037 #include "max32625.h"
00038 #elif defined (INTERFACE_SAM3U2C)
00039 #include "sam3u2c.h"
00040 #elif defined (INTERFACE_STM32F103XB)
00041 #include "stm32f103xb.h"
00042 #elif defined (INTERFACE_M48SSIDAE)
00043 #include "M480.h"
00044 #else
00045 #error "CMSIS core headers needed"
00046 #endif
00047 
00048 #endif // DEVICE_H