You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by Simon Ratner <si...@proxy.co> on 2017/01/11 08:33:48 UTC

Commit 39eecc8 does not compile on Cortex M0

Output:
```
Assembling
repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s
Error:
repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:
Assembler messages:
repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:92:
Error: cannot honor width suffix -- `mov r0,#0'
repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:97:
Error: selected processor does not support `itt lt' in Thumb mode
repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:98:
Error: thumb conditional instruction should be in IT block -- `strlt
r0,[r2],#4'
```

Re: Commit 39eecc8 does not compile on Cortex M0

Posted by Christopher Collins <cc...@apache.org>.
On Wed, Jan 11, 2017 at 12:33:48AM -0800, Simon Ratner wrote:
> Output:
> ```
> Assembling
> repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s
> Error:
> repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:
> Assembler messages:
> repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:92:
> Error: cannot honor width suffix -- `mov r0,#0'
> repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:97:
> Error: selected processor does not support `itt lt' in Thumb mode
> repos/apache-mynewt-core/hw/bsp/nrf51-blenano/src/arch/cortex_m0/gcc_startup_nrf51_split.s:98:
> Error: thumb conditional instruction should be in IT block -- `strlt
> r0,[r2],#4'
> ```

Thanks, Simon.  I believe it is fixed now.

Chris