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

📄 stpvr118.lnt

📁 Lan9118以太网芯片linux驱动程序
💻 LNT
字号:
//
// File: stpvr118.lnt
//

/////////////////////////////////////////////////////////////////////


// (nw) removed f to reduce output
-voih	// Verbosity options, directs msg to standard error and standard out (+v),
	// output options (o), and print the names of all source and header files (f).

-w4	// Set warning level (0-4)
	//-w0 No messages (except for fatal errors)
	//-w1 Error messages only
	//-w2 Error and Warning messages only
	//-w3 Error, Warning and Informational messages (this is the default)
	//-w4 All messages


//=============================================================
// File-related suppressions

// Stuff defined in H files, but now used in a particular project being lint'd
-e755	// global macro not referenced (e.g., a #define in an H file)
-e756	// global typedef not referenced (e.g., a typedef in an H file)
-e757	// global declarator not referenced (e.g., a function prototype in an H file)

// stuff related to not calling every function in a C file from outside (if at all)
-e714	// Symbol not referenced
-e759	// header declaration could be moved from header to module
-e765	// external function could be made static
-e966	// Indirectly included header file not used by xxx.c
-e964	// header file not directly used in xxx.c, but indirectly #included headeer is used

// failure to access all elements of a struct declared in a header
-e768	// global struct member not referenced

//---------------------------
// goto-related supressions:
-e801	// Use of goto is deprecated
-esym(961,55)	// Note 961: Violates MISRA Advisory Rule 55, non-case label (goes with above)

-esym(960,57)	// continue statement
-esym(960,58)	// non-switch break

//=============================================================
//	Variable & Pointer Declarations & Casts

// explicit casts (multiple different ptr-2-ptr cases
-e921	// cast from int to unsigned char (manual cast -- not implicit)
-e923	// cast from unsigned long to pointer (manual cast -- not implicit)
-e925	// cast from pointer to pointer
-e926	// cast from pointer to pointer
-e927	// cast from pointer to pointer
-e928	// cast from pointer to pointer
-e929	// cast from pointer to pointer

// variable/argument type declarations
-e970	// use of 'char', 'long', 'unsigned', etc. outside of a typedef???
-e971	// Use of 'char' without 'signed' or 'unsigned'????
-e944	// Note 944: argument for operator '!' always evaluates to True
-e506	// Warning 506: Constant value Boolean

// using printf() causes everything to be converted to int 
-e911	// Implicit expression promotion from unsigned short to int

//=============================================================
// 32-bit compiler environment definitions
-si4 -spN4 -spF4 // 4-byte int, 4-byte near ptr, 4-byte far ptr

//=============================================================
// Driver-specific suppressions for DBG/ASSERT macro's


//=============================================================
// Functions that we dynamically link with, so there's no source code for lint

//=============================================================
//	Include paths for StMicro & NexGen headers

// path to StMicro tools (e.g., string.h, etc.)
-i"C:\STM\ST20R2.0.5\include"

// path to NexGenIP include's
-i"..\..\include"
-i"..\..\..\apilib\stconfig"
-i"..\..\..\apilib\sttuner\include"

//=============================================================
//	Define's for NexGen headers from build command line

// example #define's
//-DUNICODE
//-DINTLMSG_CODEPAGE=1252
//-D__unaligned=

// Application #defines

// StMicro #defines
-D__CORE__=0

// NexGen #defines
-DNG_CPU_ST20C2
-DNG_COMP_ST20CC
-DNG_RTOS


//=============================================================
//	Macro related suppressions
-e793		// ANSI limit of 1024 'macros in module' exceeded --
-esym(834,ETHERMTU)	// Operator '-' followed by operator '-' is confusing.


//=============================================================
//	Function return related suppressions
-esym(534,memset,sprintf,debugmessage)	// Ignoring return value of function

//=============================================================
//	Header related suppressions
-esym(534,ngOSIntrCtl,ngOSIsrAttach9118,ngOSIsrDetach9118,interrupt_init,interrupt_install, interrupt_enable_number, interrupt_disable_number, interrupt_uninstall)	// Ignoring return value of function

//=============================================================
//	Driver-specific Suppressions
-esym(528,_date_code) 		// Symbol not referenced

-esym(956,isr_stack)	// Non const, non volatile static or external variable
//=============================================================
// Temporary suppressions to filter output noise

//=============================================================
// target-specific define's

//=============================================================
// source files in this project
stethernet118.c

⌨️ 快捷键说明

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