Good day!
I've a custom hardware configuration in my Sketchbook, like this:
%Sketchbook%\hardware\arduino-addons\boards.txt
##############################################################
atmega8noxtalfast.name=ATmega8A (8MHz int. RC osc, short bootloader delay, 38400 baud rate)
atmega8noxtalfast.upload.protocol=stk500
atmega8noxtalfast.upload.maximum_size=7168
atmega8noxtalfast.upload.speed=38400
atmega8noxtalfast.bootloader.low_fuses=0xe4
atmega8noxtalfast.bootloader.high_fuses=0xc2
atmega8noxtalfast.bootloader.path=atmega8a
atmega8noxtalfast.bootloader.file=ATmegaBOOT.hex
atmega8noxtalfast.bootloader.unlock_bits=0x3F
atmega8noxtalfast.bootloader.lock_bits=0x0F
atmega8noxtalfast.build.mcu=atmega8
atmega8noxtalfast.build.f_cpu=8000000L
atmega8noxtalfast.build.core=arduino
atmega8noxtalfast.build.variant=standard
The problem is that on compilation it tries to found arduino core files in subfolder of my Sketchbook, like this:
C:\Tools\avr\arduino-1.0\hardware\tools\avr\bin\avr-g++
-c
-g
-Os
-Wall
-fno-exceptions
-ffunction-sections
-fdata-sections -mmcu=atmega8
-DF_CPU=8000000L
-DARDUINO=100
-IC:\Users\ArtVolk\Documents\Arduino\hardware\arduino-addons\cores\arduino
-IC:\Users\ArtVolk\Documents\Arduino\hardware\arduino-addons\variants\standard C:\Users\ArtVolk\AppData\Local\Temp\build4338802608793804970.tmp\Blink.cpp
-oC:\Users\ArtVolk\AppData\Local\Temp\build4338802608793804970.tmp\Blink.cpp.o
Blink.cpp:8:21: error: Arduino.h: No such file or directory
How can I force it to look into default include folders?
Thanks!