Bootload from SD card to sector 0, and jump to sector 24 where new firmware resides
Fork of Panel-Controller-Bootloader by
integer.h
00001 /*-------------------------------------------*/ 00002 /* Integer type definitions for FatFs module */ 00003 /*-------------------------------------------*/ 00004 00005 #ifndef _INTEGER 00006 00007 #if 0 00008 #include <windows.h> 00009 #else 00010 00011 #include "stm32f10x.h" 00012 00013 /* These types must be 16-bit, 32-bit or larger integer */ 00014 typedef int INT; 00015 typedef unsigned int UINT; 00016 00017 /* These types must be 8-bit integer */ 00018 typedef signed char CHAR; 00019 typedef unsigned char UCHAR; 00020 typedef unsigned char BYTE; 00021 00022 /* These types must be 16-bit integer */ 00023 typedef short SHORT; 00024 typedef unsigned short USHORT; 00025 typedef unsigned short WORD; 00026 typedef unsigned short WCHAR; 00027 00028 /* These types must be 32-bit integer */ 00029 typedef long LONG; 00030 typedef unsigned long ULONG; 00031 typedef unsigned long DWORD; 00032 00033 /* Boolean type */ 00034 // typedef enum { FALSE = 0, TRUE } BOOL; 00035 #include <stdbool.h> 00036 typedef bool BOOL; 00037 #ifndef FALSE 00038 #define FALSE false 00039 #define TRUE true 00040 #endif 00041 00042 00043 #endif 00044 00045 #define _INTEGER 00046 #endif
Generated on Fri Jul 15 2022 02:02:47 by 1.7.2