Commit 0cac790
authored
Improve flash step for zephyr RTOS (#225)
* Clean up zephyr flash step
There were some issues here:
- The handling of the nucleo_h743zi platform seems to have been broken
(caused by a wrong nesting in the platform selection)
- Not all cases checked for the build artifact before using it
- Console output differed between different platforms
- Indentation was inconsistent
Signed-off-by: Robert Wilbrandt <robert@stamm-wilbrandt.de>
* Unify zephyr flash openocd handling
This changes the default behavior of the olimex-stm32-e407 platform,
which previously didn't run directly after flashing. I could not find a
reason why this should be the case and thus made it consistent with the
"west flash" and nucleo_h743zi behavior.
Signed-off-by: Robert Wilbrandt <robert@stamm-wilbrandt.de>
* Default to "west flash" when flashing with zephyr
There is no real reason to check for platform validity there, and as we
use zephyr this seems like a sane default. This also allows the usage of
any zephyr-supported board (which can actually run uros) by just adding
its name to the supported_platforms file (previously, a special casing
in flash.sh was also needed).
Signed-off-by: Robert Wilbrandt <robert@stamm-wilbrandt.de>1 parent 12da774 commit 0cac790
1 file changed
Lines changed: 68 additions & 37 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 3 | + | |
26 | 4 | | |
27 | | - | |
| 5 | + | |
| 6 | + | |
28 | 7 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
33 | 11 | | |
34 | 12 | | |
35 | | - | |
| 13 | + | |
36 | 14 | | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 15 | | |
43 | | - | |
44 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
45 | 77 | | |
46 | 78 | | |
47 | 79 | | |
48 | | - | |
| |||
0 commit comments