Commit 82287f9
committed
Work around ARM and IAR optimization issue
Add a custom profile to work around an issue with the ARM and IAR
compilers, where the example appears to hang without any error. Building
the example with `-O1` (ARM) and `-Ol` (IAR), rather than the default of
`-Os` (ARM) and `-Ohz` (IAR), works as a workaround.
To use the custom profile with mbed-cli, use the --profile option.
mbed compile -m CY8CKIT_062_WIFI_BT -t ARMC6 --profile mbed_profile.json
Arm internal reference: SDCTRESPONSE-35501 parent 58ee0a9 commit 82287f9
1 file changed
+16
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
0 commit comments