Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
ICACHE_RAM_ATTR compilation fails (Read 58 times)
Q47
Newbies
*
Offline



Posts: 1
ICACHE_RAM_ATTR compilation fails
Oct 11th, 2020 at 6:39am
 
Hello, the following code segment produces compilation errors within vMicro, while compiles and works in the Arduino IDE

Board: NodeMCU 1.0 (ESP-12E Module)

Here is minimum code that causes building to fail:

Code (C++):
void ICACHE_RAM_ATTR typicalISR() {
	;
}

void setup() {
	;
}

void loop() {
	;
}
 



If I remove the ICACHE_RAM_ATTR define the code compiles, however, it breaks functionality as it is required for interrupts.

This code compiles in the Arduino IDE, so I have a partial workaround.

I have attached the build log.
Back to top
 

Please Register or Login to the Forum to see File Attachments
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print