Port Arduino Code to STM32
Budget: ₹600 – ₹1,500 INR
I have a working Arduino Nano sketch that I now need running on an STM32. The project must be opened, built and flashed entirely inside STM32CubeIDE, so please base every file and configuration step on that toolchain.
Key points you will handle
• Rewrite the existing sketch for the chosen STM32 device, configuring clocks, GPIO, interrupts and peripherals exactly as needed.
• Replace the current Arduino-style calls with HAL-based code generated in CubeMX, keeping the program logic identical.
• The original sketch drives an OLED via a third-party library; the same display has to work on STM32, so include whatever open-source driver (U8g2, SSD1306 HAL port, etc.) you feel is most stable.
• Alongside the source, provide a short step-by-step guide that shows how to:
– clone/import the project into STM32CubeIDE
– regenerate code if CubeMX settings change
– connect the OLED pins and power rails
– build and flash the firmware from a clean workspace
Deliverables
1. Complete STM32CubeIDE project folder, ready to compile.
2. PDF or Markdown setup notes covering the configuration and any non-standard display wiring.
3. A quick test routine (e.g., splash screen or sample sensor reading) that proves the port is fully functional on first boot.
Successful completion is a build that runs without errors on the target board and displays correctly on the OLED.
Key points you will handle
• Rewrite the existing sketch for the chosen STM32 device, configuring clocks, GPIO, interrupts and peripherals exactly as needed.
• Replace the current Arduino-style calls with HAL-based code generated in CubeMX, keeping the program logic identical.
• The original sketch drives an OLED via a third-party library; the same display has to work on STM32, so include whatever open-source driver (U8g2, SSD1306 HAL port, etc.) you feel is most stable.
• Alongside the source, provide a short step-by-step guide that shows how to:
– clone/import the project into STM32CubeIDE
– regenerate code if CubeMX settings change
– connect the OLED pins and power rails
– build and flash the firmware from a clean workspace
Deliverables
1. Complete STM32CubeIDE project folder, ready to compile.
2. PDF or Markdown setup notes covering the configuration and any non-standard display wiring.
3. A quick test routine (e.g., splash screen or sample sensor reading) that proves the port is fully functional on first boot.
Successful completion is a build that runs without errors on the target board and displays correctly on the OLED.