Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Keil forum
can constants defined in a file be used in other file without defining ?
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Not Answered
Replies
5 replies
Subscribers
2 subscribers
Views
236 views
Users
0 members are here
Keil C51 Tools
Related
can constants defined in a file be used in other file without defining ?
Offline
arjun pal
over 17 years ago
i have defined
#define key0 0x35
in main file and now i want to use key0 in one of included file in this project
but on compilation i get error for this.
Does keil have any provision where i can use defined constants
of one file in other file without redefining them ?
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Not Answered
Forum FAQs
0
ARM Community
237
views
0
replies
Started
1 month ago
by
Annie Cracknell
Suggested Answer
beginner simple question
0
1917
views
11
replies
Latest
13 hours ago
by
Retired beginner
Not Answered
Keil STM32F0 MDK debug no good.
0
77
views
1
reply
Latest
1 day ago
by
Robert McNamara
Suggested Answer
-Wpragma-pcak warning when compiling with version arm compiler v6 when using the FREE-Rtos include for the #pack option
0
Arm Compiler 6
75
views
1
reply
Latest
1 day ago
by
Adam Lins
Not Answered
How to Implement static analysis using using keil v5 IDE
0
Keil MDK
175
views
1
reply
Latest
1 day ago
by
Adam Lins
>
View all questions in Keil forum