diff --git a/README.md b/README.md index 3d3ad0850e75d689cbd078cfd5ee62f8b805c646..84c967d781d4eddcaaf50dddcf6dd005acdfb64d 100644 --- a/README.md +++ b/README.md @@ -62,16 +62,9 @@ make clean; make After the compilation is successful, the executable file **NUCLEO-F767.hex** is generated in the **cortex-m7\_nucleo\_f767zi\_gcc/build** directory. Burn the file to the corresponding board using STM32 ST-LINK Utility. -## Change Log - -v1.0.1 -1. removed these KAL apis: `KalThreadGetInfo`,`KalDelayUs`,`KalTimerCreate`,`KalTimerStart`,`KalTimerChange`,`KalTimerStop`,`KalTimerDelete`,`KalTimerIsRunning`,`KalTickToMs`,`KalMsToTick`,`KalGetMemInfo` -2. add some POSIX apis - -v1.0 -1. first release - ## Repositories Involved -**[kernel\_liteos\_m](https://gitee.com/openharmony/kernel_liteos_m)** +[Kernel subsystem](https://gitee.com/openharmony/docs/blob/master/en/readme/kernel.md) + +**kernel\_liteos\_m** diff --git a/README_zh.md b/README_zh.md index 0ec989a52c6c7dcbbddeab84efd70174756b5b4d..1bf6b61406e2b736dfbd95242f6dc65a2581ea72 100644 --- a/README_zh.md +++ b/README_zh.md @@ -62,16 +62,9 @@ make clean; make 编译成功后在cortex-m7\_nucleo\_f767zi\_gcc/build目录下生成NUCLEO-F767.hex可执行文件,通过烧录工具STM32 ST-LINK Utility烧录到对应的单板。 -## 修改日志 - -v1.0.1 -1. 删除以下KAL接口: `KalThreadGetInfo`,`KalDelayUs`,`KalTimerCreate`,`KalTimerStart`,`KalTimerChange`,`KalTimerStop`,`KalTimerDelete`,`KalTimerIsRunning`,`KalTickToMs`,`KalMsToTick`,`KalGetMemInfo` -2. 添加部分POSIX接口 - -v1.0 -1. 首次发布 - ## 相关仓 -**[kernel\_liteos\_m](https://gitee.com/openharmony/kernel_liteos_m)** +[内核子系统](https://gitee.com/openharmony/docs/blob/master/zh-cn/readme/%E5%86%85%E6%A0%B8%E5%AD%90%E7%B3%BB%E7%BB%9F.md) + +**kernel\_liteos\_m** diff --git a/components/net/lwip-2.1/porting/src/sys_arch.c b/components/net/lwip-2.1/porting/src/sys_arch.c index 1c1ae6f3aa3efa148261be8cc38677155597f539..2aa498024661faad4256fd391d08b6fd5912472a 100755 --- a/components/net/lwip-2.1/porting/src/sys_arch.c +++ b/components/net/lwip-2.1/porting/src/sys_arch.c @@ -41,8 +41,14 @@ #include #include +#ifndef YES #define YES 1 +#endif + +#ifndef NO #define NO 0 +#endif + #define LOSCFG_KERNEL_SMP NO #if (LOSCFG_KERNEL_SMP == YES)