markdown is wonderful
Autonumbering and indenting broken by mixing "compatible" styles of code formatting.
This commit is contained in:
18
README.md
18
README.md
@@ -124,12 +124,15 @@ shows the general way. (If there's interest, we can make a stub template
|
|||||||
repository)
|
repository)
|
||||||
|
|
||||||
1. Create an empty repository
|
1. Create an empty repository
|
||||||
|
```
|
||||||
mkdir mycoolrobot && cd mycoolrobot && git init .
|
mkdir mycoolrobot && cd mycoolrobot && git init .
|
||||||
|
```
|
||||||
|
|
||||||
2. Add libopencm3 as a submodule
|
2. Add libopencm3 as a submodule
|
||||||
|
|
||||||
git submodule add https://github.com/libopencm3/libopencm3
|
```
|
||||||
|
git submodule add https://github.com/libopencm3/libopencm3
|
||||||
|
```
|
||||||
|
|
||||||
2. Build the library, some of the code is generated.
|
2. Build the library, some of the code is generated.
|
||||||
|
|
||||||
@@ -137,7 +140,6 @@ repository)
|
|||||||
make -C libopencm3 -j5
|
make -C libopencm3 -j5
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
3. Grab a copy of the basic rules
|
3. Grab a copy of the basic rules
|
||||||
These urls grab the latest from the libopencm3-examples repository
|
These urls grab the latest from the libopencm3-examples repository
|
||||||
|
|
||||||
@@ -161,9 +163,11 @@ project in the next step..
|
|||||||
6. beg/borrow/steal an example project
|
6. beg/borrow/steal an example project
|
||||||
For sanity's sake, use the same target as the makefile you grabbed up above)
|
For sanity's sake, use the same target as the makefile you grabbed up above)
|
||||||
|
|
||||||
cp -a \
|
```
|
||||||
somewhere/libopencm3-examples/examples/stm32/l1/stm32ldiscovery/miniblink \
|
cp -a \
|
||||||
myproject
|
somewhere/libopencm3-examples/examples/stm32/l1/stm32ldiscovery/miniblink \
|
||||||
|
myproject
|
||||||
|
```
|
||||||
|
|
||||||
Add the path to OPENCM3\_DIR, and modify the path to makefile include
|
Add the path to OPENCM3\_DIR, and modify the path to makefile include
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user