FreeRTOS-Kernel
FreeRTOS-Kernel copied to clipboard
Fix RISC-V configMTIMECMP_BASE_ADDRESS (64-bit) stored in 32-bit int
Related to #189
Update configMTIMECMP_BASE_ADDRESS
to be stored in a 64-bit integer.
- Change the type of
ullMachineTimerCompareRegisterBase
touint64_t
inportable/GCC/RISC-V/port.c
. - Change the type of
ullMachineTimerCompareRegisterBase
touint64_t
inportable/IAR/RISC-V/port.c
. - Update the initialization of
ullMachineTimerCompareRegisterBase
to useconfigMTIMECMP_BASE_ADDRESS
in both files.