Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Prog.......
- //#ifndef F_CPU
- #define F_CPU 16000000UL // 16 MHz clock speed
- //#endif
- #include <avr/io.h>
- #include <util/delay.h>
- #include "Arduino.h"
- //Declared weak in Arduino.h to allow user redefinitions.
- int atexit(void (* /*func*/ )()) { return 0; }
- // Weak empty variant initialization function.
- // May be redefined by variant files.
- void initVariant() __attribute__((weak));
- void initVariant() { }
- int main(void) {
- init();
- initVariant();
- setup();
- while(1) {
- loop();
- //if(serialEventRun) serialEventRun();
- }
- }
- void setup() {
- //tone(3, 3100);
- }
- void loop() {
- digitalWrite(4,HIGH);
- delay(500);
- digitalWrite(4,LOW);
- delay(500);
- }
- result . . . .
- Severity Code Description Project File Line
- Error MakeFileGenFailureException captured - Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) sketch_jul26a C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets line 5
- Error Error in generating MakeFile sketch_jul26a sketch_jul26a line 0
- If I run last successful build I get.....
- Severity Code Description Project File Line
- Error skipping incompatible C:\Users\Joel\Documents\Atmel Studio\7.0\TaxiBuzzer\TaxiBuzzer\ArduinoCore\Debug\libArduinoCore.a when searching for -lArduinoCore sketch_jul26a 1
- Error cannot find -lArduinoCore sketch_jul26a 1
- Error recipe for target 'sketch_jul26a.elf' failed sketch_jul26a C:\Users\Joel\Documents\Atmel Studio\7.0\TaxiBuzzer\TaxiBuzzer\sketch_jul26a\Debug\Makefile 109
- Error ld returned 1 exit status sketch_jul26a collect2.exe 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement