当前位置:网站首页>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
边栏推荐
- Password recovery vulnerability of foreign public testing
- Chapter VIII integrated learning
- Implementation of adjacency table of SQLite database storage directory structure 2-construction of directory tree
- Introduction to ML regression analysis of AI zhetianchuan
- Two methods for full screen adaptation of background pictures, background size: cover; Or (background size: 100% 100%;)
- Complete model verification (test, demo) routine
- A network composed of three convolution layers completes the image classification task of cifar10 data set
- [go record] start go language from scratch -- make an oscilloscope with go language (I) go language foundation
- 英雄联盟胜负预测--简易肯德基上校
- 图像数据预处理
猜你喜欢
Complete model verification (test, demo) routine
General configuration tooltip
13. Model saving and loading
11.递归神经网络RNN
Redis, do you understand the list
HDMI to VGA acquisition HD adapter scheme | HDMI to VGA 1080p audio and video converter scheme | cs5210 scheme design explanation
Parade ps8625 | replace ps8625 | EDP to LVDS screen adapter or screen drive board
5.过拟合,dropout,正则化
6. Dropout application
Generic configuration legend
随机推荐
Complete model training routine
1. Linear regression
NVIDIA Jetson test installation yolox process record
A speed Limited large file transmission tool for every major network disk
AI zhetianchuan ml novice decision tree
Using GPU to train network model
Ag9310meq ag9310mfq angle two USB type C to HDMI audio and video data conversion function chips parameter difference and design circuit reference
New library online | cnopendata China Star Hotel data
Multi purpose signal modulation generation system based on environmental optical signal detection and user-defined signal rules
AI遮天传 ML-回归分析入门
3.MNIST数据集分类
Codeforces Round #804 (Div. 2)
Ag9310 same function alternative | cs5261 replaces ag9310type-c to HDMI single switch screen alternative | low BOM replaces ag9310 design
图像数据预处理
Su embedded training - Day5
130. 被围绕的区域
Common configurations in rectangular coordinate system
130. Surrounding area
10. CNN applied to handwritten digit recognition
4.交叉熵