Giter Club home page Giter Club logo

marlin_stm32's People

Contributors

hackaday3d avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

marlin_stm32's Issues

Pin numbers STM32

Hello,
I made an adapter board for the BluePill to fit on the ramps 1.4.
I have some knowledge of micro controllers but i cannot figure out the pins values from your bord config:

#define X_MIN_PIN 0xDB//0xE5
#ifndef X_MAX_PIN
#define X_MAX_PIN 0xBE//0xE4

Blue pill pin-outs are noted as PA-15 PB0-15 and so on.
Where did you get thees values in hex a?
Also how flexible is your port?
Does it support hardware SPI and I2C?

My configuration is as follows:
-STM32F103C8(CB) <STM32F407VET6 - Future upgrade>
-Modified RAMPS
-TMC2130 (SPI mode)
-I2C Display (4x20) 2004
-SPI Card Reader module
-Single analog pin - 5 button Navigation keys
-esp8266(future add-on, for connection over WiFi)

Compilation errors when TX Buffer size is set greater than 0

Given that this is an older 1.1.9 release, I am not sure if I'll get any feedback but I thought it is worth a shot!

I am reviving an older machine running custom board and custom 1.1.8 firmware. I would like to recompile for 1.1.9 and
this repo shows the most potential! However part of their customization to their marlin is enabling TX_BUFFER_SIZE 128 instead of 0.

The printer heavily uses serial port communication with Marlin to issue commands. Once I made that change I could no longer compile the project. Thanks!

In file included from ../MarlinConfig.h:27:0,
from ../MarlinSerial.cpp:36:
../MarlinSerial.cpp: In function 'void _tx_udr_empty_irq()':
../macros.h:165:25: error: lvalue required as left operand of assignment
#define _BV(b) (1 << (b))
^
../macros.h:168:25: note: in expansion of macro '_BV'
#define CBI(n,b) (n &= ~_BV(b))
^~~
../MarlinSerial.cpp:352:9: note: in expansion of macro 'CBI'
CBI(M_UCSRxB, M_UDRIEx); // (Non-atomic, could be reenabled by the main program, but eventually this will succeed)
^~~
../MarlinSerial.cpp:359:16: error: lvalue required as left operand of assignment
M_UDRx = c;
^
In file included from ../MarlinConfig.h:27:0,
from ../MarlinSerial.cpp:36:
../macros.h:165:25: error: lvalue required as left operand of assignment
#define _BV(b) (1 << (b))
^
../macros.h:167:24: note: in expansion of macro '_BV'
#define SBI(n,b) (n |= _BV(b))
^~~
../MarlinSerial.cpp:364:7: note: in expansion of macro 'SBI'
SBI(M_UCSRxA, M_TXCx);
^~~
../macros.h:165:25: error: lvalue required as left operand of assignment
#define _BV(b) (1 << (b))
^
../macros.h:168:25: note: in expansion of macro '_BV'
#define CBI(n,b) (n &= ~_BV(b))
^~~
../MarlinSerial.cpp:367:19: note: in expansion of macro 'CBI'
if (h == t) CBI(M_UCSRxB, M_UDRIEx); // (Non-atomic, could be reenabled by the main program, but eventually this will succeed)
^~~
../MarlinSerial.cpp: At global scope:
../MarlinSerial.cpp:371:10: error: expected constructor, destructor, or type conversion before '(' token
ISR(M_USARTx_UDRE_vect) { _tx_udr_empty_irq(); }
^
../MarlinSerial.cpp: In static member function 'static void MarlinSerial::begin(long int)':
../MarlinSerial.cpp:384:14: warning: unused variable 'baud_setting' [-Wunused-variable]
uint16_t baud_setting;
^~~~~~~~~~~~
../MarlinSerial.cpp:385:10: warning: unused variable 'useU2X' [-Wunused-variable]
bool useU2X = true;
^~~~~~
../MarlinSerial.cpp: In static member function 'static void MarlinSerial::write(uint8_t)':
../MarlinSerial.cpp:519:18: error: lvalue required as left operand of assignment
M_UDRx = c;
^
In file included from ../MarlinConfig.h:27:0,
from ../MarlinSerial.cpp:36:
../macros.h:165:25: error: lvalue required as left operand of assignment
#define _BV(b) (1 << (b))
^
../macros.h:167:24: note: in expansion of macro '_BV'
#define SBI(n,b) (n |= _BV(b))
^~~
../MarlinSerial.cpp:524:9: note: in expansion of macro 'SBI'
SBI(M_UCSRxA, M_TXCx);
^~~
../macros.h:165:25: error: lvalue required as left operand of assignment
#define _BV(b) (1 << (b))
^
../macros.h:167:24: note: in expansion of macro '_BV'
#define SBI(n,b) (n |= _BV(b))
^~~
../MarlinSerial.cpp:553:7: note: in expansion of macro 'SBI'
SBI(M_UCSRxB, M_UDRIEx);
^~~
make: *** [MarlinSerial.o] Error 1

Downloading the program inside the STM32F103

Hello I have an STM32F103 3D printer. I want to use the board for other porpuses. When I need to reprogram the board, I dont want to configure again. Can I just download the program in the board and just upload that program after I completed the other works? If it is how?
Thank you.

[FR] Porting Marlin to the new STM32MP1 MCU series?

@hackaday3D Can I suggest that you port Marlin firmware to run the new STM32MP1 MPU series?
https://blog.st.com/stm32mp1-mpu-stm32mp157a-ev1-stm32mp157c-dk2/

I am only an end-user / technology enthusiast myself and I do not actually know if anyone else is already working on a 3D-printer controller board based on the new STM32MP1 MPU series or not, however, I read that STMicroelectronics claims STM32MP1 architecture enables developers to use the same software as STM32 MCU series, and theoretically, with the STM32MP1 MPU series you could run both Marlin and OctoPrint or similar Linux distrobution on the same board.

For technical specification summery checkout:
https://www.cnx-software.com/2019/02/21/stmicro-stm32mp1-cortex-a7-m4-mpu/

STM32MP157A-DK1 and STM32MP157C-DK2 Discovery kits are $99 with LCD or $69 without
https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html
https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html
STM32MP157A-EV1 Evaluation kit for PCB engineers does have a steeper price at $399
https://www.st.com/en/evaluation-tools/stm32mp157a-ev1.html

First read about this MCU/MPU in the release news about PanGu board from I2Som
https://www.cnx-software.com/2019/06/25/pangu-board-stm32mp1-sbc/

Upload Timeout

How do you set the BAUD rate?
I believe my board is set for 115200 not 250000
Thanks!

Please help STM32F103RCT6

Currently I have a code version 1.1.9
I want to convert it to STM32F103RCT6 can I use your configuration program?
and i need pin mapping for RCT6 same as your VCT6
Can you help me convert it to RCT6?

which arduino_stm32core did you use?

just test to compile marlin_stm32 with ARDUINO ide1.8.5 & stm32duino core support,but with some error in compile,so I want know which stm32core for arduino did you use?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.