mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Adding RP2350 SDK and target framework (#13988)
* Adding RP2350 SDK and target framework * Spacing * Removing board definitions
This commit is contained in:
parent
462cb05930
commit
2dd6f95aad
576 changed files with 435012 additions and 0 deletions
24
lib/main/pico-sdk/host/pico_stdio/include/pico/stdio.h
Normal file
24
lib/main/pico-sdk/host/pico_stdio/include/pico/stdio.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
/*
|
||||
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
#ifndef _PICO_STDIO_H
|
||||
#define _PICO_STDIO_H
|
||||
|
||||
typedef struct stdio_driver stdio_driver_t;
|
||||
|
||||
#define STDIO_ERROR -1
|
||||
#define STDIO_NO_INPUT -2
|
||||
|
||||
static inline void stdio_usb_init() {}
|
||||
void stdio_uart_init();
|
||||
static inline void stdio_init_all() { stdio_uart_init(); }
|
||||
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 bool stdio_usb_connected(void) { return true; }
|
||||
int getchar_timeout_us(uint32_t timeout_us);
|
||||
#define puts_raw puts
|
||||
#define putchar_raw putchar
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue