mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Merge branch 'pulsar256-master'
This commit is contained in:
commit
110e1076be
8 changed files with 71 additions and 1 deletions
44
build_docs.sh
Executable file
44
build_docs.sh
Executable file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
|
||||
filename=Manual
|
||||
doc_files=( 'Configuration.md'
|
||||
'Board - CC3D.md'
|
||||
'Board - Naze32.md'
|
||||
'Rx.md'
|
||||
'Serial.md'
|
||||
'Failsafe.md'
|
||||
'Battery.md'
|
||||
'Gps.md'
|
||||
'Rssi.md'
|
||||
'Telemetry.md'
|
||||
'LedStrip.md'
|
||||
'Display.md'
|
||||
'Buzzer.md'
|
||||
'Sonar.md'
|
||||
'Autotune.md'
|
||||
'Migrating from baseflight.md')
|
||||
|
||||
if which gimli >/dev/null; then
|
||||
echo "Building ${filename}.pdf"
|
||||
pushd . >/dev/null
|
||||
cd docs
|
||||
|
||||
rm -f ${filename}.md
|
||||
for i in "${doc_files[@]}"
|
||||
do
|
||||
cat "$i" >> ${filename}.md
|
||||
done
|
||||
rm -f ${filename}.pdf
|
||||
gimli -f ${filename}.md
|
||||
rm ${filename}.md
|
||||
popd >/dev/null
|
||||
else
|
||||
echo -e "\nFAILED"
|
||||
echo "Install Gimli to build the PDF documentation"
|
||||
echo -e "https://github.com/walle/gimli\n"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
5
docs/Display.md
Normal file → Executable file
5
docs/Display.md
Normal file → Executable file
|
@ -60,10 +60,13 @@ or other display corruption.
|
|||
|
||||
More can be read about this procedure here: http://www.multiwii.com/forum/viewtopic.php?f=6&t=2705&start=10
|
||||
|
||||
There are diagrams in the Wiring directory.
|
||||

|
||||

|
||||
|
||||
## Connections
|
||||
|
||||
Connect +5v, Ground, I2C SDA and I2C SCL from the flight controller to the display.
|
||||
|
||||
On Naze32 rev 5 boards the SDA and SCL pins are underneath the board.
|
||||
|
||||
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 133 KiB |
BIN
docs/Wiring/Crius CO-16 OLED diagram.png
Executable file
BIN
docs/Wiring/Crius CO-16 OLED diagram.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 214 KiB |
BIN
docs/Wiring/Crius CO-16 OLED modifications.jpg
Normal file → Executable file
BIN
docs/Wiring/Crius CO-16 OLED modifications.jpg
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 83 KiB |
23
docs/development/Building Manual.md
Executable file
23
docs/development/Building Manual.md
Executable file
|
@ -0,0 +1,23 @@
|
|||
#Building Manual.
|
||||
|
||||
The manual PDF file is generated by concatenating relevant markdown files and by transforming the result using Gimli to obtain the final PDF file. This steps are handled automatically by the ```build_manual.sh``` script located in the root of the repository next to the Makefile.
|
||||
|
||||
##Requrements & Installation
|
||||
The PDF manual generation uses the Gimli for the conversion. It can be installed via ruby gems. On Debian based systems the installation steps are:
|
||||
```bash
|
||||
sudo aptitude install rubygems wkhtmltopdf libxml2-dev libxslt-dev
|
||||
sudo gem1.8 install gimli
|
||||
```
|
||||
|
||||
##Configuration
|
||||
All markdown files need to be registered in the ```build_manual.sh``` file individually by modifying the ```doc_files``` variable / array:
|
||||
```bash
|
||||
doc_files=( 'Configuration.md'
|
||||
'Board - CC3D.md'
|
||||
'...'
|
||||
'...'
|
||||
)
|
||||
```
|
||||
|
||||
##Restritions
|
||||
As the conversion via Gimli will not respect embedded image's DPI settings, the diemnsions of the image will be defined by the physical resolution in pixels. As a rule of thumb one should not embedd images wider than 600px in the markdown files.
|
0
docs/Building in Windows.md → docs/development/Building in Windows.md
Normal file → Executable file
0
docs/Building in Windows.md → docs/development/Building in Windows.md
Normal file → Executable file
0
docs/Development.md → docs/development/Development.md
Normal file → Executable file
0
docs/Development.md → docs/development/Development.md
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue