remove CFG_HWUART_FOR_SERIAL
This commit is contained in:
parent
9ace50a18a
commit
d8c8c5f005
@ -36,9 +36,6 @@
|
|||||||
#define PORT_HEAP_SIZE (128 * 1024)
|
#define PORT_HEAP_SIZE (128 * 1024)
|
||||||
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
|
#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_SCL (&pin_P0_27)
|
||||||
#define DEFAULT_I2C_BUS_SDA (&pin_P0_26)
|
#define DEFAULT_I2C_BUS_SDA (&pin_P0_26)
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#if (MICROPY_PY_BLE_NUS == 0)
|
#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) {
|
int mp_hal_stdin_rx_chr(void) {
|
||||||
uint8_t data = 0;
|
uint8_t data = 0;
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
#include "nrf_gpio.h"
|
#include "nrf_gpio.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined( NRF52840_XXAA) || ( defined(CFG_HWUART_FOR_SERIAL) && CFG_HWUART_FOR_SERIAL == 1 )
|
#if !defined( NRF52840_XXAA)
|
||||||
|
|
||||||
#define INST_NO 0
|
#define INST_NO 0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user