checksumgen.h
来自「56f8300E系列dsp的BOOTloader」· C头文件 代码 · 共 43 行
H
43 行
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__621D1430_4B3F_471A_A69A_001E17FA4F0C__INCLUDED_)
#define AFX_STDAFX_H__621D1430_4B3F_471A_A69A_001E17FA4F0C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <stdio.h>
#include <windows.h>
typedef unsigned char UInt8;
typedef unsigned short UWord16;
typedef unsigned long UWord32;
#define SRECORD_MAX_LINE_LENGHT 1000
#define BOOT_FLASH_MEM_LENGTH 0x1000 /*from bootloader linker file*/
#define START_BOOT_FLASH_ADDRESS 0x20000
#define END_BOOT_FALSH_ADDRESS BOOT_FLASH_MEM_LENGTH + START_BOOT_FLASH_ADDRESS
UWord32 bootAsciiToHex( unsigned char * strbuf, char length );
unsigned long Crc32(const unsigned char *buff, unsigned length, unsigned long crc);
void InitCrc(void);
int parse_opt (char* keystr);
static void help( void );
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__621D1430_4B3F_471A_A69A_001E17FA4F0C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?