OpenCores
URL https://opencores.org/ocsvn/neorv32/neorv32/trunk

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [bootloader/] [bootloader.c] - Diff between revs 73 and 74

Show entire file | Details | Blame | View Log

Rev 73 Rev 74
Line 563... Line 563...
#if (SPI_EN != 0)
#if (SPI_EN != 0)
  else {
  else {
    PRINT_TEXT("Loading... ");
    PRINT_TEXT("Loading... ");
 
 
    // flash checks
    // flash checks
    if (spi_flash_read_1st_id() == 0x00) { // check if flash ready (or available at all)
    if (((NEORV32_SYSINFO.SOC & (1<<SYSINFO_SOC_IO_SPI)) == 0x00) || // SPI module implemented?
 
       (spi_flash_read_1st_id() == 0x00)) { // check if flash ready (or available at all)
      system_error(ERROR_FLASH);
      system_error(ERROR_FLASH);
    }
    }
  }
  }
#endif
#endif
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.