TFTP
Add tftp_custom_write and test functions
This commit is contained in:
@@ -18,8 +18,13 @@ struct pbuf {
|
||||
|
||||
uint8_t if_idx;
|
||||
};
|
||||
typedef void sFONT;
|
||||
|
||||
#define ERR_OK 0
|
||||
#define LCD_COLOR_BLACK 0
|
||||
#define LCD_COLOR_WHITE 1
|
||||
|
||||
#define LCD_FONT16 0
|
||||
|
||||
struct tftp_context {
|
||||
void* (*open)(const char* fname, const char* mode, uint8_t write);
|
||||
@@ -31,6 +36,7 @@ struct tftp_context {
|
||||
void tftp_cleanup(void);
|
||||
uint32_t logger_get_timestamp(void);
|
||||
int tftp_init(struct tftp_context* context);
|
||||
void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT *font);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user