-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1063 from veremenko-y/pico_ttyconfig
rpipico: configurable ttys
- Loading branch information
Showing
19 changed files
with
319 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
#ifndef USBCONSOLE_H | ||
#define USBCONSOLE_H | ||
|
||
extern void core1_init(void); | ||
#include <tty.h> | ||
|
||
extern int usbconsole_read(uint8_t *buffer, int size); | ||
extern bool usbconsole_is_writable(uint8_t minor); | ||
extern bool usbconsole_is_available(uint8_t minor); | ||
extern void usbconsole_putc(uint8_t minor, uint8_t b); | ||
extern void usbconsole_setsleep(uint8_t minor, bool sleeping); | ||
extern bool usbconsole_is_sleeping(uint8_t minor); | ||
extern void core1_init(void); | ||
|
||
extern int usbconsole_getc(uint8_t usb_num); | ||
extern ttyready_t usbconsole_ready(uint8_t usb_num); | ||
extern bool usbconsole_is_available(uint8_t usb_num); | ||
extern void usbconsole_putc(uint8_t usb_num, uint8_t c); | ||
extern void usbconsole_sleeping(uint8_t usb_num); | ||
|
||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.