Skip to content

Commit 9b15e0f

Browse files
author
Wayne Ren
committed
doc: update the doc of imu_mpu9250 and graphic_u8glib
update the doc of imu_mpu9250 and graphic_u8glib Signed-off-by: Wayne Ren <[email protected]>
1 parent 9fbfd1b commit 9b15e0f

File tree

5 files changed

+40
-3
lines changed

5 files changed

+40
-3
lines changed

doc/documents/example/example.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ JTAG, or the .bin files through SD card by secondary bootloader.
3232
example/baremetal/bootloader :ref:`example_bootloader`
3333
example/baremetal/cxx :ref:`example_cxx`
3434
example/baremetal/dma_spiflash :ref:`example_dma_spiflash`
35+
example/baremetal/imu_mpu9250 :ref:`example_mpu9250_test`
3536
example/baremetal/graphic_u8glib :ref:`example_graphic_u8glib`
3637
example/baremetal/openthread/cli :ref:`example_openthread_cli`
3738
example/baremetal/openthread/ncp :ref:`example_openthread_ncp`

example/baremetal/baremetal_based_example.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@ Baremetal examples
88
:glob:
99

1010
*/*
11-
test/*/*/*

example/baremetal/graphic_u8glib/README.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,40 @@
22

33
Graphic u8glib Example
44
######################
5+
6+
7+
Overview
8+
********
9+
10+
This example is a graphic test based on OLED ssd1306 and U8glib.
11+
12+
13+
Detailed Description
14+
====================
15+
* Extra Required Tools
16+
NO
17+
18+
* Extra Required Peripherals
19+
PMOD OLED based on SSD1306 128x64 monochrome
20+
21+
* Design Concept
22+
It demonstrates how to use U8glib functions of drawing box, line and ASCII characters. Dynamic graphics are shown in SSD1306.
23+
And display width & height information is shown in Tera Term
24+
25+
* Usage Manual
26+
Outputs pitch, roll, yaw get from MPU9250 DMP to the console.
27+
28+
* Extra Comments
29+
NO
30+
31+
Buidling and Running
32+
********************
33+
34+
The commands to run this example are as follows:
35+
36+
.. code-block:: console
37+
38+
$ cd <embarc_root>/example/baremetal/graphic_u8glib
39+
$ make BOARD=emsk BD_VER=22 CUR_CORE=arcem7d TOOLCHAIN=gnu run
40+
41+
.. note:: As IoTDK's pmod inteface don't support I2C, please use the i2c pins of arduino interface mikro bus to connect pmod OLED.

example/baremetal/imu_mpu9250/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ to run this example are as follows:
3333

3434
.. code-block:: console
3535
36-
$ cd <embarc_root>/example/test/mpu9250_test
36+
$ cd <embarc_root>/example/baremetal/imu_9250
3737
$ make BOARD=iotdk TOOLCHAIN=gnu run
3838
3939
.. note:: Make sure you have selected the correct configuration of iotdk

example/baremetal/imu_mpu9250/makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Application name
2-
APPL ?= mpu9250_test
2+
APPL ?= imu_mpu9250
33
BOARD = iotdk
44
EXT_DEV_LIST += sensor/imu/mpu9250
55
#

0 commit comments

Comments
 (0)