e7332b0584
Adds support for 3 Cortex-M boards, selectable via "BOARD" in the Makefile: - microbit, Cortex-M0 via nRF51822 - netduino2, Cortex-M3 via STM32F205 - mps2-an385, Cortex-M3 via FPGA netduino2 is the default board because it's supported by older qemu versions (down to at least 2.5.0).
6 lines
139 B
C
6 lines
139 B
C
#include <stddef.h>
|
|
#include "uart.h"
|
|
|
|
#define mp_hal_stdin_rx_chr() (0)
|
|
#define mp_hal_stdout_tx_strn_cooked(s, l) uart_tx_strn((s), (l))
|