Skip to content

Commit 2524a67

Browse files
committed
Merge remote-tracking branch 'ARMmbed/master' into pr/psoc6-hal
2 parents 140b72d + bd88d3b commit 2524a67

File tree

3 files changed

+18
-136
lines changed
  • TESTS/mbed_hal_fpga_ci_test_shield/analogout
  • targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/TARGET_LPCXpresso
  • tools/export/vscode

3 files changed

+18
-136
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/analogout/main.cpp

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

targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/TARGET_LPCXpresso/mbed_overrides.c

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#include "fsl_emc.h"
1919
#include "fsl_power.h"
2020
#include "fsl_flashiap.h"
21+
#include "hal/pinmap.h"
2122

2223
#define CRC16
2324
#include "crc.h"
@@ -186,3 +187,17 @@ uint32_t qspi_get_freq(void)
186187
return CLOCK_GetFroHfFreq();
187188
}
188189

190+
const PinList *pinmap_restricted_pins()
191+
{
192+
/* D6 pin is used by the LCD
193+
A4 pin is used by the accelerometer */
194+
static const PinName pins[] = {
195+
D6, A4
196+
};
197+
static const PinList pin_list = {
198+
sizeof(pins) / sizeof(pins[0]),
199+
pins
200+
};
201+
return &pin_list;
202+
}
203+

tools/export/vscode/launch.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
},
3636
"linux": {
3737
"MIMode": "gdb",
38-
"MIDebuggerPath": "/usr/bin/arm-none-eabi-gdb",
38+
"MIDebuggerPath": "arm-none-eabi-gdb",
3939
"debugServerPath": "pyocd-gdbserver"
4040
},
4141
"osx": {
4242
"MIMode": "gdb",
43-
"MIDebuggerPath": "/usr/local/bin/arm-none-eabi-gdb",
43+
"MIDebuggerPath": "arm-none-eabi-gdb",
4444
"debugServerPath": "pyocd-gdbserver"
4545
},
4646
"windows": {
4747
"preLaunchTask": "make.exe",
4848
"MIMode": "gdb",
49-
"MIDebuggerPath": "C:\\Program Files (x86)\\GNU Tools ARM Embedded\\6 2017-q1-update\\bin\\arm-none-eabi-gdb.exe",
49+
"MIDebuggerPath": "arm-none-eabi-gdb.exe",
5050
"debugServerPath": "pyocd-gdbserver.exe",
5151
"setupCommands": [
5252
{ "text": "-environment-cd ${workspaceRoot}\\BUILD" },

0 commit comments

Comments
 (0)