Visual Studio Ide for Arduino
https://www.visualmicro.com/forums/YaBB.pl
Other >> Other Hardware >> How can i change VECT_TAB_OFFSET?
https://www.visualmicro.com/forums/YaBB.pl?num=1558088452

Message started by stnih07 on May 17th, 2019 at 11:20am

Title: How can i change VECT_TAB_OFFSET?
Post by stnih07 on May 17th, 2019 at 11:20am
Hi,
I am using Visual Micro for Arduino_Core_STM32 with STM32F4-DISCO1.

Arduino works fine with IDE when I add "Disco.build.extra_flags" in the board.txt file. But when I compile with Visual Micro, there's no change. And no errors What would be the reason?
Screen_003.png (61 KB | 11 )

Title: Re: How can i change VECT_TAB_OFFSET?
Post by Visual Micro on May 17th, 2019 at 2:14pm
Did you click Re-Scan or Re-Start the ide after making the external change?

To review issues like this we need the info requested at the top of the forum. This will answer any questions.

Title: Re: How can i change VECT_TAB_OFFSET?
Post by stnih07 on May 17th, 2019 at 2:45pm
Yes, I tried both.
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Output_033.txt (23 KB | 16 )

Title: Re: How can i change VECT_TAB_OFFSET?
Post by Visual Micro on May 17th, 2019 at 4:11pm
Thanks for the output. you also need to switch on the compiler>verbose or I can't see exactly which board and option has been selected. There are some changes to extra flags in your core depending on the board options so I need to see the compiler output.

Thanks

Title: Re: How can i change VECT_TAB_OFFSET?
Post by stnih07 on May 17th, 2019 at 4:21pm
Thanks for your quick answers. I added the output.
https://www.visualmicro.com/forums/YaBB.pl?action=downloadfile;file=Output_2.txt (31 KB | 14 )

Title: Re: How can i change VECT_TAB_OFFSET?
Post by Visual Micro on May 17th, 2019 at 5:06pm
Thanks, we can see the VECT_TAB_OFFSET is correct in the compiler output.

Please switch off "vMicro>Compiler>Shared Cache For Cores". Maybe the core cache is not being release correctly when you changed the extra flags. We will look into it but switching it off should resolve. 

With this option switched off you will have a core built for each project which is cleaner when changing global compiler settings.

If still an issue then then click "Build.Clean Solution" which cleans the project build cache.


Title: Re: How can i change VECT_TAB_OFFSET?
Post by stnih07 on May 17th, 2019 at 10:43pm
I've tried the way you write. it worked this way. Thanks..

Visual Studio Ide for Arduino » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2019. All Rights Reserved.