host mode fixups
This commit is contained in:
parent
72307e99dc
commit
75422bbd68
@ -20,9 +20,8 @@
|
|||||||
|
|
||||||
#include "pico/binary_info/defs.h"
|
#include "pico/binary_info/defs.h"
|
||||||
#include "pico/binary_info/structure.h"
|
#include "pico/binary_info/structure.h"
|
||||||
#if PICO_ON_DEVICE
|
#if !PICO_ON_DEVICE && !defined(PICO_NO_BINARY_INFO)
|
||||||
|
#define PICO_NO_BINARY_INFO 1
|
||||||
|
#endif
|
||||||
#include "pico/binary_info/code.h"
|
#include "pico/binary_info/code.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -1 +1,3 @@
|
|||||||
// empty
|
void main() {
|
||||||
|
|
||||||
|
}
|
@ -14,7 +14,7 @@ typedef struct stdio_driver stdio_driver_t;
|
|||||||
static inline void stdio_usb_init() {}
|
static inline void stdio_usb_init() {}
|
||||||
void stdio_uart_init();
|
void stdio_uart_init();
|
||||||
static inline void stdio_init_all() { stdio_uart_init(); }
|
static inline void stdio_init_all() { stdio_uart_init(); }
|
||||||
static inline void stdio_filter_driver(stdio_driver_t *);
|
static inline void stdio_filter_driver(stdio_driver_t *driver) {}
|
||||||
static inline void stdio_set_translate_crlf(stdio_driver_t *driver, bool enabled) {}
|
static inline void stdio_set_translate_crlf(stdio_driver_t *driver, bool enabled) {}
|
||||||
int getchar_timeout_us(uint32_t timeout_us);
|
int getchar_timeout_us(uint32_t timeout_us);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user