RTEMS | RISC-V: Add support for ESP32-C3 (!1160)

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Mar 31 16:17:16 UTC 2026




Gedare Bloom started a new discussion on bsps/riscv/esp32/clock/clockdrv_systimer.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147624

 > +  /* wait for updated value, typically takes 0-2 loop iterations */
 > +  while ( systimer_unit0_value_valid() == 0 ) {
 > +    ;
 > +  }
 > +
 > +  /*
 > +   * only return the low 32 bits because CPU_Counter_ticks is only 32bit and
 > +   * the configured period must be less than this
 > +   */
 > +  return SYSTIMER_REG( SYSTIMER_UNIT0_VALUE_LO_REG );
 > +}
 > +
 > +static void systimer_clock_at_tick( void )
 > +{
 > +  /* acknowledge the interrupt */
 > +  SYSTIMER_REG( SYSTIMER_INT_CLR_REG ) = SYSTIMER_TARGET0_INT_CLR ;

remove stray ` ` before `;`

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1160#note_147624
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260331/99897e07/attachment-0001.htm>


More information about the bugs mailing list