Skip to content

Commit e22a839

Browse files
committed
CircuitPython port: fix boot_output
1 parent 5ae01ab commit e22a839

File tree

2 files changed

+3
-5
lines changed
  • advanced/circuitpython/riscv-emu.py

2 files changed

+3
-5
lines changed

advanced/circuitpython/riscv-emu.py/boards/riscv-emu.py/board.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ void board_init(void) {
3939
kbd_interrupt_background_cb.fun = &kbd_interrupt_background_task;
4040
kbd_interrupt_background_cb.data = NULL;
4141
background_callback_add_core(&kbd_interrupt_background_cb);
42+
4243
setup_timer_interrupt();
4344
}
4445

advanced/circuitpython/riscv-emu.py/main.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ extern uint32_t _gc_heap_start, _gc_heap_end;
2323
extern uint32_t _pystack_start, _pystack_end;
2424
extern uint32_t _stack_top;
2525

26+
vstr_t *boot_output = NULL;
27+
2628
extern void board_init(void);
2729
extern void reset_board(void);
28-
void boot_output(const char *text);
2930
supervisor_execution_status_t supervisor_execution_status(void);
3031

3132
int main(void) {
@@ -57,10 +58,6 @@ NORETURN void nlr_jump_fail(void *) {
5758
for (;;) {} // or reboot / safe mode
5859
}
5960

60-
void boot_output(const char *text) {
61-
EMU_LOG_STR("boot_output()");
62-
}
63-
6461
supervisor_execution_status_t supervisor_execution_status(void) {
6562
return SUPERVISOR_RUNNING;
6663
}

0 commit comments

Comments
 (0)