Skip to content

Commit d38df63

Browse files
Pin name fixes, add EEPROM component
1 parent d4fa258 commit d38df63

File tree

5 files changed

+10
-32
lines changed

5 files changed

+10
-32
lines changed

connectivity/lwipstack/lwip-sys/arch/lwip_sys_arch.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
1515
* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1616
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
17+
*
18+
* SPDX-License-Identifier: MIT
1719
*/
1820
#include <string.h>
1921

targets/TARGET_NXP/TARGET_LPC17XX/TARGET_LPCXPRESSO_LPC1769/PinNames.h

Lines changed: 4 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ typedef enum {
4545
P3_0, P3_1, P3_2, P3_3, P3_4, P3_5, P3_6, P3_7, P3_8, P3_9, P3_10, P3_11, P3_12, P3_13, P3_14, P3_15, P3_16, P3_17, P3_18, P3_19, P3_20, P3_21, P3_22, P3_23, P3_24, P3_25, P3_26, P3_27, P3_28, P3_29, P3_30, P3_31,
4646
P4_0, P4_1, P4_2, P4_3, P4_4, P4_5, P4_6, P4_7, P4_8, P4_9, P4_10, P4_11, P4_12, P4_13, P4_14, P4_15, P4_16, P4_17, P4_18, P4_19, P4_20, P4_21, P4_22, P4_23, P4_24, P4_25, P4_26, P4_27, P4_28, P4_29, P4_30, P4_31,
4747

48-
// mbed DIP Pin Names
48+
// mbed DIP Pin Names.
49+
// Note that this board is compatible with the Mbed DIP form factor, though it also has additional headers
50+
// for pins that aren't broken out on the Mbed LPC1768.
4951
p5 = P0_9,
5052
p6 = P0_8,
5153
p7 = P0_7,
@@ -76,39 +78,14 @@ typedef enum {
7678
CONSOLE_TX = P0_2,
7779
CONSOLE_RX = P0_3,
7880

79-
// Arch Pro Pin Names
80-
D0 = P4_29,
81-
D1 = P4_28,
82-
D2 = P0_4,
83-
D3 = P0_5,
84-
D4 = P2_2,
85-
D5 = P2_3,
86-
D6 = P2_4,
87-
D7 = P2_5,
88-
D8 = P0_0,
89-
D9 = P0_1,
90-
D10 = P0_6,
91-
D11 = P0_9,
92-
D12 = P0_8,
93-
D13 = P0_7,
94-
D14 = P0_27,
95-
D15 = P0_28,
96-
97-
A0 = P0_23,
98-
A1 = P0_24,
99-
A2 = P0_25,
100-
A3 = P0_26,
101-
A4 = P1_30,
102-
A5 = P1_31,
103-
10481
// Not connected
10582
NC = (int)0xFFFFFFFF
10683
} PinName;
10784

10885
// Standard buttons and LEDs
10986
#define LED1 P0_22 // LED1 RGB red
11087
#define LED2 P3_26 // LED1 RGB blue
111-
#define LED3 P2_25 // LED1 RGB green
88+
#define LED3 P3_25 // LED1 RGB green
11289

11390
#define LED_RED LED1
11491
#define LED_BLUE LED2

targets/TARGET_NXP/TARGET_LPC17XX/device/cmsis_nvic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
*******************************************************************************
33
* Copyright (c) 2011 ARM Limited. All rights reserved.
44
* All rights reserved.
5+
* SPDX-License-Identifier: BSD-3-Clause
56
*
67
* Redistribution and use in source and binary forms, with or without
78
* modification, are permitted provided that the following conditions are met:

targets/TARGET_NXP/TARGET_LPC17XX/device/system_LPC17xx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* ARM SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL, OR
1919
* CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
2020
*
21-
*
21+
* SPDX-License-Identifier: LicenseRef-scancode-arm-cortex-mx
2222
*
2323
******************************************************************************/
2424

targets/targets.json5

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
486486
"inherits": [
487487
"MCU_LPC17XX"
488488
],
489-
"core": "Cortex-M3",
490489
"extra_labels_add": [
491490
"MBED_LPC1768",
492491
],
@@ -502,14 +501,13 @@ mode is recommended for target MCUs with small amounts of flash and RAM.",
502501
},
503502
"image_url": "https://os.mbed.com/media/cache/platforms/LPC1768.jpg.250x250_q85.jpg"
504503
},
505-
"LPCXPRESSO_LPC1769": { // AKA LPCXpresso LPC1769. CMSIS-DAP version (OM13085UL) should also work.
504+
"LPCXPRESSO_LPC1769": { // AKA LPCXpresso LPC1769 (OM13000). CMSIS-DAP version (OM13085UL) should also work.
506505
"inherits": [
507506
"MCU_LPC17XX"
508507
],
509508
"device_name": "LPC1769",
510-
"core": "Cortex-M3",
511509
"components_add": [
512-
"LOCALFILESYSTEM"
510+
"COMPONENT_I2CEE"
513511
],
514512
"overrides": {
515513
"default-adc-vref": 3.3, // Vref is 3.3V

0 commit comments

Comments
 (0)