rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
config
boards
cypress
board.c
Go to the documentation of this file.
1
/**
2
* @file board.c
3
* @brief Board initialization file.
4
* @author andreika <prometheus.pcb@gmail.com>
5
*/
6
7
/* This is a template for board specific configuration created by MCUXpresso IDE Project Wizard.*/
8
9
#include <stdint.h>
10
#include "pdl_header.h"
11
12
void
delay
(
void
)
13
{
14
volatile
uint32_t i = 0;
15
for
(i = 0; i < 800000; ++i)
16
{
17
__asm(
"NOP"
);
/* delay */
18
}
19
}
20
21
void
__early_init
(
void
) {
22
SystemInit
();
23
}
24
25
void
__late_init
(
void
) {
26
// we need static variables to be already initialized
27
// to configure the clock properly and save its state
28
//ke1xf_clock_init(KINETIS_DEFAULT_CLK);
29
}
30
31
void
boardInit
(
void
) {
32
}
__early_init
void __early_init(void)
Definition
board.c:21
delay
void delay(void)
Definition
board.c:12
boardInit
void boardInit(void)
Definition
board.c:31
__late_init
void __late_init(void)
Definition
board.c:25
SystemInit
void SystemInit(void)
Setup the microcontroller system Initialize the FPU setting, vector table location and External memor...
Definition
system_stm32f4xx.c:153
Generated on Sat Sep 27 2025 00:10:04 for rusEFI by
1.9.8