host mode fixups

This commit is contained in:
graham sanderson 2021-02-24 17:31:13 -06:00 committed by Graham Sanderson
parent 72307e99dc
commit 75422bbd68
3 changed files with 7 additions and 6 deletions

View File

@ -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

View File

@ -1 +1,3 @@
// empty void main() {
}

View File

@ -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);