|
30 | 30 | -define(DEPS, [packbeam]). |
31 | 31 | -define(OPTS, [ |
32 | 32 | {family_id, $f, "family_id", string, |
33 | | - "Device family or flavor of uf2 file to create (default rp2040)"}, |
| 33 | + "Device family or flavor of uf2 file to create (default universal)"}, |
34 | 34 | {output, $o, "output", string, "Output path/name"}, |
35 | 35 | {start, $s, "start", string, "Start address for the uf2 binary (default 0x10180000)"}, |
36 | 36 | {input, $i, "input", string, "Input avm file to convert to uf2"} |
37 | 37 | ]). |
38 | 38 |
|
39 | 39 | -define(DEFAULT_OPTS, #{ |
40 | 40 | start => os:getenv("ATOMVM_PICO_APP_START", "0x10180000"), |
41 | | - family_id => os:getenv("ATOMVM_PICO_UF2_FAMILY", rp2040) |
| 41 | + family_id => os:getenv("ATOMVM_PICO_UF2_FAMILY", universal) |
42 | 42 | }). |
43 | 43 |
|
44 | 44 | %% |
@@ -84,10 +84,10 @@ do(State) -> |
84 | 84 | catch |
85 | 85 | C:E:S -> |
86 | 86 | rebar_api:error( |
87 | | - "An error occurred in the ~p task. Class=~p Error=~p Stacktrace=~p~n", [ |
88 | | - ?PROVIDER, C, E, S |
89 | | - ] |
| 87 | + "An error occurred in the ~p task. Error=~p", |
| 88 | + [?PROVIDER, E] |
90 | 89 | ), |
| 90 | + rebar_api:debug("Class=~p, Error=~p~nSTACKTRACE:~n~p~n", [C, E, S]), |
91 | 91 | {error, E} |
92 | 92 | end. |
93 | 93 |
|
|
0 commit comments