Thanks Wayne. I've just committed a fix for the *.S not compiling on the develop branch of newt, so it will make it into the release next week. If you want to try it out in the interim, just grab develop.

Cheers,

Sterling

On 4/23/16 12:03 PM, Wayne Keenan wrote:
Hi Sterling,

I removed the pkg.arch directive and the build was still successful, thanks.


All the best
Wayne

On Sat, Apr 23, 2016 at 5:34 PM, Sterling Hughes <[email protected]
<mailto:[email protected]>> wrote:

    Hi Wayne,

    Good point, the .s should be case-insensitive. We'll change that.

    Can you retest without adding pkg.arch to [APP_DIR]/pkg.yml?  The
    architecture should be specified by the BSP, and that should apply
    to the application package (I just tested this locally.)  So if
    you're seeing something different, I want to make sure we
    understand/fix it.

    Thanks!

    Sterling


    On 4/23/16 2:42 AM, Wayne Keenan wrote:

        Hi,

        For those that follow, after digging around I found I needed
        todo the
        following for my app:


        1. in [APP_DIR]/pkg.yml added the new line:

        pkg.arch: cortex_m4


        2. Put .s  (and currently not .S) files under:

        [APP_DIR]/src/arch/cortex_m4





        All the best
        Wayne

        On Sat, Apr 23, 2016 at 9:54 AM, Wayne Keenan
        <[email protected] <mailto:[email protected]>>
        wrote:

            Hi,

            I've got an app with asm  (*.[s|S])  files but `newt build`
            is not picking
            them up.

            What is special about the
            ./repos/apache-mynewt-core/hw/bsp/nrf52pdk such
            that a build picks up gcc_startup_nrf52.s for assembly?

            I've had a look in the various p*.yml files but nothing
            jumped out.

            All the best
            Wayne



Reply via email to