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

Subversion Repositories neorv32

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /neorv32/trunk/sw/example/demo_twi
    from Rev 55 to Rev 60
    Reverse comparison

Rev 55 → Rev 60

/main.c
64,7 → 64,7
*
* @note This program requires the UART and the PWM to be synthesized.
*
* @return Irrelevant.
* @return 0 if execution was successful
**************************************************************************/
int main() {
 
74,7 → 74,7
 
// check if UART unit is implemented at all
if (neorv32_uart_available() == 0) {
return 0;
return 1;
}
 
 
96,7 → 96,7
// check if TWI unit is implemented at all
if (neorv32_twi_available() == 0) {
neorv32_uart_printf("No TWI unit implemented.");
return 0;
return 1;
}
 
 

powered by: WebSVN 2.1.0

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