1 Star 0 Fork 1

oosmile / uf2-stm32f

forked from 杜玉亮 / uf2-stm32f 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

UF2 Bootloaders for STM32

This implements USB mass storage flashing using UF2 format

Build instructions

To build just run make in this folder. This will fetch git submodules if needed and build libopenocm3 (which only happens once).

The binaries will be in build/BOARDNAME. The following files will be built:

  • bootloader.elf - for use with JTAG adapters
  • bootloader.bin - for direct onboard upgrading
  • flasher.uf2 - if you already have a UF2 bootloader, you can just drop this on board and it will update the bootloader
  • flasher16.uf2 - this is similar, but if you have an older UF2 bootloader on the board, that expects the app to start at 16k (0x08004000)

Adding board

Start from f401 (for 64 pin package) or f401c (for 48 pin package) generic board. Copy the folder and modify board.h, follow instructions at https://arcade.makecode.com/hardware/adding#generating-bootloader

License

License: LGPL for libopencm3, BSD for what was left of the PX4 bootloader (see LICENSE.md), MIT for the UF2 stuff, and ISC for the bits from dapboot.

Credits

This repo was forked from https://github.com/PX4/Bootloader

It contains small bits from https://github.com/devanlai/dapboot, mostly the WebUSB, that has been heavily modified though.

The UF2 stuff was mostly lifted from https://github.com/Microsoft/uf2-samdx1 by way of (non-working) https://github.com/Microsoft/uf2-nrf5

The dmesg subsystem is adapted from https://github.com/lancaster-university/codal-core

The PX4 bootloader is licensed generally under a permissive 3-clause BSD license. Contributions are required to be made under the same license. Any exception to this general rule is listed below. /**************************************************************************** * * Copyright (c) 2012-2016 PX4 Development Team. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * 3. Neither the name PX4 nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************/ - libopencm3: [LGPL](https://github.com/libopencm3/libopencm3/blob/master/COPYING.LGPL3) - cdcacm.c: GPL - bl.c: BSD 3-clause - bl.h: BSD 3-clause - UF2 stuff: MIT

简介

UF2 bootloader for STM32F4 展开 收起
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
1
https://gitee.com/gpib/uf2-stm32f.git
git@gitee.com:gpib/uf2-stm32f.git
gpib
uf2-stm32f
uf2-stm32f
master

搜索帮助