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

Subversion Repositories neorv32

[/] [neorv32/] [trunk/] [sw/] [lib/] [source/] [neorv32_rte.c] - Diff between revs 37 and 39

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

Rev 37 Rev 39
Line 395... Line 395...
 
 
  neorv32_uart_printf("External M interface: ");
  neorv32_uart_printf("External M interface: ");
  __neorv32_rte_print_true_false(SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_EXT));
  __neorv32_rte_print_true_false(SYSINFO_FEATURES & (1 << SYSINFO_FEATURES_MEM_EXT));
 
 
  // peripherals
  // peripherals
  neorv32_uart_printf("\n-- Processor Peripherals --\n");
  neorv32_uart_printf("\n-- Available Processor Peripherals --\n");
 
 
  tmp = SYSINFO_FEATURES;
  tmp = SYSINFO_FEATURES;
 
 
  neorv32_uart_printf("GPIO:  ");
  neorv32_uart_printf("GPIO  - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_GPIO));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_GPIO));
 
 
  neorv32_uart_printf("MTIME: ");
  neorv32_uart_printf("MTIME - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_MTIME));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_MTIME));
 
 
  neorv32_uart_printf("UART:  ");
  neorv32_uart_printf("UART  - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_UART));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_UART));
 
 
  neorv32_uart_printf("SPI:   ");
  neorv32_uart_printf("SPI   - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_SPI));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_SPI));
 
 
  neorv32_uart_printf("TWI:   ");
  neorv32_uart_printf("TWI   - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_TWI));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_TWI));
 
 
  neorv32_uart_printf("PWM:   ");
  neorv32_uart_printf("PWM   - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_PWM));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_PWM));
 
 
  neorv32_uart_printf("WDT:   ");
  neorv32_uart_printf("WDT   - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_WDT));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_WDT));
 
 
  neorv32_uart_printf("TRNG:  ");
  neorv32_uart_printf("TRNG  - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_TRNG));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_TRNG));
 
 
  neorv32_uart_printf("CFU0:  ");
  neorv32_uart_printf("CFU0  - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_CFU0));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_CFU0));
 
 
  neorv32_uart_printf("CFU1:  ");
  neorv32_uart_printf("CFU1  - ");
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_CFU1));
  __neorv32_rte_print_true_false(tmp & (1 << SYSINFO_FEATURES_IO_CFU1));
}
}
 
 
 
 
/**********************************************************************//**
/**********************************************************************//**
Line 504... Line 504...
/**********************************************************************//**
/**********************************************************************//**
 * NEORV32 runtime environment: Print project credits
 * NEORV32 runtime environment: Print project credits
 **************************************************************************/
 **************************************************************************/
void neorv32_rte_print_credits(void) {
void neorv32_rte_print_credits(void) {
 
 
  neorv32_uart_print("\nThe NEORV32 Processor Project, by Stephan Nolting\n"
  neorv32_uart_print("The NEORV32 Processor Project by Stephan Nolting\n"
                     "https://github.com/stnolting/neorv32\n"
                     "https://github.com/stnolting/neorv32\n\n");
                     "made in Hannover, Germany EU\n\n");
 
}
}
 
 
 
 
/**********************************************************************//**
/**********************************************************************//**
 * NEORV32 runtime environment: Print project credits
 * NEORV32 runtime environment: Print project credits

powered by: WebSVN 2.1.0

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