35 lines
878 B
C
35 lines
878 B
C
#ifndef __INCLUDES_H
|
|
#define __INCLUDES_H
|
|
|
|
//#include "bsp_gpio.h"
|
|
//#include "bsp_spi_master.h"
|
|
//#include "bsp_aes128.h"
|
|
//#include "bsp_uart.h"
|
|
#include "bsp_xip.h"
|
|
//#include "bsp_timer.h"
|
|
#include <stdio.h>
|
|
//#include "bsp_calib_rc16m.h"
|
|
//#include "bsp_i2c_slave.h"
|
|
//#include "bsp_can.h"
|
|
//#include "bsp_rtc.h"
|
|
//#include "bsp_pwm.h"
|
|
//#include "bsp_gpadc.h"
|
|
#include "BootSecond.h"
|
|
#include "xc6xxx.h"
|
|
//#include "bsp_2_4G.h"
|
|
extern unsigned int crc32table[];
|
|
extern void makeCRC32table(unsigned int table[]);
|
|
unsigned int get_crc32(unsigned int crc,unsigned char *data, unsigned int length);
|
|
|
|
|
|
#define __RAM_CODE __attribute__((section("ram_code")))
|
|
|
|
//#define printf(...) (0)
|
|
|
|
//#define QUAD_ENABLE
|
|
|
|
//#define TEST_XIP_READ
|
|
//#define TEST_SPI_FLASH
|
|
#endif
|
|
|