platform.h 558 B

12345678910
  1. /* As of today, we need a workaround to avoid the problem that the BSP_CFG_RTOS_USED in the r_bsp_config.h is
  2. * set to (0) every time of code generation by the Smart Configurator. We add a workaround modification in the
  3. * r_bsp_config.h which makes the setting of there ignored when the BSP_CFG_RTOS_USED is set to non-zero value
  4. * already and we set the BSP_CFG_RTOS_USED to (1) here so that the setting in the r_bsp_config.h is ignored. */
  5. #if defined(BSP_CFG_RTOS_USED)
  6. #undef BSP_CFG_RTOS_USED
  7. #endif
  8. #define BSP_CFG_RTOS_USED (1)
  9. #include "r_bsp.h"