Giter VIP home page Giter VIP logo

mbed-os-porting's Introduction

mbed-os-porting

Test repository for porting mbed-os to the #1

Building

  • clone mbed-os and switch to branch target-ubirch to get the specific ubirch #1 changes
  • link mbed-os into this directory at the top-level
    • ln -sf <MBED-OS_DIR_PATH>/mbed-os .
  • add target mbed target UBIRCH1
  • add toolchain mbed toolchain GCC_ARM
  • run mbed compile

Flashing

  • run ./bin/flash.sh to flash using NXP blhost tool
  • alternatively, if you have SEGGER tools installed, run ./bin/flash.sh -j

Importing BME280 Library to the project

  • In the project directory run mbed add http://mbed.org/users/MACRUM/code/BME280/
  • run mbed compile

#Debugging

  • Compile Debug Release mbed compile --profile mbed-os/tools/profiles/debug.json

  • use -c to recompile everything

  • In term start the GDB Server JLinkGDBServer -if SWD -device MK82FN256xxx15

  • Create a gdb.init file and add this target extended-remote localhost:2331 monitor halt

  • run cgdb -d arm-none-eabi-gdb -x /home/user/gdb.init ./BUILD/UBIRCH1/GCC_ARM/mbed-os-porting.elf

mbed-os-porting's People

Contributors

nrjn avatar thinkberg avatar

Watchers

Annabel Church avatar Falko Zurell avatar James Cloos avatar Mikołaj Robakowski avatar Michael Merz avatar domlen avatar Stephan Noller avatar  avatar Hiroki avatar Carlos Augusto Sanchez avatar  avatar  avatar Sabine Wolf avatar Lotta Rüger avatar Mustafa DAĞDELEN 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.