[2.0.x] Add Smoothieboard pins file#11488
[2.0.x] Add Smoothieboard pins file#11488thinkyhead merged 2 commits intoMarlinFirmware:bugfix-2.0.xfrom GadgetNutt:bugfix-2.0.x
Conversation
|
Is the onboard SD card usable by Marlin? I can't get the X5 Mini mounted and suspect is some kind of communication clash with the ESP8266 WEB UI. |
The onboard card is currently reserved for eeprom (although the new flash based system will more then likely be changed to the default) and the usb drive. Marlin has no access to it. It's on the todo list with the new framework. |
|
What persistentStore.api that was added a few days ago do? |
|
Not sure what your question is, but .. yes? if you uncomment |
|
Ok if I do that and I leave eeprom enabled, will the SD card be available to Marlin? |
|
Not yet no, the platform is a work in progress, it was designed for a basic ramps setup on a Re-ARM but is getting more generic. |
|
Alright, last option. If could care less about eeprom for now, can I disable it and then have Marlin access the SDcard? |
|
Sorry I should have been more clear when I said it above, currently there is no way for Marlin to access the onboard sdcard, but it is been worked on. I can't walk you through trying this but if you feel adventurous, disable usb initialisation in main.cpp, enable Flash eeprom, and put in the correct SPI pins for the onboard card and it may work. |
|
I do and thank you for the tip! By the way I am working with a Re-Arm brother, the Azteeg X5 Mini Wifi. |
|
So I gave it the old college try but it's above my pay grade. I have no choice but to wait. |
|
Are these the files I need to comment out in Main.cpp to disable USB or are there other ones? #include <usb/usb.h> These are the SD card pins. I used Smoothie as they are "supposed" to be the same. Does it look right? #define MISO_PIN P0_8 |
|
Never mind, will open an issue to develop the secret sauce. |
Description
Added a pins file for Smoothieboard.
pins_SMOOTHIEBOARD.h
Updated boards.h to define BOARD_SMOOTHIEBOARD as 1757
Updates pins.h to add pins_SMOOTHIEBOARD.h inclusion in the LPC176x section
Updated drivers.h to add A5984 stepper driver for Smoothieboard.
Updated Conditionals_post.h to add delay and pulse information about A5984 stepper driver for Smoothieboard.
Updated Configuration.h and Configuration_adv.h with comment details about the A5984 stepper driver for Smoothieboard.
Tested on a Smoothieboard 5xC V1.1 which uses A5984 stepper drivers.
X, Y, Z, E0 Homing ... SUCCESS
Fan 0 and Hotend 0 ... SUCCESS
Temp0 ... SUCCESS
Heatbed ... NOT TESTED YET (SHOULD WORK)
#define SERIAL_PORT_2 0 @ 115200 (for MKS_TFT32) .... SUCCESS
Benefits
Adds pin support for Smoothieboard V1 and V1.1
Related Issues
None known.