diff options
| author | Ha Thach <[email protected]> | 2021-03-31 22:01:43 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-31 22:01:43 +0700 |
| commit | 2f5dda90b70285a3a749cfedec8790efd9fcfa8a (patch) | |
| tree | 3ece94dfc71665e9d50c2dbe39c347291cad45dc /examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h | |
| parent | c5dfc54e549bbeb636ed44e5080e97a54ed1a2ab (diff) | |
| parent | 1d8a79ef4f4f6603ea8102b08613e97e18ed7eb6 (diff) | |
Merge pull request #757 from kkitayam/add_support_for_gr_citrus
Add support for GR-CITRUS
Diffstat (limited to 'examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h')
| -rw-r--r-- | examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h index 7b2b93d7b..b76d59706 100644 --- a/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h +++ b/examples/device/cdc_msc_freertos/src/FreeRTOSConfig.h @@ -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 */ |
