Giter Site home page Giter Site logo

hevs-isi / especial-backend Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 11.89 MB

ESPecIaL - STM32 QEMU emulator and HAL for the STM32-103STK dev. kit

License: MIT License

C 93.56% Objective-C 0.17% C++ 1.81% Makefile 0.33% Bison 0.02% Shell 0.90% Assembly 0.57% Perl 0.42% Haxe 0.76% Python 1.44% Batchfile 0.01% NSIS 0.02%

especial-backend's Introduction

ESPeciaL - back-end

This repository contains the C++ Hardware Abstraction Layer (HAL) for the STM32-103STK development board with sample applications and a modified version of the Qemu emulator.

Qemu for STM32

Based on a modified version of Qemu with an STM32 microcontroller implementation. Basic STM32F1 microcontroller with the following peripherals. See the qemu_stm32 project for more details.

  • RCC
  • GPIO
  • EXTI
  • AFIO
  • UART
  • TIMER (work in progress)

Configure and make Qemu

$ ./configure --enable-debug --target-list="arm-softmmu"
$ make -j4

Run Qemu

The modified version of Qemu for ARM is available in arm-softmmu/qemu-system-arm.

$ ./arm-softmmu/qemu-system-arm --version
QEMU emulator version 2.1.1, Copyright (c) 2003-2008 Fabrice Bellard

A base project and Eclipse run configurations are available to emulate STM32 sotware in Qemu.

License

ESPeciaL is licensed under the MIT License.

especial-backend's People

Contributors

metc avatar

Stargazers

hellogithub avatar Curie avatar

Watchers

James Cloos avatar Marc Pignat avatar dsknt avatar

especial-backend's Issues

GPIO IRQs

When outputs are connected to IRQs (using the qdev_connect_gpio_out function in the machine init), IRQs are triggered only when the state of the output change (edge detection).

All outputs write should trigger an IRQ callback. This is necessary to send events/messages from the QEMU TCP client to the Scala monitor server.

QEMU and target clock

The clock frequency is not the same on QEMU and on the real target. Busy loops delays (with an ASM nop operation) cannot be used for now.

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.