Skip to content
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

Blackpill-based custom board #25152

Merged
merged 21 commits into from
May 11, 2023

Conversation

arslan437
Copy link
Contributor

Description

I have added a new board based on balckpill(Stm32f401cdu6). For further information you can check this issue 25136

@jmz52
Copy link
Contributor

jmz52 commented Dec 27, 2022

There is no need to create a new MOTHERBOARD entry to compile Marlin for custom board.
You can use #define MOTHERBOARD BOARD_CUSTOM and put you pins definition into "pins_custom.h" file.

@thisiskeithb
Copy link
Member

There is no need to create a new MOTHERBOARD entry to compile Marlin for custom board.

The main question is this a one-off custom board or something that will be mass produced/widely available?

@ellensp
Copy link
Contributor

ellensp commented Dec 27, 2022

Or even if opene sourced, so is a possibility of more than one

@arslan437
Copy link
Contributor Author

arslan437 commented Dec 27, 2022

This stm32board is widely available someone like me might use this one in future.
@ellensp have share the link(https://reprap.org/forum/read.php?415,889516,889539#msg-889539) that someone did tried to build the firmware for this controller also.

@jmz52
Copy link
Contributor

jmz52 commented Dec 27, 2022

@arslan437, blackpill boards are used for in 3D printers in various different projects for quite some time.
Shields they are used with have different pinouts, so you can't have them all in one universal pins file.
https://3dtoday.ru/blogs/deretus/samodelnyi-3d-printer-na-black-pill-stm32f401ccu6
https://3dtoday.ru/blogs/am0k/materinskaya-plata-3d-printera-na-osnove-stm32f401ccu6-blackpill
https://3dtoday.ru/blogs/zooinginer/blackpillstm32f401ccu6-rabps-delta-smesalis-v-kucu-koni-lyudi

@arslan437
Copy link
Contributor Author

@jmz52 Thanks for Sharing the links.

If something is not standardized than you will find lots of different variant.

I think if we create a official board for blackpill in Marlin than most people will use that in future Instead to creating there own version. I have add that to Marlin because there was, not one there. If it was there I would have used it any.

@arslan437
Copy link
Contributor Author

any updates on this ?

@jmz52
Copy link
Contributor

jmz52 commented Jan 5, 2023

There are three versions of blackpill boards and all of them are supported by ststm32 platform:

  • blackpill_f401cc
  • blackpill_f401ce
  • blackpill_f411ce

File buildroot/share/PlatformIO/boards/marlin_custom_blackpill.json is irrelevant - it is a copy of file that is already available.
Also your file is only applicable to one version of blackpill.
PlatformIO environment definition for blackpill requires only these three lines

[env:custom]
extends                     = common_stm32
board                       = blackpill_f401cc

@thinkyhead thinkyhead force-pushed the bugfix-2.1.x branch 2 times, most recently from f312029 to 55ee000 Compare January 8, 2023 10:32
@thinkyhead thinkyhead changed the title Added support for blackpill based custom board. Blackpill-based custom board Jan 12, 2023
@arslan437
Copy link
Contributor Author

@thinkyhead Any update on this pull request ?

@thinkyhead thinkyhead force-pushed the bugfix-2.1.x branch 5 times, most recently from 27df113 to 8d31429 Compare March 25, 2023 04:25
@thinkyhead thinkyhead force-pushed the bugfix-2.1.x branch 3 times, most recently from de391db to 0f34163 Compare April 12, 2023 05:14
@thinkyhead thinkyhead merged commit 8fb9b58 into MarlinFirmware:bugfix-2.1.x May 11, 2023
oponyx pushed a commit to oponyx/Marlin that referenced this pull request May 12, 2023
Co-authored-by: striker <striker@gmail.com>
oponyx pushed a commit to oponyx/Marlin that referenced this pull request May 12, 2023
Co-authored-by: striker <striker@gmail.com>
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 17, 2023
Co-authored-by: striker <striker@gmail.com>
tspiva pushed a commit to tspiva/Marlin that referenced this pull request May 25, 2023
Co-authored-by: striker <striker@gmail.com>
@motaz2020
Copy link

Description

I have added a new board based on balckpill(Stm32f401cdu6). For further information you can check this issue 25136

hey muhammed! seemly i had stuck in the same problem you were in and i wanna get ur help. m using nanodlp software to control a projector operating by raspberry and i want to connect my stm32F401ccu6 (black pill) to the raspberry and in the same time it will have the control three closed loop stepper motors with there drivers. now i wanna flash marlin on my stm but seemly it does not have support on marlin, so i want ur help to edit config.files as you did. and if i could have ur mail or something for good communication i will be thankful

@arslan437
Copy link
Contributor Author

You can write me at "epicmicrodev@gmail.com"

Andy-Big pushed a commit to Andy-Big/Marlin_FB_Reborn that referenced this pull request Jul 15, 2023
Co-authored-by: striker <striker@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants