summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c')
-rw-r--r--FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c b/FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c
deleted file mode 100644
index 061df9c76..000000000
--- a/FreeRTOS/Demo/RL78_E2Studio_GCC/src/hardware_setup.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/***********************************************************************/
-/* */
-/* PROJECT NAME : RTOSDemo */
-/* FILE : hardware_setup.c */
-/* DESCRIPTION : Hardware Initialization */
-/* CPU SERIES : RL78 - G1C */
-/* CPU TYPE : R5F10JBC */
-/* */
-/* This file is generated by e2studio. */
-/* */
-/***********************************************************************/
-
-/* Scheduler include files. */
-#include "FreeRTOS.h"
-
-void HardwareSetup( void )
-{
- portDISABLE_INTERRUPTS();
-
- /* Set fMX */
- CMC = 0x00;
- MSTOP = 1U;
-
- /* Set fMAIN */
- MCM0 = 0U;
-
- /* Set fSUB */
- XTSTOP = 1U;
- OSMC = 0x10;
-
- /* Set fCLK */
- CSS = 0U;
-
- /* Set fIH */
- HIOSTOP = 0U;
-
- /* LED port initialization. */
- LED_INIT();
-}