mirror of https://github.com/ARMmbed/mbed-os.git
[LPC1549] Enable analog test.
parent
d27129351c
commit
021074eb1f
|
|
@ -16,6 +16,10 @@ AnalogOut out(PTB1); // D1
|
|||
AnalogIn in(PTB0);
|
||||
AnalogOut out(PTE30);
|
||||
|
||||
#elif defined(TARGET_LPC1549)
|
||||
AnalogIn in(A0);
|
||||
AnalogOut out(D12); //D12 is P0_12, the DAC output pin
|
||||
|
||||
#else
|
||||
AnalogIn in(p17);
|
||||
AnalogOut out(p18);
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ Wiring:
|
|||
|
||||
* analog_loop (AnalogIn, AnalogOut):
|
||||
* Arduino headers: (A0 <-> A5)
|
||||
* LPC1549: (A0 <-> D12)
|
||||
* LPC1*: (p17 <-> p18 )
|
||||
* KL25Z: (PTE30 <-> PTC2)
|
||||
|
||||
|
|
@ -127,7 +128,7 @@ TESTS = [
|
|||
"dependencies": [MBED_LIBRARIES, TEST_MBED_LIB],
|
||||
"automated": True,
|
||||
"peripherals": ["analog_loop"],
|
||||
"mcu": ["LPC1768", "LPC2368", "KL25Z", "K64F", "LPC4088"]
|
||||
"mcu": ["LPC1768", "LPC2368", "KL25Z", "K64F", "LPC4088", "LPC1549"]
|
||||
},
|
||||
{
|
||||
"id": "MBED_A9", "description": "Serial Echo at 115200",
|
||||
|
|
|
|||
Loading…
Reference in New Issue