Giter VIP home page Giter VIP logo

qemu-kinetis's Introduction

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

  • QEMU team

========

This is a fork of gnuarmeclipse's QEMU repository. Their repository adds some cpu/board definitions for common Kinetis chips, though it does not yet emulate any peripherals as of yet - it only sets up a cortex-m0+ cpu with a specific amount of ram/flash.

This fork aims to add some basic support for a handful of peripherals in order to achieve automated unit testing of a project built using the FRDM-KL03Z board.

Currently supported features (for FRDM-KL03Z - no other MCUs have been modified; see kinetis_mcus.c to add support for your own. 20~50 LOC per MCU):

  • SRAM_L (and SRAM_U)
  • Bit Manipulation Engine
  • Low-Power UART (LPUART) (partial)
  • Low-Power Timer (LPTMR) (fully functional except for Pulse Counter mode)
  • Multi-purpose Clock Generator Lite (MCGLite) (though clock settings are not propagated to the core / peripherals)
  • System Integration Module (SIM) (less the watchdog timer)
  • System Mode Controller (SMC) (Though stop modes cannot be entered)
  • GPIO/PORT (including NMI pin)

Build instructions

The easy way to build this is as follows (run in a shell):

export CFLAGS="-Wno-error"
./configure --target-list="gnuarmeclipse-softmmu" --prefix=/usr/local
make all
sudo make install

Note: if you run into build errors during make all inside config-host.h and are on a system that uses unix line-endings, try running dos2unix config-host.mak and then running make again.

qemu-kinetis's People

Contributors

afaerber avatar agraf avatar aik avatar aliguori avatar aurel32 avatar avikivity avatar awilliam avatar balrog-kun avatar blueswirl avatar bonzini avatar codyprime avatar dgibson avatar edgarigl avatar ehabkost avatar gongleiarei avatar hpoussin avatar jan-kiszka avatar jcmvbkbc avatar jwrdegoede avatar kevmw avatar kraxel avatar markmc avatar mstsirkin avatar pete128 avatar plieven avatar pm215 avatar rth7680 avatar stefanharh avatar stweil avatar xanclic avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

chengzhongkai

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.