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
Preprocessor #define acting strange.
0
Keil MDK Cortex-M Edition
195
views
4
replies
Latest
7 days ago
by
bowen
Not Answered
Error: Flash Download failed - "Cortex-M4
0
47
views
0
replies
Started
7 days ago
by
xci
Not Answered
const uint16_t addr = (uint16_t)function; Report an error
0
200
views
5
replies
Latest
7 days ago
by
bowen
Not Answered
Profile sampling from keil
0
240
views
3
replies
Latest
7 days ago
by
amarr
Not Answered
FFT DSP Program
0
Keil MDK
721
views
2
replies
Latest
7 days ago
by
Amandani
<
>
View all questions in Keil forum