Giter Site home page Giter Site logo

yangyi625 / os-cortex-m4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tim37021/os-cortex-m4

0.0 2.0 0.0 126 KB

A small operating system on arm cortex m4 cpu.

License: Other

Makefile 1.14% Assembly 7.11% C 88.17% Objective-C 0.06% C++ 3.51%

os-cortex-m4's Introduction

Introduction

A small operating system on STM32F429 Discovery. Still in early development.

Build Instructions

    git clone git://git.code.sf.net/p/openocd/code openocd
    cd openocd
    ./bootstrap
    ./configure --prefix=/usr/local \
        --enable-stlink
    echo -e "all:\ninstall:" > doc/Makefile
    make
    sudo make install
    apt-get install gcc-arm-none-eabi

If you encounter the problems of missing packages, try to execute the following commands in advance:

    sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded
    sudo apt-get update

In addition, you need to download STM32F429I-Discovery firmware and extract it to the toplevel directory where stm32f429-r3d exists.

    unzip stsw-stm32138.zip

Then, get the latest source from GitHub and then build:

    git clone https://github.com/jserv/stm32f429-r3d
    cd project
    make

Please confirm STM32F429 Discovery is properly connected to USB, and let's flash the device:

    make flash

Be patient when OpenOCD is flashing.

Debug

    make debug
    arm-none-eabi-gdb --eval-command="target remote :3333" project.elf

Note on VSCode

If use VS Code for development, complete environment has been prepared for you. You might need to change some settings in c_cpp_properties.json

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.