FreeRTOS-Kernel icon indicating copy to clipboard operation
FreeRTOS-Kernel copied to clipboard

Fix RISC-V configMTIMECMP_BASE_ADDRESS (64-bit) stored in 32-bit int

Open vishwamartur opened this issue 3 months ago • 2 comments

Related to #189

Update configMTIMECMP_BASE_ADDRESS to be stored in a 64-bit integer.

  • Change the type of ullMachineTimerCompareRegisterBase to uint64_t in portable/GCC/RISC-V/port.c.
  • Change the type of ullMachineTimerCompareRegisterBase to uint64_t in portable/IAR/RISC-V/port.c.
  • Update the initialization of ullMachineTimerCompareRegisterBase to use configMTIMECMP_BASE_ADDRESS in both files.

vishwamartur avatar Nov 01 '24 07:11 vishwamartur