remove CFG_HWUART_FOR_SERIAL

This commit is contained in:
hathach 2018-09-18 20:26:50 +07:00
parent 9ace50a18a
commit d8c8c5f005
3 changed files with 2 additions and 5 deletions

View File

@ -36,9 +36,6 @@
#define PORT_HEAP_SIZE (128 * 1024)
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
// Temp (could be removed) 0: usb cdc (default), 1 : hwuart (jlink)
#define CFG_HWUART_FOR_SERIAL 0
#define DEFAULT_I2C_BUS_SCL (&pin_P0_27)
#define DEFAULT_I2C_BUS_SDA (&pin_P0_26)

View File

@ -33,7 +33,7 @@
#if (MICROPY_PY_BLE_NUS == 0)
#if !defined( NRF52840_XXAA) || ( defined(CFG_HWUART_FOR_SERIAL) && CFG_HWUART_FOR_SERIAL == 1 )
#if !defined( NRF52840_XXAA)
int mp_hal_stdin_rx_chr(void) {
uint8_t data = 0;

View File

@ -32,7 +32,7 @@
#include "nrf_gpio.h"
#endif
#if !defined( NRF52840_XXAA) || ( defined(CFG_HWUART_FOR_SERIAL) && CFG_HWUART_FOR_SERIAL == 1 )
#if !defined( NRF52840_XXAA)
#define INST_NO 0