так там вроде ниче настраивать не надо,ставятся ядро для pb (их две шт в менеджере плат)проверял обе-работают!просто компилируется и заливается из ардуино иде на любой винде. или задача заливать скетч скомпилированный в ардуино другими лоадерами?
так там вроде ниче настраивать не надо,ставятся ядро для pb (их две шт в менеджере плат)проверял обе-работают!просто компилируется и заливается из ардуино иде на любой винде. или задача заливать скетч скомпилированный в ардуино другими лоадерами?
В Ардуино ИДЕ не программировалась платка Про Мини 328 ПБ. Сделал всё как написано в ссылке: (#2368) https://wiki.iarduino.ru/page/arduino-nano-atmega328pb/ и она заработала.
Avrdudess-2.18 setup.exe https://github.com/ZakKemble/AVRDUDESS/releases/
Optiboot_atmega328.h ex f003a75b1994dd7c68a60e4741f0884d.zip
А ПБ круче чем П !
Спасибо от SAM
прошу совета по настройке ядра для Atxmega в адуино ide их нашлось две штуки https://github.com/XMegaForArduino/I...ino_index.json
http://raw.githubusercontent.com/Xme...ino_index.json
в обоих одинаковая ошибка при компиляциия так понимаю что ide принудительно изменяет устаревший формат адреса компилятора на новый и после не может собрать все в кучю? решение проблемы описывается какКод:Внимание: platform.txt из ядра 'Xmegaduino Boards' содержит устаревшие recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{build.path}/{archive_file}" "{object_file}", автоматически преобразовано в recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} "{archive_file_path}" "{object_file}". Ожидайте обновления ядра.Внимание: platform.txt из ядра 'Xmegaduino Boards' содержит устаревшие recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} -o "{build.path}/{build.project_name}.elf" {object_files} "{build.path}/{archive_file}" "-L{build.path}" -lm, автоматически преобразовано в recipe.c.combine.pattern="{compiler.path}{compiler.c.elf.cmd}" {compiler.c.elf.flags} -mmcu={build.mcu} -o "{build.path}/{build.project_name}.elf" {object_files} "{archive_file_path}" "-L{build.path}" -lm. Ожидайте обновления ядра. c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find crtatxmega128a1.o: No such file or directory c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0\libgcc.a when searching for -lgcc c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lgcc c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libm.a when searching for -lm c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lm c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: skipping incompatible c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/lib\libc.a when searching for -lc c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -lc c:/program files/arduino/hardware/tools/avr/bin/../lib/gcc/avr/7.3.0/../../../../avr/bin/ld.exe: cannot find -latxmega128a1 collect2.exe: error: ld returned 1 exit status exit status 1 Ошибка компиляции для платы XPlain.в то же время файл platform.txt уже вроде как отремонтирован автором,путь там прописан так # Default "compiler.path" is correct compiler.path={runti me.ide.path}/hardware/tools/avr/bin/ при установке библиотеки легли в Program files/... а компилятор в Arduino15 как правильно их скрестить? версия ide 1.8.19Код:The problem is that Arduino installs it’s own version of the avr-gcc compiler, which doesn’t support the ATxmega128A1 specifically. By installing avr-gcc with apt, compilation is successful.We need to setup Arduino to use this version. We need to edit this file: $/.arduino15/packages/XMegaForArduino/hardware/avr/0.9.2/platform.txt Find this line: “compiler.path={runtime.tools.avr-gcc.path}/bin/” Remove all after the = to the end of the line. Save the file and reload Arduino if needed. The sketches should now compile without any problems.
Как простой вариант попробуйте старую версию Arduino IDE, напр. v1.6.
(Обычное событие. То же самое происходит и со многими другими МК чрез Arduino IDE. Попробуйте старую версию, напр. для быстрого теста - без установщика: OldSoftwareReleases).On versions of the IDE as of 1.6 you should be able to use ...
Эту тему просматривают: 1 (пользователей: 0 , гостей: 1)