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
Arm Development Studio forum
Issue building demo code in Crossworks
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
2 replies
Subscribers
126 subscribers
Views
1568 views
Users
0 members are here
Related
Issue building demo code in Crossworks
Offline
John Gill
over 7 years ago
Note: This was originally posted on 24th September 2010 at http://forums.arm.com
I recently purchased (3) LCD-DEMO-LPC2158 kits for a home project. I am trying to compile the demo code provided by the manufacturer, FDI. The code was compiled in version 1.7 of uVision. When I try to compile in CrossWorks, I am getting errors. I am currently using the 30-day trial of Crossworks, and am not sure if there are limitations on the demo application, if I need to configure the tool, or if this code is not supported.
Snippet of code failing:
void CPUDisableInterrupts(void) __arm
{
__asm {
MRS R1, CPSR
ORR R1,R1,#0xC0
MSR CPSR_cxsf, R1
}
return;
}
Errors during build:
expected declaration specifiers before '__arm'
stray '#' in program
expected '=', ',',';', 'asm' or '__attribute__' before '{' token
Any help would be greatly appreciated
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
Answered
Extended asm alternative for Arm Compiler 5 (memory barriers)
+1
Memory Management Unit (MMU)
Arm Assembly Language (ASM)
Arm Compiler 5
2200
views
1
reply
Latest
1 month ago
by
Ronan Synnott
Answered
Use Arm DS5 streamline performance analyzer on TX2
+1
2990
views
9
replies
Latest
1 month ago
by
ShirB
Answered
Problem with arm_cmplx_mag_f32()
+1
2514
views
2
replies
Latest
2 months ago
by
Vishal_Patel
Answered
Can anyone please help me on how evalution development studio 2020.1 work s and which compiler is needed and how it can be setup?
+1
2246
views
3
replies
Latest
2 months ago
by
Ronan Synnott
Answered
Can anyone tell me the difference between DSTREAM and DSTREAM-ST?
+1
2375
views
2
replies
Latest
2 months ago
by
Xiang
<
>
View all questions in Arm Development Studio forum