Skip to content

Commit 8dda44c

Browse files
committed
moved PeripheralNames.h to target folder (set new target values to 0)
Moved peripheral PinMap declarations to PeripheralPins.c Deleted duplicate mbed_overrides.c
1 parent e479081 commit 8dda44c

File tree

18 files changed

+655
-515
lines changed

18 files changed

+655
-515
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/* mbed Microcontroller Library
2+
* Copyright (c) 2006-2013 ARM Limited
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef MBED_PERIPHERALPINS_H
18+
#define MBED_PERIPHERALPINS_H
19+
20+
#include "pinmap.h"
21+
#include "PeripheralNames.h"
22+
23+
/************RTC***************/
24+
extern const PinMap PinMap_RTC[];
25+
26+
/************ADC***************/
27+
extern const PinMap PinMap_ADC[];
28+
29+
/************DAC***************/
30+
extern const PinMap PinMap_DAC[];
31+
32+
/************I2C***************/
33+
extern const PinMap PinMap_I2C_SDA[];
34+
extern const PinMap PinMap_I2C_SCL[];
35+
36+
/************UART***************/
37+
extern const PinMap PinMap_UART_TX[];
38+
extern const PinMap PinMap_UART_RX[];
39+
40+
/************SPI***************/
41+
extern const PinMap PinMap_SPI_SCLK[];
42+
extern const PinMap PinMap_SPI_MOSI[];
43+
extern const PinMap PinMap_SPI_MISO[];
44+
extern const PinMap PinMap_SPI_SSEL[];
45+
46+
/************PWM***************/
47+
extern const PinMap PinMap_PWM[];
48+
49+
#endif

libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_K64F/PinNames.h

Lines changed: 0 additions & 258 deletions
This file was deleted.

0 commit comments

Comments
 (0)