Nucleo_f446ze does not support Arduino framework. Looking for advice

Hi,

I just spent the night playing around with this thread as I also want to use the Octopus 1.1 for something other than a 3D Printer.

So here is what you do:
1.) Thank @zouden and @maxgerhardt maxgerhdt, they made it possible for me to get it going.

2.) Download maxgerhardt’s sample code above: nucleo-f446ze-with-arduino

3.) extract and such.

4.) Open the project folder in PlatformIO.

5.) Replace the Startup and loop code with this:
void setup() {
pinMode(LED, OUTPUT);
SerialUSB.begin(115200);
}

void loop() {
digitalWrite(LED, HIGH);
delay(1500);
digitalWrite(LED, LOW);
delay(500);
SerialUSB.println(“BLINK!”);
}

6.) Build the project.

7.) You should at the least have this status after it is done.
Environment Status Duration


octopus_minimal FAILED 00:00:04.129
octopus SUCCESS 00:00:04.939
nucleo_f446ze FAILED 00:00:04.217

8.) This will allow you to upload using the STM32CubeProg - STM32CubeProgrammer software for all STM32 - STMicroelectronics.

9.) next to the BQ logo there is a BOOT0 jumper that you need to short the two pins together.

10.) Plug the USB in.

11.) Press the reset button

12.) Watch this video: https://www.youtube.com/watch?v=VlCYI2U-qyM

13.) Upload like shown.

14.) Disconnect from the board in the STM32CubeProgrammer

15.) Disconnect the USB Cable.

16.) Remove Jumper.

17.) Plug USB back in and enjoy! :slight_smile:

18.) you can connect via a serial monitor and you will see “BLINK!” everytime it blinks.

19.) Thank @zouden and @maxgerhardt, they made it possible for me to get it going.

20.) Help others giving credit to: zouden and maxgerhdt.

Team work makes the dream work.

THANK YOU @maxgerhardt @zouden