ошибка при компиляции grbl
- Войдите на сайт для отправки комментариев
Пт, 01/11/2019 - 22:26
Arduino: 1.8.10 (Linux), Board: "Arduino Nano, ATmega328P"
In file included from /home/usr/Desktop/arduino-1.8.10/libraries/grbl/grbl.h:43:0,
from /tmp/arduino_modified_sketch_31563/grblUpload.ino:27:
/home/usr/Desktop/arduino-1.8.10/libraries/grbl/nuts_bolts.h:56:0: warning: "max" redefined
#define max(a,b) (((a) > (b)) ? (a) : (b))
In file included from sketch/grblUpload.ino.cpp:1:0:
/home/usr/Desktop/arduino-1.8.10/hardware/arduino/avr/cores/arduino/Arduino.h:93:0: note: this is the location of the previous definition
#define max(a,b) ((a)>(b)?(a):(b))
In file included from /home/usr/Desktop/arduino-1.8.10/libraries/grbl/grbl.h:43:0,
from /tmp/arduino_modified_sketch_31563/grblUpload.ino:27:
/home/usr/Desktop/arduino-1.8.10/libraries/grbl/nuts_bolts.h:57:0: warning: "min" redefined
#define min(a,b) (((a) < (b)) ? (a) : (b))
In file included from sketch/grblUpload.ino.cpp:1:0:
/home/usr/Desktop/arduino-1.8.10/hardware/arduino/avr/cores/arduino/Arduino.h:92:0: note: this is the location of the previous definition
#define min(a,b) ((a)<(b)?(a):(b))
In file included from /home/usr/Desktop/arduino-1.8.10/libraries/grbl/grbl.h:43:0,
from /tmp/arduino_modified_sketch_31563/grblUpload.ino:27:
/home/usr/Desktop/arduino-1.8.10/libraries/grbl/nuts_bolts.h:61:0: warning: "bit" redefined
#define bit(n) (1 << n)
In file included from sketch/grblUpload.ino.cpp:1:0:
/home/usr/Desktop/arduino-1.8.10/hardware/arduino/avr/cores/arduino/Arduino.h:123:0: note: this is the location of the previous definition
#define bit(b) (1UL << (b))
Sketch uses 29738 bytes (96%) of program storage space. Maximum is 30720 bytes.
Global variables use 1633 bytes (79%) of dynamic memory, leaving 415 bytes for local variables. Maximum is 2048 bytes.
Low memory available, stability problems may occur.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x0d
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x0a
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x47
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x72
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x62
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6c
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x31
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x2e
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x31
An error occurred while uploading the sketch
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
вот код
/*********************************************************************** This sketch compiles and uploads Grbl to your 328p-based Arduino! To use: - First make sure you have imported Grbl source code into your Arduino IDE. There are details on our Github website on how to do this. - Select your Arduino Board and Serial Port in the Tools drop-down menu. NOTE: Grbl only officially supports 328p-based Arduinos, like the Uno. Using other boards will likely not work! - Then just click 'Upload'. That's it! For advanced users: If you'd like to see what else Grbl can do, there are some additional options for customization and features you can enable or disable. Navigate your file system to where the Arduino IDE has stored the Grbl source code files, open the 'config.h' file in your favorite text editor. Inside are dozens of feature descriptions and #defines. Simply comment or uncomment the #defines or alter their assigned values, save your changes, and then click 'Upload' here. Copyright (c) 2015 Sungeun K. Jeon Released under the MIT-license. See license.txt for details. ***********************************************************************/ #include <grbl.h>
другие же скетчи нормально компиляться
Принято к сведению.
Вот и у меня похожая проблема Берешь начальный код .Закоментируешь все сцука вот ошибки .А ведь кода нет, а значить и ошибок быть не должно. Сарказм.
Код
Ошибки
Опять на человека набросились ну путает он педали где скомпилировать, а где загрузить... =)
Дело не в том, что и кто путает, а в том, что он забыл написать что именно ему непонятно и какой именно помощи он ожидает. Он лишь привёл какую-то простыню и заявил, что "другие же скетчи нормально компиляться". А хотел-то чего? Непонятно.
Вот я и ответил ему. что "принято к сведению". Когда у него появятся вопросы и/или просьбы, пусть не стесняется спрашивать.
Он хочет что бы его мега крутой ЧПУ шевелился и жужал.
Ну, это Ваша кофейная гуща сказала. А я хочу это от ТС услышать.
Вот какой вы принципиальный, может быть у него времени нет, занят человек, мир спасает.
в ардуино нано надо перешить загрузчик miniCore и будет Вам счастье )))
в ардуино нано надо перешить загрузчик miniCore и будет Вам счастье )))
Уже сотый раз про него слышу, а я обычный, уновский шью, чё я делаю не так? Прям ущербным себя чуйствуешь.((((
в ардуино нано надо перешить загрузчик miniCore и будет Вам счастье )))
Уже сотый раз про него слышу, а я обычный, уновский, шью, чё я делаю не так? Прям ущербным себя чуйствуешь.((((
так в нём нету LTO )))
так в нём нету LTO )))
В моем присутствии, попрошу не выражаться.)))
Он над нами издевался... ну сумашшшедший, что возьмёшь.
но бросить пить - не может быть )))
кстати и китайцы и народ двинулись с ардуины в сторону STM32F103 -http://r13-project.ru/2019/06/22/grbl-%d0%bd%d0%b0-stm32-stm32f103c8t6-blue-pill/
For advanced users:
15
If you'd like to see what else Grbl can do, there are some additional
16
options for customization and if you do not see if you sucs, you can make self easy/
кстати и китайцы и народ двинулись с ардуины в сторону STM32F103 -http://r13-project.ru/2019/06/22/grbl-%d0%bd%d0%b0-stm32-stm32f103c8t6-blue-pill/
не удивительно в нынешних реалях... закат 8битной эры...
не удивительно в нынешних реалях... закат 8битной эры...
А я-то и думаю - чего Ангстрем мехом покрылся... Вон оно чего, оказывается. Скоро и Микрочип за ним, значится, повалится.