nrf: Fix build BLE NUS and LTO=0
parent
e668ed3ed3
commit
3886bb16d1
|
@ -52,6 +52,10 @@ extern const unsigned char mp_hal_status_to_errno_table[4];
|
|||
NORETURN void mp_hal_raise(HAL_StatusTypeDef status);
|
||||
void mp_hal_set_interrupt_char(int c); // -1 to disable
|
||||
|
||||
#if MICROPY_PY_BLE_NUS
|
||||
#define mp_hal_stdio_poll(poll_flags) (0)
|
||||
#endif
|
||||
|
||||
int mp_hal_stdin_rx_chr(void);
|
||||
void mp_hal_stdout_tx_str(const char *str);
|
||||
|
||||
|
|
Loading…
Reference in New Issue