some dead code?
This commit is contained in:
parent
f2cf1974bc
commit
e84ab564bd
|
@ -3,20 +3,11 @@
|
|||
* @brief Board initialization file.
|
||||
* @author andreika <prometheus.pcb@gmail.com>
|
||||
*/
|
||||
|
||||
|
||||
/* This is a template for board specific configuration created by MCUXpresso IDE Project Wizard.*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "pdl_header.h"
|
||||
//#include "board.h"
|
||||
//#include "hal.h"
|
||||
|
||||
/**
|
||||
* @brief Set up and initialize all required blocks and functions related to the board hardware.
|
||||
*/
|
||||
void BOARD_InitDebugConsole(void) {
|
||||
/* The user initialization should be placed here */
|
||||
}
|
||||
|
||||
void delay(void)
|
||||
{
|
||||
|
@ -27,12 +18,6 @@ void delay(void)
|
|||
}
|
||||
}
|
||||
|
||||
/* Test LED blinker (Uses PD7). Should work in any conditions! */
|
||||
void __blink(int n) {
|
||||
#if 1
|
||||
#endif
|
||||
}
|
||||
|
||||
void __early_init(void) {
|
||||
SystemInit();
|
||||
}
|
||||
|
|
|
@ -12,32 +12,4 @@
|
|||
*/
|
||||
#define BOARD_NAME "Cypress"
|
||||
|
||||
/*
|
||||
* Board voltages.
|
||||
* Required for performance limits calculation.
|
||||
*/
|
||||
//#define STM32_VDD 300U
|
||||
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific settings.
|
||||
*/
|
||||
void BOARD_InitDebugConsole(void);
|
||||
|
||||
void __blink(int n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* _BOARD_H_ */
|
||||
|
||||
|
||||
|
|
|
@ -3,20 +3,13 @@
|
|||
* @brief Board initialization file.
|
||||
* @author andreika <prometheus.pcb@gmail.com>
|
||||
*/
|
||||
|
||||
|
||||
/* This is a template for board specific configuration created by MCUXpresso IDE Project Wizard.*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "board.h"
|
||||
#include "hal.h"
|
||||
|
||||
/**
|
||||
* @brief Set up and initialize all required blocks and functions related to the board hardware.
|
||||
*/
|
||||
void BOARD_InitDebugConsole(void) {
|
||||
/* The user initialization should be placed here */
|
||||
}
|
||||
|
||||
void delay(void)
|
||||
{
|
||||
volatile uint32_t i = 0;
|
||||
|
|
|
@ -12,25 +12,4 @@
|
|||
*/
|
||||
#define BOARD_NAME "Deucalion/Kinetis"
|
||||
|
||||
#if !defined(_FROM_ASM_)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
void setAdcChannelOverrides(void);
|
||||
|
||||
/**
|
||||
* @brief Initialize board specific settings.
|
||||
*/
|
||||
void BOARD_InitDebugConsole(void);
|
||||
|
||||
void __blink(int n);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* _FROM_ASM_ */
|
||||
|
||||
#endif /* _BOARD_H_ */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue