Defines
Page last updated 08 Oct 2015, by
0
replies
.
Seeed Arch Max STM32F407VET6 TARGET_ARCH_MAX /mbed/targets/cmsis/TARGET_STM/TARGET_STM32F4/TARGET_STM32F407VG ST Nucleo F411RE STM32F411RET6 TARGET_NUCLEO_F411RE ST Nucleo F446RE STM32F446RET6 TARGET_NUCLEO_F446RE LPCXpresso4337 NXP LPC4337 Cortex-M4 TARGET_LPC4337 DISCO-F746NG TARGET_DISCO_F746NG printf("\r\nTarget : "); #if defined(TARGET_NUCLEO_F411RE) printf("NUCLEO F411RE\r\n"); #elif defined(TARGET_NUCLEO_F446RE) printf("NUCLEO F446RE\r\n"); #elif defined(TARGET_ARCH_PRO) printf("Seeed Arch PRO\r\n"); #elif defined(TARGET_ARCH_MAX) printf("Seeed Arch Max\r\n"); #elif defined(TARGET_LPC4337) printf("LPC4337\r\n"); #elif defined(TARGET_DISCO_F746NG) printf("DISCO_F746NG\r\n"); #else printf("Unknown\r\n"); #endif LEDs on LPCXpresso4337: DigitalOut myledR(LED1); DigitalOut myledG(P2_7); DigitalOut myledB(LED2); #if defined TARGET_NUCLEO_F411RE Serial pc(D1, D0); // tx, rx, Nucleo F411RE #elif defined(TARGET_ARCH_MAX) Serial pc(D6, D7); // tx, rx, Arch Max #elif defined(TARGET_LPC4337) Serial pc(P2_10, P2_11); // TX, RX #else Serial pc(USBTX, USBRX); #endif
Please log in to post comments.