Add persistent USB output mode selection
This commit is contained in:
parent
31a8cfb9d3
commit
ec9359bce8
35 changed files with 4136 additions and 217 deletions
9
tests/mode_native_stubs/hardware/structs/watchdog.h
Normal file
9
tests/mode_native_stubs/hardware/structs/watchdog.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct watchdog_hw_t {
|
||||
uint32_t scratch[8];
|
||||
};
|
||||
|
||||
extern watchdog_hw_t* watchdog_hw;
|
||||
5
tests/mode_native_stubs/hardware/watchdog.h
Normal file
5
tests/mode_native_stubs/hardware/watchdog.h
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void watchdog_reboot(uint32_t pc, uint32_t sp, uint32_t delay_ms);
|
||||
Loading…
Add table
Add a link
Reference in a new issue