Quantcast
Viewing all articles
Browse latest Browse all 12108

Re: Trying to add a GD32F303 board in Marlin

Hi Dust,

That worked perfectly! Thanks!!

I did see those comments, but didn't realise that Marlin was somehow mapping these to PlatformIO...

So now I have another problem. If I use the PlatformIO community GD libraries (https://github.com/CommunityGD32Cores/platform-gd32) I get the error:

Error: This board doesn't support arduino framework!

Instead, I tried reverting my environmental config to a mashup of the Creality GD32F303 board and the MKS Robin Nano:

[env:GD32F303VET6_kingroon_kp3s]
extends              = env:STM32F103RE_maple
build_flags          = ${env:STM32F103RE_maple.build_flags} -DMCU_STM32F103VE -DTEMP_TIMER_CHAN=4
board_build.address  = 0x08007000
board_build.ldscript = mks_robin_nano.ld
board_build.rename   = ROBIN_NANO.bin
debug_tool           = jlink
upload_protocol      = jlink

Which gets me further, but unfortunately the MKS Robin Nano v1 uses a non-standard screen connector for 3D printer boards, which gives me this error:

In file included from Marlin/src/HAL/STM32F1/tft/tft_fsmc.cpp:30:0:
~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/system/libmaple/include/libmaple/fsmc.h:47:2: error: #error "FSMC is unavailable on your MCU"
 #error "FSMC is unavailable on your MCU"

If I disable, the MKS_ROBIN_TFT24 screen (and associated features) in Configuration.h then the firmware compiles!

I am guessing that there is some configuration somewhere that maps the Robin TFT touchscreen to the STM32 chipset? If so, is there a way to add this GD32 chipset to the mapping?

Viewing all articles
Browse latest Browse all 12108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>