Help! I've goofed up my project.

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Of course, this should be of no surprise to you

A long time ago, "build" was taking a long time and I wanted to make a beep when it finished. I made a beep.txt file that contained a beep character so I could open a command box and type "type beep.txt" and hear a chime. Then I edited into my project's "Post Build Event Command Line" to type this file. But it never worked, instead taking a few seconds not to beep.

So today, I decided to remove the post build event command line. But now, my build always fails. It seems it still expects something for this post build event. I'd show you but the *&&^$ studio won't copy the text from the output window.

Attachment(s): 

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Any 'Make' sequence will stop when one of the commands fails.

So your 'beep' will only fire when you have succeeded.

Yes, you can make Make do anything you want. But I doubt that Atmel Studio is up to it.

You have to weigh up 'clickability' against 'intelligent use of Makefile'. i.e. writing / amending an external Makefile.

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

But it fails on the no longer present beep command. How do I make it STOP trying to run the now blank post build event?

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I typed


dir

into the post build event box. Now it's happy, and puts a list of files into the output. Don't really need a list of files, but it's happy. Hmm... Idea[img]http://www.outsidetrains.com/smile/idea.gif[/img]

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut. 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

[img]http://glass352.files.wordpress.com/2011/06/gru1.jpg[/img]

I made a .net program to beep and specified to run THAT in the post build event and, it beeps when the build is finished!

If you don't know my whole story, keep your mouth shut.

If you know my whole story, you're an accomplice. Keep your mouth shut.