Skip to content

Commit

Permalink
#546 Updated docs with new output of build
Browse files Browse the repository at this point in the history
  • Loading branch information
krichardsson committed May 18, 2020
1 parent f824316 commit 5450538
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 20 deletions.
10 changes: 5 additions & 5 deletions docs/development/howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ crazyflie-firmware$ make
(...)
CC hello.o
(...)
Crazyflie 2.0 build!
Build 44:61f3d878233d (2015.08.1-44) MODIFIED
Build for the CF2 platform!
Build 22:f8243162f727 (2020.04 +22) MODIFIED
Version extracted from git
Crazyloader build!
text data bss dec hex filename
130660 1636 29828 162124 2794c cf2.elf
rm version.c
Flash | 218132/1032192 (21%), 814060 free | text: 213024, data: 5108, ccmdata: 0
RAM | 71564/131072 (55%), 59508 free | bss: 66456, data: 5108
CCM | 43528/65536 (66%), 22008 free | ccmbss: 43528, ccmdata: 0
crazyflie-firmware$ make cload
../crazyflie-clients-python/bin/cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
Expand Down
15 changes: 6 additions & 9 deletions docs/development/starting_development.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Development for STM32
page_id: starting_development
page_id: starting_development
---

This page aims at documenting how to start developing with Crazyflie.
Expand All @@ -13,7 +13,7 @@ Clone the crazyflie-firmware project, or update it using the virtual
machine \"Update all projects\" script. For Crazyflie 2.X make sure the current branch is \"**master**.\"

~$ cd projects/crazyflie-firmware/
crazyflie-firmware$ git checkout master
crazyflie-firmware$ git checkout master

Then make the firmware.

Expand All @@ -23,13 +23,13 @@ For **Crazyflie 2.X**:
crazyflie-firmware$ make PLATFORM=cf2
(...)
DFUse cf2.dfu
Crazyflie 2.0 build!
Build for the CF2 platform!
Build 00:00000000 (20XX.XX.X-XX) CLEAN
Version extracted from git
Crazyloader build!
text data bss dec hex filename
XXXXX XXXX XXXXX XXXXXX XXXXX cf2.elf
rm version.c
Flash | 218132/1032192 (21%), 814060 free | text: 213024, data: 5108, ccmdata: 0
RAM | 71564/131072 (55%), 59508 free | bss: 66456, data: 5108
CCM | 43528/65536 (66%), 22008 free | ccmbss: 43528, ccmdata: 0
```

To program using the radio bootloader, first install the cflib and cfclient, and put the CF2.X in bootloader mode:
Expand All @@ -51,6 +51,3 @@ From command line the flash make target flashed the firmware using
programming cable

make flash



12 changes: 6 additions & 6 deletions docs/development/systemtask.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,13 @@ crazyflie-firmware$ make
(...)
CC hello.o
(...)
Crazyflie 2.0 build!
Build 44:61f3d878233d (2015.08.1-44) MODIFIED
Build for the CF2 platform!
Build 22:f8243162f727 (2020.04 +22) MODIFIED
Version extracted from git
Crazyloader build!
text data bss dec hex filename
130660 1636 29828 162124 2794c cf2.elf
rm version.c
Flash | 218132/1032192 (21%), 814060 free | text: 213024, data: 5108, ccmdata: 0
RAM | 71564/131072 (55%), 59508 free | bss: 66456, data: 5108
CCM | 43528/65536 (66%), 22008 free | ccmbss: 43528, ccmdata: 0
crazyflie-firmware$ make cload
../crazyflie-clients-python/bin/cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
Expand All @@ -296,5 +296,5 @@ Reset in firmware mode ...
$
```

Now you can connect your Crazyflie with the client and see the
Now you can connect your Crazyflie with the client and see the
"Example task main function is running!" in the debug console.

0 comments on commit 5450538

Please sign in to comment.