drone-os / drone-book Goto Github PK
View Code? Open in Web Editor NEWGuide-level documentation for Drone, an Embedded Operating System.
Home Page: https://book.drone-os.com/
Guide-level documentation for Drone, an Embedded Operating System.
Home Page: https://book.drone-os.com/
I'm going through the tutorial with the same hardware on Arch Linux. The BMP from a bluepill step fails at "Flashing Firmware" with dfu-util: Last page at 0x080147db is not writeable
.
I got it working by running the firmware upgrade tool provided with the blackmagic repository, in blackmagic/:
$ cd upgrade
$ make PROBE_HOST=swlink
$ ./blackmagic_upgrade
PS: a couple of the steps deviate on Arch Linux w.r.t. Ubuntu 18. Would you mind me making a PR on that?
As someone new to embedded development, I found the Run at Full Speed chapter overly dense -- it's likely to scare off folks before they even start. The code contains too many unexplained concepts for someone not well versed in STM32 development. Example: hserdyc
and hserdyf
are not commented, it's just assumed we understand what they mean.
A more compelling example (if feasible) might be to get the LED blinking slowly at a modulus of the clock speed first, then add the code to run at 72MHz, so that the LED blinks faster.
On a related note, it would be nice if the book included links to the drone-os rustdoc when referencing existing traits and structs.
In Work with a Timer
, the acronym ZST is used without prior definition:
The macros do nothing at the run-time, because reg, gpio_c, and sys_tick are ZST, but they inform the type system of moved ownership.
I did a couple Google searches but am unable to find a definition when paired with embedded or stm32. Please added a definition at its first usage.
Hello 😃 ,
Since Tock-OS
is another major project in-progress to build an embedded OS in Rust,
I thought adding a section in src/introduction.md
highlighting the key differences between Drone-OS
and Tock-OS
could be meaningful and helpful to newcomers.
https://book.drone-os.com/bmp-from-bluepill.html
It seems you're missing 1 cable connection: 5V to VCC on the Blue Pill. Without this I got Can't init. Ensure that BOOT0 is enabled and reset device
which is a bit misleading.
Here I found the proper connection
https://medium.com/@paramaggarwal/programming-an-stm32f103-board-using-usb-port-blue-pill-953cec0dbc86
and with that the Blue Pill bootloading worked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.