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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [bootloader/] [bootloader.c] - Diff between revs 34 and 35

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 34 Rev 35
Line 413... Line 413...
 *
 *
 * @param src Source of executable stream data. See #EXE_STREAM_SOURCE.
 * @param src Source of executable stream data. See #EXE_STREAM_SOURCE.
 **************************************************************************/
 **************************************************************************/
void get_exe(int src) {
void get_exe(int src) {
 
 
  // is instruction memory (IMEM) read-only?
  // is MEM implemented and read-only?
  if (SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM_ROM)) {
  if ((SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM_ROM)) &&
 
      (SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_INT_IMEM)))  {
    system_error(ERROR_ROM);
    system_error(ERROR_ROM);
  }
  }
 
 
  // flash image base address
  // flash image base address
  uint32_t addr = SPI_FLASH_BOOT_ADR;
  uint32_t addr = SPI_FLASH_BOOT_ADR;

powered by: WebSVN 2.1.0

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