mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
add testing feature for rekey in hosted mode to LLIO (dna swap)
This commit is contained in:
parent
e8188309cf
commit
900df7b223
2 changed files with 4 additions and 0 deletions
|
|
@ -38,5 +38,6 @@ chrono = "0.4.19"
|
||||||
debugprint = []
|
debugprint = []
|
||||||
wfi_off = [] # useful for serial port debugging, forces power on so the UART characters can finish printing
|
wfi_off = [] # useful for serial port debugging, forces power on so the UART characters can finish printing
|
||||||
tts = []
|
tts = []
|
||||||
|
test-rekey = []
|
||||||
default = [] # "debugprint"
|
default = [] # "debugprint"
|
||||||
#default = ["debugprint"] # , "fccagent"
|
#default = ["debugprint"] # , "fccagent"
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,9 @@ impl Llio {
|
||||||
pub fn gpio_int_pending(&self, ) -> u32 { 0x0 }
|
pub fn gpio_int_pending(&self, ) -> u32 { 0x0 }
|
||||||
pub fn gpio_int_ena(&self, _d: u32) {}
|
pub fn gpio_int_ena(&self, _d: u32) {}
|
||||||
pub fn set_uart_mux(&self, _mux: UartType) {}
|
pub fn set_uart_mux(&self, _mux: UartType) {}
|
||||||
|
#[cfg(feature="test-rekey")]
|
||||||
|
pub fn get_info_dna(&self, ) -> (usize, usize) { (0, 1) }
|
||||||
|
#[cfg(not(feature="test-rekey"))]
|
||||||
pub fn get_info_dna(&self, ) -> (usize, usize) { (0, 0) }
|
pub fn get_info_dna(&self, ) -> (usize, usize) { (0, 0) }
|
||||||
pub fn get_info_git(&self, ) -> (usize, usize) { (0, 0) }
|
pub fn get_info_git(&self, ) -> (usize, usize) { (0, 0) }
|
||||||
pub fn get_info_platform(&self, ) -> (usize, usize) { (0, 0) }
|
pub fn get_info_platform(&self, ) -> (usize, usize) { (0, 0) }
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue