LwIP

Started by tha, August 29, 2021, 09:15:30 AM

Previous topic - Next topic

tha



Platform specific diagnostic output.
โปรดทราบว่า the default implementation จะดึงใน printf, ซึ่งอาจดึงเป็นลำดับใน standard libary code จำนวนมาก. ใน resource-constrained systems, สิ่งนี้ควรจะถูกกำหนดเป็นสิ่งที่ใช้ทรัพยากรที่น้อยกว่า.

tha



LWIP_PROVIDE_ERRNO==1: ให้ lwIP จัดให้มี ERRNO values และ the 'errno' variable. ถ้าสิ่งนี้ถูกปิดการใช้งาน, cc.h ต้องอย่างใดอย่างหนึ่ง define 'errno', include <errno.h>, define LWIP_ERRNO_STDINCLUDE เพื่อรับ <errno.h> included หรือ define LWIP_ERRNO_INCLUDE ไปยัง <errno.h> หรือเทียบเท่า.

tha



กำจัด warnings ที่เกี่ยวกับ pointer-to-numeric และ vice-versa casts, ตัวอย่างเช่น "การแปลงจาก 'u8_t' ไปเป็น 'void *' ของขนาดที่ใหญ่กว่า"


tha



กำจัด warnings ที่เกี่ยวกับ pointer-to-numeric และ vice-versa casts, ตัวอย่างเช่น "การแปลงจาก 'u8_t' ไปเป็น 'void *' ของขนาดที่ใหญ่กว่า"

tha


tha


tha



รองรับ packed structs. วางก่อนการประกาศ a packed struct.
สำหรับตัวอย่างของ packed struct declarations, ดู include/lwip/prot/ subfolder.
พอร์ตไปยัง GCC/clang ถูก included ใน lwIP, ถ้าคุณใช้ these compilers ก็ไม่มีอะไรต้องทำที่นี่.

tha



รองรับ packed structs. วางหลังการประกาศ a packed struct.
สำหรับตัวอย่างของ packed struct declarations, ดู include/lwip/prot/ subfolder.
พอร์ตไปยัง GCC/clang ถูก included ใน lwIP, ถ้าคุณใช้ these compilers ก็ไม่มีอะไรต้องทำที่นี่.