+++ /dev/null
-/*\r
- * FreeRTOS Kernel V10.1.0\r
- * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.\r
- *\r
- * Permission is hereby granted, free of charge, to any person obtaining a copy of\r
- * this software and associated documentation files (the "Software"), to deal in\r
- * the Software without restriction, including without limitation the rights to\r
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\r
- * the Software, and to permit persons to whom the Software is furnished to do so,\r
- * subject to the following conditions:\r
- *\r
- * The above copyright notice and this permission notice shall be included in all\r
- * copies or substantial portions of the Software.\r
- *\r
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\r
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\r
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\r
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r
- *\r
- * http://www.FreeRTOS.org\r
- * http://aws.amazon.com/freertos\r
- *\r
- * 1 tab == 4 spaces!\r
- */\r
-\r
-#ifndef LED_IO_H\r
-#define LED_IO_H\r
-\r
-/* Include the register definition file that is correct for the hardware being\r
-used. The C and assembler pre-processor must have one of the following board\r
-definitions defined to have the correct register definition header file\r
-included. Alternatively, just manually include the correct files here. */\r
-\r
- /* Prevent the files being included from the FreeRTOS port layer assembly\r
- source files. */\r
- #ifndef __ASSEMBLER__\r
-\r
- #ifdef YRDKRL78G14\r
- #include "iodefine_RL78G14.h"\r
- #include "iodefine_RL78G14_ext.h"\r
- #define LED_BIT ( P4_bit.no1 )\r
- #define LED_INIT() LED_BIT = 0\r
- #endif /* YRDKRL78G14 */\r
-\r
- #ifdef RSKRL78G1C\r
- #include "iodefine_RL78G1C.h"\r
- #include "iodefine_RL78G1C_ext.h"\r
- #define LED_BIT ( P0_bit.no1 )\r
- #define LED_INIT() P0 &= 0xFD; PM0 &= 0xFD\r
- #endif /* RSKRL78G1C */\r
-\r
- #ifdef RSKRL78L1C\r
- #include "iodefine_RL78L1C.h"\r
- #include "iodefine_RL78L1C_ext.h"\r
- #define LED_BIT ( P4_bit.no1 )\r
- #define LED_INIT() P4 &= 0xFD; PM4 &= 0xFD\r
- #endif /* RSKRL78L1C */\r
-\r
- #ifdef RSKRL78L13\r
- #include "iodefine_RL78L13.h"\r
- #include "iodefine_RL78L13_ext.h"\r
- #define LED_BIT ( P4_bit.no1 )\r
- #define LED_INIT() P4 &= 0xFD; PM4 &= 0xFD\r
- #endif /* RSKRL78L13 */\r
-\r
- #ifdef RL78_G1A_TB\r
- #include "iodefine_RL78G1A.h"\r
- #include "iodefine_RL78G1A_ext.h"\r
- #define LED_BIT ( P6_bit.no2 )\r
- #define LED_INIT() P6 &= 0xFB; PM6 &= 0xFB\r
- #endif /* RL78_G1A_TB */\r
-\r
- #ifndef LED_BIT\r
- #error The hardware platform is not defined\r
- #endif\r
-\r
- #endif /* INCLUDED_FROM_FREERTOS_ASM_FILE */\r
-\r
-#endif /* LED_IO_H */\r
-\r