FYSETC / FYSETC-SPIDER

FYSETC Board - 3d printer motherboard for VORON and other open source project.
311 stars 148 forks source link

Custom software not running with Platformio #57

Open deladriere opened 2 years ago

deladriere commented 2 years ago

I am trying to build my own software on the Fystec-spider

I want to blink the flash LED as a test.

#include <Arduino.h>

void setup()
{
    pinMode(PD3, OUTPUT);
}

void loop()
{
    digitalWrite(PD3, LOW);
    delay(1000);
    digitalWrite(PD3, HIGH);
    delay(1000);
}

I can upload with success using ST-LINK but it won't run.

Do I have to make a "special platformio.ini? Mine is :

[env:fysetc_s6]
platform = ststm32
board = fysetc_s6

framework = arduino

; change MCU frequency
board_build.f_cpu = 168000000L

Thanks a lot !

deladriere commented 2 years ago

if I use rumba32_f446ve in the platformio.ini it works !!!

[env:mycode]

platform = ststm32
board = rumba32_f446ve
;board = fysetc_s6
framework = arduino