Git Product home page Git Product logo

px4esc's Introduction

PX4ESC firmware

Please refer to the documentation page at https://pixhawk.org/firmware/px4esc.

Hardware timer usage

  • TIM1 - 3-phase FET bridge PWM
  • TIM2 - (32 bit) Not assigned
  • TIM3 - RGB LED PWM
  • TIM4 - Hard real time callout interface for motor control logic (preempts the kernel)
  • TIM5 - (32 bit) Not assigned
  • TIM6 - High precision timestamping for motor control logic (sub-microsecond resolution, never overflows)
  • TIM7 - General purpose timestamping
  • TIM8 - Not assigned
  • TIM9 - RC PWM input capture
  • TIM10 - Not assigned
  • TIM11 - Not assigned
  • TIM12 - Not assigned
  • TIM13 - Not assigned
  • TIM14 - Not assigned

Build instructions

Prerequisites:

  • GCC ARM 4.7+
  • Python 2.7 or Python 3.2+

Firmware

git submodule update --init --recursive
cd firmware
make RELEASE=1 # RELEASE is optional; omit to build the debug version

Execute ./blackmagic_flash.sh [portname] from the tools directory to flash the firmware with a Black Magic Debug Probe.

UAVCAN testing tool

This step is optional. Works only for Linux.

Make sure the libuavcan is installed in the system. If not yet:

cd firmware/uavcan
mkdir build
cd build
cmake ..
make
sudo make install

Build the UAVCAN testing tool:

cd tools/uavcan_tool
mkdir build
cd build
cmake ..
make

px4esc's People

Contributors

pavel-kirienko avatar lorenzmeier avatar hsteinhaus avatar

Watchers

James Cloos avatar wanglehui 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.