Marlin 1.1.x dla Mightyboard
: 07 gru 2017, 16:45
Przygotowałem paczkę z Marlinem 1.1.x dla Mightyboard. Płyty używana jest między innymi w CTC Bizer, Wanhao Duplicator 4(s/x) i innych klonach replicatora 1.
Do zbudowania poza standardowymi zależnościami Marlina należy pobrać i umieścić w bibliotekach arduino lub platformio paczki z :
https://github.com/stawel/SlowSoftI2CMaster
https://bitbucket.org/fmalpartida/new-l ... downloads/ (Newliquidcrystal_1.3.5.zip)
Konfiguracja jest w formie podstawowej. Krańcówki, kroki silnika i inne ustawienia należy ustawić samemu .
W obecnej wersji nie działa wyświetlacz
Marlin 1.1.x wymaga w przeciwieństwie od 2.0.x dodania pinów dodatkowych w arduino lub platformio:
[arduino dir]/hardware/arduino/avr/variants/mega/pins_arduino.h
[platformio_dir]\packages\framework-arduinoavr\variants\mega\pins_arduino.h
Jeśli ktoś jest wstanie pomóc z obsługą standardowego wyświetlacza dla Replicatora 1 to zachęcam do kontaktu.
Do zbudowania poza standardowymi zależnościami Marlina należy pobrać i umieścić w bibliotekach arduino lub platformio paczki z :
https://github.com/stawel/SlowSoftI2CMaster
https://bitbucket.org/fmalpartida/new-l ... downloads/ (Newliquidcrystal_1.3.5.zip)
Konfiguracja jest w formie podstawowej. Krańcówki, kroki silnika i inne ustawienia należy ustawić samemu .
W obecnej wersji nie działa wyświetlacz
Marlin 1.1.x wymaga w przeciwieństwie od 2.0.x dodania pinów dodatkowych w arduino lub platformio:
[arduino dir]/hardware/arduino/avr/variants/mega/pins_arduino.h
[platformio_dir]\packages\framework-arduinoavr\variants\mega\pins_arduino.h
Kod: Zaznacz cały
/* in [arduino dir]/hardware/arduino/avr/variants/mega/pins_arduino.h
change:
#define NUM_DIGITAL_PINS 70
to:
#define NUM_DIGITAL_PINS 80
to digital_pin_to_port_PGM add at the end:
const uint8_t PROGMEM digital_pin_to_port_PGM[] = {
....
PG , // PG 4 ** 70 **
PG , // PG 3 ** 71 **
PJ , // PJ 2 ** 72 **
PJ , // PJ 3 ** 73 **
PJ , // PJ 7 ** 74 **
PJ , // PJ 4 ** 75 **
PJ , // PJ 5 ** 76 **
PJ , // PJ 6 ** 77 **
PE , // PE 2 ** 78 **
PE , // PE 6 ** 79 **
};
to digital_pin_to_bit_mask_PGM add at the end:
const uint8_t PROGMEM digital_pin_to_bit_mask_PGM[] = {
....
_BV( 4 ) , // PG 4 ** 70 **
_BV( 3 ) , // PG 3 ** 71 **
_BV( 2 ) , // PJ 2 ** 72 **
_BV( 3 ) , // PJ 3 ** 73 **
_BV( 7 ) , // PJ 7 ** 74 **
_BV( 4 ) , // PJ 4 ** 75 **
_BV( 5 ) , // PJ 5 ** 76 **
_BV( 6 ) , // PJ 6 ** 77 **
_BV( 2 ) , // PE 2 ** 78 **
_BV( 6 ) , // PE 6 ** 79 **
};
to digital_pin_to_timer_PGM add at the end:
const uint8_t PROGMEM digital_pin_to_timer_PGM[] = {
....
NOT_ON_TIMER , // PG 4 ** 70 **
NOT_ON_TIMER , // PG 3 ** 71 **
NOT_ON_TIMER , // PJ 2 ** 72 **
NOT_ON_TIMER , // PJ 3 ** 73 **
NOT_ON_TIMER , // PJ 7 ** 74 **
NOT_ON_TIMER , // PJ 4 ** 75 **
NOT_ON_TIMER , // PJ 5 ** 76 **
NOT_ON_TIMER , // PJ 6 ** 77 **
NOT_ON_TIMER , // PE 2 ** 78 **
NOT_ON_TIMER , // PE 6 ** 79 **
};
*/