Ctrl+F7 Not Working on Newly-Added Source File

1 post / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Sequence:

  1. Create a new .c file in the Atmel Studio editor;
  2. Save it  (or edit an existing file, then 'Save As...');
  3. 'Add existing item' to add the new file to the Project.

 

Now, if I press Ctrl+F7 in the editor window with my new file, it does nothing - it does not start a compile.

 

If I right-click the file in the Project, I can use the 'Compile' context menu option to compile it - but it does not save the source from the editor window first!

 

After a while, it does all start working properly - but I haven't yet worked out what exactly is the trigger...

 

frown

 

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...