File tree 3 files changed +76
-20
lines changed
3 files changed +76
-20
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Change directory into any of the examples and compile it:
18
18
19
19
``` sh
20
20
# cd into any example you like
21
- cd modm/examples/generic /blinky
21
+ cd modm/examples/core /blinky
22
22
# generate modm library (call only once)
23
23
lbuild build
24
24
# compile the example
@@ -56,6 +56,69 @@ Have a look at the [build system documentation][build_docs] and the
56
56
[ online documentation] [ docs ] .
57
57
58
58
59
+ ## Structure
60
+
61
+ - core
62
+ - custom_allocator
63
+ - delay
64
+ - exceptions_rtti
65
+ - fiber
66
+ - flash
67
+ - hard_fault
68
+ - itm
69
+ - multi-core
70
+ - resumable
71
+ - rtt
72
+ - threadsafe_statics
73
+ - tlsf_allocator
74
+ - unaligned_access
75
+ - vector_table_ram
76
+ - gpio
77
+ - blinky
78
+ - exti
79
+ - gpio
80
+ - ports
81
+ - analog
82
+ - adc_dma
83
+ - comp
84
+ - dac
85
+ - timer
86
+ - encoder_input
87
+ - pwm
88
+ - timer
89
+ - logging
90
+ - logger
91
+ - printf
92
+ - uart
93
+ - ui
94
+ - game_of_life
95
+ - graphics
96
+ - lvgl
97
+ - driver
98
+ - can
99
+ - i2c
100
+ - single wire
101
+ - spi
102
+ - communication
103
+ - amnb
104
+ - ethernet_freertos
105
+ - nrf24
106
+ - ros
107
+ - sab
108
+ - xpcc
109
+ - ext
110
+ - cmsis_dsp
111
+ - etl
112
+ - freertos
113
+ - nanopb
114
+ - usb
115
+ - usb_dfu
116
+ - usbfatfs
117
+ - board
118
+ - super custom board-specific examples
119
+ - ideally we get rid of this section
120
+
121
+
59
122
## Interesting Examples
60
123
61
124
We have hundreds of examples but here are some of our favorite ones for our
@@ -117,6 +180,12 @@ Here are some additional examples of displays and sensors we like:
117
180
<!-- /checkrepourls-->
118
181
119
182
183
+ <!-- webignore-->
184
+ ### Compiling Examples for Multiple Targets
185
+
186
+
187
+ <!-- /webignore-->
188
+
120
189
### Copy Carefully
121
190
122
191
When copying from our examples make sure to set the repository path correctly!
@@ -134,10 +203,10 @@ The `modm/examples/lbuild.xml` file:
134
203
When you write your own application, you must set this
135
204
path yourself! -->
136
205
<repositories >
137
- <repository ><path >../repo.lb</path ></repository >
206
+ <repository ><path >../repo.lb</path ></repository >
138
207
</repositories >
139
208
<modules >
140
- <module >modm:docs</module >
209
+ <module >modm:docs</module >
141
210
</modules >
142
211
</library >
143
212
```
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 13
13
<!-- <extends>modm:nucleo-f446re</extends> -->
14
14
<!-- <extends>modm:nucleo-g071rb</extends> -->
15
15
<!-- <extends>modm:nucleo-h743zi</extends> -->
16
- <extends >modm:nucleo-l152re</extends >
16
+ <!-- < extends>modm:nucleo-l152re</extends> -- >
17
17
<!-- <extends>modm:nucleo-l432kc</extends> -->
18
18
<!-- <extends>modm:nucleo-l476rg</extends> -->
19
- <!-- <extends>modm:samd21-mini</extends> -->
20
19
<!-- <extends>modm:rp-pico</extends> -->
20
+ <!-- <extends>modm:samd21-mini</extends> -->
21
21
<options >
22
22
<option name =" modm:io:with_printf" >true</option >
23
+ <!-- Required for modm:samd21-mini, modm:rp-pico -->
23
24
<!-- <option name="modm:tinyusb:config">device.cdc</option> -->
24
25
</options >
25
26
<modules >
26
27
<module >modm:build:scons</module >
27
28
<module >modm:debug</module >
28
29
<module >modm:driver:cycle_counter</module >
30
+ <!-- Required for modm:samd21-mini, modm:rp-pico -->
29
31
<!-- <module>modm:tinyusb</module> -->
30
32
</modules >
31
33
</library >
You can’t perform that action at this time.
0 commit comments