File tree Expand file tree Collapse file tree 3 files changed +17
-17
lines changed
targets/TARGET_RENESAS/TARGET_RZ_A1XX Expand file tree Collapse file tree 3 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,12 @@ void SystemInit (void)
91
91
{
92
92
/* do not use global variables because this function is called before
93
93
reaching pre-main. RW section may be overwritten afterwards. */
94
-
94
+
95
+ #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
96
+ // Enable FPU
97
+ __FPU_Enable ();
98
+ #endif
99
+
95
100
// Enable SRAM write access
96
101
CPG .SYSCR3 = 0x0F ;
97
102
@@ -130,11 +135,6 @@ void SystemInit (void)
130
135
L2C_Enable ();
131
136
#endif
132
137
133
- #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
134
- // Enable FPU
135
- __FPU_Enable ();
136
- #endif
137
-
138
138
// IRQ Initialize
139
139
IRQ_Initialize ();
140
140
}
Original file line number Diff line number Diff line change @@ -91,7 +91,12 @@ void SystemInit (void)
91
91
{
92
92
/* do not use global variables because this function is called before
93
93
reaching pre-main. RW section may be overwritten afterwards. */
94
-
94
+
95
+ #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
96
+ // Enable FPU
97
+ __FPU_Enable ();
98
+ #endif
99
+
95
100
// Enable SRAM write access
96
101
CPG .SYSCR3 = 0x0F ;
97
102
@@ -130,11 +135,6 @@ void SystemInit (void)
130
135
L2C_Enable ();
131
136
#endif
132
137
133
- #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
134
- // Enable FPU
135
- __FPU_Enable ();
136
- #endif
137
-
138
138
// IRQ Initialize
139
139
IRQ_Initialize ();
140
140
}
Original file line number Diff line number Diff line change @@ -92,6 +92,11 @@ void SystemInit (void)
92
92
/* do not use global variables because this function is called before
93
93
reaching pre-main. RW section maybe overwritten afterwards. */
94
94
95
+ #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
96
+ // Enable FPU
97
+ __FPU_Enable ();
98
+ #endif
99
+
95
100
// Enable SRAM write access
96
101
CPG .SYSCR3 = 0x0F ;
97
102
@@ -130,11 +135,6 @@ void SystemInit (void)
130
135
L2C_Enable ();
131
136
#endif
132
137
133
- #if ((__FPU_PRESENT == 1 ) && (__FPU_USED == 1 ))
134
- // Enable FPU
135
- __FPU_Enable ();
136
- #endif
137
-
138
138
// IRQ Initialize
139
139
IRQ_Initialize ();
140
140
}
You can’t perform that action at this time.
0 commit comments