-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling for bluepill (stm32) #7
Comments
you can show here the error message. |
getting error in motion.h just open the karyacontroller.ino using arduino ide, selected the board bluepill and hitting verify cause this error In file included from sketch\gcode.h:4, |
another error i got gcode.cpp:536:1: error: 'File' does not name a type File fme; ^ exit status 1 |
made the changes to compile successfully, but now it the ram overflow issue |
yu mean, can compile but use more ram so cannot be uploaded to stm32 ? |
yes, but solved the issue by lowering the gcode buffer |
is there any plan for clearing the code?? i would love to help, but could not under stand |
of course so much help will be needed. but i dont really familiar with github, i just use it put my software. But maybe we can clean per section.
|
And i love using ESP3866, because its cheap, WIFI, bigger RAM and have Storage 3M for storing jobs for CNC. And even for 3D printer if the code less than that (compressed using karyacnc). |
/home/ryan/.arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld: region `ram' overflowed by 5712 bytes I just install STM32 build on my ubuntu and get this result. Ram overflow... maybe because many feature added after my last stm32 bluepill machine work long time ago. To focus on ESP8266 But its weird that its compiled OK on arduino UNO. with less ram |
Looks like the MESH leveling zbuffer feature doesnot fit on other than ESP8266. on gcode.h line 84
|
mainly the motion.cpp and gcode.cpp need to be cleaned, this 2 file is beyond my capibility as i dont know the algo involved in it |
yeah, its ok to clean other files first. I will upload the latest file tonight. It contain latest code especially for Constant power Laser burn. And i have test to compile on Uno, STM32, Esp8266 motion.cpp is a mix between GRBL and my own command buffer, and S-curve using constant Jerk implementation. i think what make it complicated is because long time ago i want to implement non linear motion, like DELTA 3d printer, SCARA, etc. I think its to much to clean... i myself sometimes confuse if read that file. As for GCODE i get the core code from teacup, because its small. and i implement the decoding gcode and add some new gcode there. |
yes i have also port teacup to stm32 bluepill using SPL library, it was steep learning curve. need to test when i will make my hardware for 3d printing |
Hahaha, tosss, i was start from Teacup too, but then add Back and forward planner put me on the GRBL, REPETIER, TinyG, etc. And since i was using my firmware for all my workshop machine, that keep motivation to me to make it work. Also, you can see i have Inkscape path to Gcode too, karyacnc. Both are used for my workshop laser cutting and CNC router working. |
I will also like to add lcd support for printing through sd card without pc |
it will be great ! is it enough PIN left for SDCARD and LCD ? |
for stm32, ad uno dont have extra pins, and i dont have esp |
ESP8266 have less pin |
Hello, |
yes, that will be nice |
Is it possible? If you will come to develop with ESP32 |
Well i think we need to research about how to use hardware timer in esp32, other than that i think all are same. |
Just write a quick timer code and some definition for ESP32, and its compiled. I dont know if its correct on implementation, but i think i need to make the board first.
|
are you using platform.io for compiling?? |
Hi, i found a way to use IR remote (1 pin) and I2C oled (2 pin TX RX) and now it have offline display. But the code still messy ... and perhaps now it wont compile on other than ESP8266.... |
yes i have just now seen your youtube video, excellent job |
i still haven't able to develop the code is busy with a project i got, i am a freelance you see |
what library did you use for LCD menu??? |
esp8266 sd1306 by thingpulse, other library not work on my oled |
Hello me again, can you instruct me how to compile using arduino ide, I have installed Stm core from board manager
The text was updated successfully, but these errors were encountered: