Open HirokiIshiguro opened 5 years ago
Is your feature request related to a problem? Please describe. FreeRTOS port layer uses CMT register in directly in vApplicationSetupTimerInterrupt(). https://github.com/renesas-rx/amazon-freertos/blob/master/lib/FreeRTOS/portable/Renesas/RX600v2/port.c
So, CMT module has to detect which channel is used by FreeRTOS. https://github.com/renesas-rx/amazon-freertos/blob/master/lib/third_party/mcu_vendor/renesas/FIT/RDP_v1.15_modified/r_cmt_rx/src/r_cmt_rx.c
It is very confusing.
Describe the solution you'd like port.c should use r_cmt APIs.
Describe alternatives you've considered None
Additional context Need to pull request to Amazon FreeRTOS trunk.
Is your feature request related to a problem? Please describe. FreeRTOS port layer uses CMT register in directly in vApplicationSetupTimerInterrupt(). https://github.com/renesas-rx/amazon-freertos/blob/master/lib/FreeRTOS/portable/Renesas/RX600v2/port.c
So, CMT module has to detect which channel is used by FreeRTOS. https://github.com/renesas-rx/amazon-freertos/blob/master/lib/third_party/mcu_vendor/renesas/FIT/RDP_v1.15_modified/r_cmt_rx/src/r_cmt_rx.c
It is very confusing.
Describe the solution you'd like port.c should use r_cmt APIs.
Describe alternatives you've considered None
Additional context Need to pull request to Amazon FreeRTOS trunk.