当前位置:网站首页>Macro definition and multiple parameters
Macro definition and multiple parameters
2022-07-08 01:13:00 【__ Small crisp__】
Macro definition
Macro definition and multiple parameters
because keil Configured library function package , The following error occurred during compilation :
.\Objects\new.axf: Error: L6218E: Undefined symbol assert_param (referred from stm32f4xx_gpio.o)
as a result of keil Fewer macros in the configuration
stay stm32f4xx.h in , You can see 

It can be seen that there is no configuration USE_STDPERIPH_DRIVER Can't contain stm32f4xx_conf.h
See a usage
#if defined A|| defined B /* A or B Defined , Then select execute printf1, Otherwise execution printf2 */
printf1(".....");
#else
printf2(".....");
#endif
#if !defined A|| !defined B /* A or B Undefined , Then select execute printf1, Otherwise execution printf2 */
printf1(".....");
#else
printf2(".....");
#endif
#if defined and #if !defined Can define parameters with multiple macros
#ifdef and #ifndef Parameters can only be defined with a macro , You can't use expressions
边栏推荐
- Share a latex online editor | with latex common templates
- C# ?,?.,?? .....
- Marubeni official website applet configuration tutorial is coming (with detailed steps)
- New library launched | cnopendata China Time-honored enterprise directory
- Recommend a document management tool mendely Reference Manager
- 1.线性回归
- Malware detection method based on convolutional neural network
- 国内首次,3位清华姚班本科生斩获STOC最佳学生论文奖
- C# ?,?.,?? .....
- Taiwan Xinchuang sss1700 latest Chinese specification | sss1700 latest Chinese specification | sss1700datasheet Chinese explanation
猜你喜欢

Parade ps8625 | replace ps8625 | EDP to LVDS screen adapter or screen drive board

Recommend a document management tool mendely Reference Manager

Chapter 16 intensive learning

Letcode43: string multiplication

Ag9310 design USB type C to hdmi+u2+5v slow charging scheme design | ag9310 expansion dock scheme circuit | type-C dongle design data
![[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation](/img/76/b048e100d2c964ac00bc4f64e97e7a.png)
[go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation

Prediction of the victory or defeat of the League of heroes -- simple KFC Colonel

1.线性回归

4.交叉熵

7.正则化应用
随机推荐
12. RNN is applied to handwritten digit recognition
大二级分类产品页权重低,不收录怎么办?
Vscode reading Notepad Chinese display garbled code
5. Over fitting, dropout, regularization
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
What does interface testing test?
New library launched | cnopendata China Time-honored enterprise directory
The weight of the product page of the second level classification is low. What if it is not included?
14. Draw network model structure
11.递归神经网络RNN
13. Enregistrement et chargement des modèles
6.Dropout应用
利用GPU训练网络模型
Chapter 16 intensive learning
2.非线性回归
[reprint] solve the problem that CONDA installs pytorch too slowly
Smart agricultural technology framework
Saving and reading of network model
Cross modal semantic association alignment retrieval - image text matching
Chapter IV decision tree