[FE training-materials-updates] Revert "Fix: no kpath macro in labs yet"
Michael Opdenacker
michael.opdenacker at free-electrons.com
Thu Oct 29 11:20:45 CET 2015
Repository : git://git.free-electrons.com/training-materials.git
On branch : master
Link : http://git.free-electrons.com/training-materials/commit/?id=00fd7f8da472f8cba39fdd7d924c06a62ba48c1e
>---------------------------------------------------------------
commit 00fd7f8da472f8cba39fdd7d924c06a62ba48c1e
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date: Thu Oct 29 11:20:45 2015 +0100
Revert "Fix: no kpath macro in labs yet"
- Alexandre implemented these macros in the meantime
This reverts commit 5bb1127df13083849ba05a1ce1e4b39598b02f8e.
>---------------------------------------------------------------
00fd7f8da472f8cba39fdd7d924c06a62ba48c1e
labs/android-new-board/android-new-board.tex | 2 +-
labs/kernel-i2c-communication/kernel-i2c-communication.tex | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/labs/android-new-board/android-new-board.tex b/labs/android-new-board/android-new-board.tex
index b10a5fd..029f7fe 100644
--- a/labs/android-new-board/android-new-board.tex
+++ b/labs/android-new-board/android-new-board.tex
@@ -314,7 +314,7 @@ the values that are working.
To make these changes permanently, you will have to edit the kernel
code. The used PWM is defined is the \code{am335xevm} board file, in
-the \code{arch/arm/mach-omap2} folder. The PWM work by switching on
+the \kpath{arch/arm/mach-omap2} folder. The PWM work by switching on
and off at a fast pace the power supply to be able to adjust the
average voltage delivered between 0 and the actual voltage of the
line. Increase the period by a factor of 100.
diff --git a/labs/kernel-i2c-communication/kernel-i2c-communication.tex b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
index ba0deca..005cdf6 100644
--- a/labs/kernel-i2c-communication/kernel-i2c-communication.tex
+++ b/labs/kernel-i2c-communication/kernel-i2c-communication.tex
@@ -71,7 +71,7 @@ signals.
Now that we know the register offsets, let's try to understand
how they are used in existing code. For example, open the
the Device Tree for the AM335x EVM board
-(\code{arch/arm/boot/dts/am335x-evm.dts}), which is using
+(\kpath{arch/arm/boot/dts/am335x-evm.dts}), which is using
\code{i2c1} too. Look for \code{i2c1_pins}, and you will see how
offsets are declared and what values they are given:
@@ -90,7 +90,7 @@ and \code{0x15c} instead of \code{0x95c}! In both cases, there is a
However, this makes sense if you look at the way the base address of the
Control Module Registers is defined. Look for \code{pinctrl-single} in
-\code{arch/arm/boot/dts/am33xx.dtsi}:
+\kpath{arch/arm/boot/dts/am33xx.dtsi}:
\begin{verbatim}
am33xx_pinmux: pinmux at 800 {
More information about the training-materials-updates
mailing list