FreeRTOS port on GAP8/RISC-V
|
Macros | |
#define | PRINTF_BUFFER_SIZE |
#define | PRINTF_TAS_OFFSET |
#define | PRINTF_LOCK_IRQN |
Functions | |
static uint32_t | __is_irq_mode () |
__attribute__ ((noinline)) | |
static void | tfp_putc (void *data, char c) |
void | _putchar (char character) |
int | puts (const char *s) |
void | system_exit_printf_flush () |
Flush printf buffer before exit. More... | |
Variables | |
uint8_t | g_freertos_scheduler_started |
SemaphoreHandle_t | g_printf_mutex |
char | __printf_lock_ptr |
volatile uint32_t * | g_lock |
volatile uint32_t * | g_unlock |
#define PRINTF_BUFFER_SIZE |
#define PRINTF_LOCK_IRQN |
Referenced by __attribute__().
#define PRINTF_TAS_OFFSET |
__attribute__ | ( | (noinline) | ) |
|
static |
References MCAUSE_IRQ_Msk.
Referenced by __attribute__().
void _putchar | ( | char | character | ) |
Output a character to a custom device like UART, used by the printf() function This function is declared here only. You have to write your custom implementation somewhere
character | Character to output |
Referenced by _out_char().
int puts | ( | const char * | s | ) |
References __io_lock(), __io_unlock(), c, and tfp_putc().
Referenced by _puts().
|
static |
References g_freertos_scheduler_started.
Referenced by _putchar(), and puts().
char __printf_lock_ptr |
uint8_t g_freertos_scheduler_started |
Referenced by __attribute__(), __os_native_kickoff(), and tfp_putc().
volatile uint32_t* g_lock |
Referenced by __attribute__().
SemaphoreHandle_t g_printf_mutex |
Referenced by __attribute__(), and __os_native_kickoff().
volatile uint32_t* g_unlock |