zmodem: Move crc16.h and crc32.h from host to host/nuttx

to avoid the conflict with the 3rd party library

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-12 14:20:07 +08:00 • committed by Petro Karashchenko
parent 29a49f366e
commit b515a00fea
11 changed files with 26 additions and 21 deletions

View file

@ -37,10 +37,11 @@
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <crc32.h>
#include <debug.h>
#include <assert.h>
#include <nuttx/crc32.h>
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/

View file

@ -35,9 +35,9 @@
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <crc32.h>
#include <debug.h>
#include <nuttx/crc32.h>
#include <nuttx/mtd/mtd.h>
#include <nuttx/fs/nxffs.h>

View file

@ -35,9 +35,9 @@
#include <dirent.h>
#include <string.h>
#include <errno.h>
#include <crc32.h>
#include <debug.h>
#include <nuttx/crc32.h>
#include <nuttx/mtd/mtd.h>
#include <nuttx/fs/smart.h>
#include <nuttx/fs/ioctl.h>