JAndrassy / ArduinoOTA

Arduino library to upload sketch over network to Arduino board with WiFi or Ethernet libraries
GNU Lesser General Public License v2.1
450 stars 91 forks source link

Add support for STM32F4xx #158

Closed wowtah closed 2 years ago

wowtah commented 2 years ago

First of all, awesome job on adding STM32 support to the library. Greatly appreciated, since I can't find any STM32 OTA libraries that support wired ethernet.

Secondly, my request, since I am using a STM32F411 instead of a STM32F103:

Would it be possible to add STM32F4 support also? I have tried to adapt the code to STM32F4 but I get some errors (mostly from stm32_flash_boot.c) that are above my knowledge level of the differences in memory structure between STM32F1 and F4 (PAGES vs SECTORS, etc).

JAndrassy commented 2 years ago

I don't have the hardware. Once I had hope that the STM32 Arduino team would add STM32 support to ArduinoOTA library.

JAndrassy commented 2 years ago

coffee inspires :-) I order a Black Pill. anyway it is the next most used STM32 Arduino

wowtah commented 2 years ago

coffee inspires :-) I order a Black Pill. anyway it is the next most used STM32 Arduino

Awesome :D

JAndrassy commented 2 years ago

I started working on it today.

JAndrassy commented 2 years ago

it's working. now I have to consolidate the code. test again. then retest with the BluePill because of shared code.

JAndrassy commented 2 years ago

you can try it

wowtah commented 2 years ago

Awesome. I will check it out!

wowtah commented 2 years ago

Works like a charm. Thanks so much!