Sabbah писал(а):
Поставил 6-ю студию импортировал и при компиляции вот что написало:
Построение начато.
Проект "LTAscetic_Atmega32.cproj" (целевые объекты Compile):
Построение с инструментами версии "2.0".
Целевой объект "Compile" в файле "C:\Program Files (x86)\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" из проекта "F:\лазертаг\прошивка\06.11.2014\LTAscetic_Atmega32\LTAscetic_Atmega32.cproj" (точка входа):
Задача "RunCompilerTask"
Shell Utils Path C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils
C:\Program Files (x86)\Atmel\Atmel Studio 6.2\shellUtils\make.exe "joystick_driver.o"
Building file: .././joystick_driver.c
Invoking: AVR/GNU C Compiler : 0.0.0
"C:\WinAVR\bin\avr-gcc.exe" -x c -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "joystick_driver.d" -MT"joystick_driver.d" -MT"joystick_driver.o" -o "joystick_driver.o" ".././joystick_driver.c"
Системе не удается найти указанный путь.
make: *** [joystick_driver.o] Error 1
Выполнение задачи "RunCompilerTask" завершено с ошибкой.
Построение целевого объекта "Compile" в проекте "LTAscetic_Atmega32.cproj" завершено с ошибкой.
Построение проекта "LTAscetic_Atmega32.cproj" завершено с ошибкой.
Build FAILED.
Странно, у меня все нормально импортнулось.
Попробуйте убрать кириллические имена в путях до файлов!
Цитата:
из проекта "F:\лазертаг\прошивка\06.11.2014\LTAscetic_Atmega32\LTAscetic_Atmega32.cproj"
Переименуйте папки латиницей, потом снова попробуйте импортнуть.
Точки тоже уберите, на всякий случай и пробелы, если есть.
Вот мой output
Цитата:
------ Rebuild All started: Project: LTAscetic_Atmega32, Configuration: default AVR ------
Build started.
Project "LTAscetic_Atmega32.cproj" (Clean target(s)):
Target "Clean" in file "E:\Program Files\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\LTAscetic_Atmega32.cproj" (entry point):
Using "RunCompilerTask" task from assembly "E:\Program Files\Atmel\Atmel Studio 6.2\Extensions\Application\AvrGCC.dll".
Task "RunCompilerTask"
Shell Utils Path E:\Program Files\Atmel\Atmel Studio 6.2\shellUtils
E:\Program Files\Atmel\Atmel Studio 6.2\shellUtils\make.exe clean
rm -rf ltag_ascetic.o global_variables.o isr.o joystick_driver.o usart.o
rm -rf ltag_ascetic.d global_variables.d isr.d joystick_driver.d usart.d
rm -rf "LTAscetic_Atmega32.elf" "LTAscetic_Atmega32.a" "LTAscetic_Atmega32.hex" "LTAscetic_Atmega32.lss" "LTAscetic_Atmega32.eep" "LTAscetic_Atmega32.map" "LTAscetic_Atmega32.srec" "LTAscetic_Atmega32.usersignatures"
Done executing task "RunCompilerTask".
Done building target "Clean" in project "LTAscetic_Atmega32.cproj".
Done building project "LTAscetic_Atmega32.cproj".
Build succeeded.
------ Rebuild All started: Project: LTAscetic_Atmega32, Configuration: default AVR ------
Build started.
Project "LTAscetic_Atmega32.cproj" (default targets):
Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').
Target "CoreBuild" in file "E:\Program Files\Atmel\Atmel Studio 6.2\Vs\Compiler.targets" from project "D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\LTAscetic_Atmega32.cproj" (target "Build" depends on it):
Task "RunCompilerTask"
Shell Utils Path E:\Program Files\Atmel\Atmel Studio 6.2\shellUtils
E:\Program Files\Atmel\Atmel Studio 6.2\shellUtils\make.exe all
Building file: .././ltag_ascetic.c
Invoking: AVR/GNU C Compiler : 4.3.3
"C:\WinAVR\bin\avr-gcc.exe" -x c -funsigned-char -funsigned-bitfields -DF_CPU=16000000UL -O1 -ffunction-sections -fdata-sections -fpack-struct -fshort-enums -Wall -mmcu=atmega32 -c -gdwarf-2 -std=gnu99 -MD -MP -MF "ltag_ascetic.d" -MT"ltag_ascetic.d" -MT"ltag_ascetic.o" -o "ltag_ascetic.o" ".././ltag_ascetic.c"
In file included from .././ltag_ascetic.c:2:
.././lcd_driver.h: In function 'lcd_backspace':
D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\lcd_driver.h(546,1): warning: 'pos' is static but used in inline function 'lcd_backspace' which is not static
D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\lcd_driver.h(550,1): warning: 'pos' is static but used in inline function 'lcd_backspace' which is not static
In file included from .././ltag_ascetic.c:3:
.././tm_driver.h: In function 'tm_verification':
D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\tm_driver.h(259,1): warning: passing argument 1 of '__eerd_byte_m32' discards qualifiers from pointer target type
...
...
D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\ltag_ascetic.h(38,1): warning: inline function 'get_bt_packet_value' declared but never defined
D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\ltag_ascetic.h(37,1): warning: inline function 'get_packet_value' declared but never defined
Building target: LTAscetic_Atmega32.elf
Invoking: AVR/GNU Linker : 4.3.3
"C:\WinAVR\bin\avr-gcc.exe" -o LTAscetic_Atmega32.elf ltag_ascetic.o
global_variables.o isr.o joystick_driver.o usart.o -Wl,-Map="LTAscetic_Atmega32.map" -Wl,--start-group -Wl,--end-group -Wl,--gc-sections -mmcu=atmega32
Finished building target: LTAscetic_Atmega32.elf
"C:\WinAVR\bin\avr-objcopy.exe" -O ihex -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "LTAscetic_Atmega32.elf" "LTAscetic_Atmega32.hex"
"C:\WinAVR\bin\avr-objcopy.exe" -j .eeprom --set-section-flags=.eeprom=alloc,load --change-section-lma .eeprom=0 --no-change-warnings -O ihex "LTAscetic_Atmega32.elf" "LTAscetic_Atmega32.eep" || exit 0
"C:\WinAVR\bin\avr-objdump.exe" -h -S "LTAscetic_Atmega32.elf" > "LTAscetic_Atmega32.lss"
"C:\WinAVR\bin\avr-objcopy.exe" -O srec -R .eeprom -R .fuse -R .lock -R .signature -R .user_signatures "LTAscetic_Atmega32.elf" "LTAscetic_Atmega32.srec"
"C:\WinAVR\bin\avr-size.exe" "LTAscetic_Atmega32.elf"
text data bss dec hex filename
24536 525 687 25748 6494 LTAscetic_Atmega32.elf
Done executing task "RunCompilerTask".
Using "RunOutputFileVerifyTask" task from assembly "E:\Program Files\Atmel\Atmel Studio 6.2\Extensions\Application\AvrGCC.dll".
Task "RunOutputFileVerifyTask"
Program Memory Usage : 25000 bytes 76,3 % Full
Data Memory Usage : 1151 bytes 56,2 % Full
EEPROM Memory Usage : 61 bytes 6,0 % Full
Done executing task "RunOutputFileVerifyTask".
Done building target "CoreBuild" in project "LTAscetic_Atmega32.cproj".
Target "PostBuildEvent" skipped, due to false condition; ('$(PostBuildEvent)' != '') was evaluated as ('' != '').
Target "Build" in file "E:\Program Files\Atmel\Atmel Studio 6.2\Vs\Avr.common.targets" from project "D:\ASCET_PROJECT\studio6\Solution2\LTAscetic_Atmega32\LTAscetic_Atmega32.cproj" (entry point):
Done building target "Build" in project "LTAscetic_Atmega32.cproj".
Done building project "LTAscetic_Atmega32.cproj".
Build succeeded.
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
Не пробовали толерантность уменьшить?
На треть попробуйте.
Например 7 для 36 кГц и 14 для 56 кГц поставить.
Интересно - сможем победить?
Мне просто не на чем тестить пока.