⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 versioning.h

📁 通过网络刷新flash的工具源代码.linux下使用的
💻 H
字号:
/* * Code to check that we are putting the correct type of flash into this * unit. * This code also removes the versioning information from the end * of the memory buffer. * * ret: *      0 - everything is correct. *      1 - the product name is incorrect. *      2 - the vendor name is incorrect. *      3 - the version is the same. *      4 - the version is older. *      5 - the version is invalid. *//******************************************************************************* * The last few bytes of the image look like the following: * *  \0version\0vendore_name\0product_namechksum *  the chksum is 16bits wide, and the version is: * * version is w.x.y[nz], where n is ubpi, and w, x, y and z are 1 or 2 digit * (decimal) numbers. * ******************************************************************************/extern int check_vendor(void);extern void log_upgrade(void);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -