Skip to content

RTOSExploration/Amazfitbip-FreeRTOS

 
 

Repository files navigation

Amazfitbip-FreeRTOS

Warning: this is not (yet?) a complete replacement and was NOT tested on a real device. It is a starting project to experiment on the platform. At this stage, the firmware must be loaded with an st-link v2 connected directly to SWDIO and SWCLK. You can find the location of these two pins in this picture.

When loaded, it should print hello world! on the USART3 (PC10 as TX and PC11 as RX, also refer to the picture above).

I suggest to try this only on bricked devices. If you have one to donate to this cause, please contact me.

Information on the hardware

Restore original firmware / unbrick

To revert to the original firmware, just flash with st-link the dump available from this page (version 0.1.1.14).

How to compile

Download the toolchain from here.

Extract the folder to your preferred location, e.g. to your home folder. Then:

export PATH="$PATH:$HOME/gcc-arm-none-eabi-8-2018-q4-major/bin/"

Remember to change the name accordingly.

Now clone this repository and compile:

git clone --recursive https://github.com/dslul/Amazfitbip-FreeRTOS
cd Amazfitbip-FreeRTOS
make

Recommended readings

Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC, by Gay Warren

About

Barebone FreeRTOS firmware for the Amazfit Bip

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.7%
  • C++ 5.9%
  • Makefile 0.4%