reformatting and shuffling of test order and printouts

just determining a good target length for instruction memory size
for the next iteration of the bio core
This commit is contained in:
bunnie 2024-06-25 03:32:12 +08:00
parent 3cefb722e6
commit d0f94424db
3 changed files with 5 additions and 4 deletions

View file

@ -90,12 +90,12 @@ pub fn report_api(d: u32) {
pub fn bio_tests() {
report_api(crate::get_id());
units::hello_world();
units::hello_multiverse();
spi::spi_test();
units::aclk_tests();
i2c::i2c_test();
i2c::complex_i2c_test();
spi::spi_test();
units::hello_world();
units::hello_multiverse();
units::fifo_basic();
units::host_fifo_tests();
units::fifo_level_tests();

View file

@ -14,7 +14,7 @@ pub fn spi_test() {
// stop all the machines, so that code can be loaded
bio_ss.bio.wo(utra::bio::SFR_CTRL, 0x0);
let code = spi_driver();
print!("code length {}\r", code.len());
print!("SPI code length {}\r", code.len());
bio_ss.load_code(code, 0);
// configure fifo trigger levels

View file

@ -36,6 +36,7 @@ impl<'a> BioI2C<'a> {
// stop all the machines, so that code can be loaded
bio_ss.bio.wo(utra::bio::SFR_CTRL, 0x0);
let code = i2c_driver();
print!("I2C code length: {} bytes\r", code.len());
bio_ss.load_code(code, 0);
if hs {