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

[FR] Rumba32 for PlatformIO #16201

Closed
leseaw opened this issue Dec 12, 2019 · 9 comments
Closed

[FR] Rumba32 for PlatformIO #16201

leseaw opened this issue Dec 12, 2019 · 9 comments
Labels
T: Feature Request Features requested by users.

Comments

@leseaw
Copy link

leseaw commented Dec 12, 2019

Description

To build with PlatformIO for the Rumba32 board.
That everyone can use it.

Feature Workflow

add this to platformio.ini

RUMBA32

[env:rumba32_f446ve]
platform = ststm32
framework = arduino
board = rumba32_f446ve
build_flags = ${common.build_flags}
-DSTM32F4xx
-DARDUINO_RUMBA32_F446VE
-DARDUINO_ARCH_STM32
"-DBOARD_NAME="RUMBA32_F446VE""
-DSTM32F446xx
-DUSBCON
-DUSBD_VID=0x0483
"-DUSB_MANUFACTURER="Unknown""
"-DUSB_PRODUCT="RUMBA32_F446VE""
-DHAL_PCD_MODULE_ENABLED
-DUSBD_USE_CDC
-DDISABLE_GENERIC_SERIALUSB
-DHAL_UART_MODULE_ENABLED
-Os
lib_deps = ${common.lib_deps}
lib_ignore = Adafruit NeoPixel
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32> +<src/HAL/HAL_STM32_F4_F7> -<src/HAL/HAL_STM32_F4_F7/STM32F7>
monitor_speed = 500000
upload_protocol = dfu

Additional Information

thanks to @wap32 who wrote it down.
It just shouldn't go under because of that the FR

@thisiskeithb
Copy link
Member

See #16202

@boelle boelle added the T: Feature Request Features requested by users. label Dec 12, 2019
@mks-viva
Copy link
Contributor

MKS has added RUMBA32 to compile Marlin 2.0 by platformio, and passed the test. Compile and download are supported. Can refer to: https://github.com/makerbase-mks/MKS-RUMBA32
build:
image
image
upload(Hold down BOOT, press RESET, release RESET, release BOOT, enter DFU mode)
image
image
image
But usb have bug, because it does not recognize COM properly, I think it is a problem with the platformio.ini board settings.
image

@thisiskeithb
Copy link
Member

Does MKS' RUMBA32 board adhere to Aus3D's RUMBA32 specs/work the same? It'd be good to know if it should work exactly like the original or if there are special settings for MKS' version.

@mks-viva
Copy link
Contributor

MKS' RUMBA32 only adds TMC2208 / 2209 UART interface circuit on Aus3D RUMBA32 hardware version ,and AUX-1 interface of MKS TFT……

@mks-viva
Copy link
Contributor

RUMBA32 platformio.ini
image

@thisiskeithb
Copy link
Member

thisiskeithb commented Dec 13, 2019

RUMBA32 platformio.ini

That's what PR #16202 was going to add, but RUMBA32 should build with the existing STM32F4 environment:

#ifndef STM32F4
#error "Oops! Select an STM32F4 board in 'Tools > Board.'"

@mks-viva
Copy link
Contributor

mks-viva commented Dec 13, 2019

But I tested it and everything works.
About USB does not recognize COM properly problme, need manually modify to STM32 virtual serial port.
image
image

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label / comment or this will be closed in 5 days.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Feature Request Features requested by users.
Projects
None yet
Development

No branches or pull requests

4 participants