|
|
@@ -132,6 +132,16 @@ extern uint32_t SystemCoreClock;
|
|
|
#define configASSERT( x )
|
|
|
#endif
|
|
|
|
|
|
+#ifdef __RX__
|
|
|
+/* Renesas RX series */
|
|
|
+#define vSoftwareInterruptISR INT_Excep_ICU_SWINT
|
|
|
+#define vTickISR INT_Excep_CMT0_CMI0
|
|
|
+#define configPERIPHERAL_CLOCK_HZ (configCPU_CLOCK_HZ/2)
|
|
|
+#define configKERNEL_INTERRUPT_PRIORITY 1
|
|
|
+#define configMAX_SYSCALL_INTERRUPT_PRIORITY 4
|
|
|
+
|
|
|
+#else
|
|
|
+
|
|
|
/* FreeRTOS hooks to NVIC vectors */
|
|
|
#define xPortPendSVHandler PendSV_Handler
|
|
|
#define xPortSysTickHandler SysTick_Handler
|
|
|
@@ -164,4 +174,6 @@ to all Cortex-M ports, and do not rely on any particular library functions. */
|
|
|
See http://www.FreeRTOS.org/RTOS-Cortex-M3-M4.html. */
|
|
|
#define configMAX_SYSCALL_INTERRUPT_PRIORITY ( configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY << (8 - configPRIO_BITS) )
|
|
|
|
|
|
+#endif
|
|
|
+
|
|
|
#endif /* __FREERTOS_CONFIG__H */
|