Git Product home page Git Product logo

stm32f429i-disc1's Introduction

title author date
Kevin Nel
2023-0x-0x

Building the Project

Prerequisites

  • arm-eabi-none-gcc
  • openocd
  • make
  • st-link (provides st-flash)
  • STM32CubeMX (not the same as STM32CubeIDE)
  • you may need to install the udev rules or add user to dialout group (check what you might need for your distribution)

VSCode Extensions

  • microsoft c/c++ extension pack
  • microsoft makefile tools (optional)
  • cortex debug

note for windows: you will need to install all the same things but change all the paths to executables in the .vscode folder (some examples have been commented out in tasks.json) using chocolatey

choco install gcc-arm-embedded
choco install git
choco install make
choco install openocd

You also need to install stlink and add it to your PATH manually make sure the commands are added to your PATH (you may need to restart, you can check if the paths were added successfully by trying to run the commands in the command prompt) check the .vscode folder and it's files to make sure the paths match those required for your system. you may need to install the st-link driver to allow the board to flash

usage

build with: make -j12 (or however many cores you need) clean with: make clean flash with: st-flash --reset write ./build/esp411_pracs.bin 0x8000000

start adresss: 0x8000000 (found in ./STM32F429ZITx_FLASH.ld)

tasks have been setup in task.json for building, cleaning and flashing (use ctrl+shift+b to access task menu)

for more warnings add the folowing to the makefile

# My CFLAGS
CFLAGS += -Wpedantic -Wimplicit

write all code between the USER CODE BEGIN and USER CODE END comments to avoid code deletion when CubeMX is used to generate code to update peripheral configurations.

stm32f429i-disc1's People

Contributors

kevin-nel avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.