File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -215,6 +215,7 @@ void initVariant() {
215
215
#if defined(USE_BQ24195L_PMIC)
216
216
enable_battery_charging ();
217
217
#endif
218
+ startFPGA ();
218
219
}
219
220
220
221
void enableFpgaClock () {
@@ -231,6 +232,8 @@ void disableFpgaClock() {
231
232
delay (1000 );
232
233
}
233
234
235
+ __attribute__ ((weak)) void startFPGA() {};
236
+
234
237
// Multi-serial objects instantiation
235
238
SERCOM sercom0 (SERCOM0);
236
239
SERCOM sercom1 (SERCOM1);
Original file line number Diff line number Diff line change @@ -199,11 +199,12 @@ extern Uart Serial1;
199
199
// Alias Serial to SerialUSB
200
200
#define Serial SerialUSB
201
201
202
- // FPGA-specific clock
202
+ // FPGA-specific functions
203
203
#ifdef __cplusplus
204
204
extern "C" {
205
205
#endif
206
206
void clockout (uint32_t gclk , int32_t divisor );
207
+ void startFPGA ();
207
208
#ifdef __cplusplus
208
209
}
209
210
#endif
You can’t perform that action at this time.
0 commit comments