Cool, although I'm sticking to 'latest' for the moment as I've gotten carried away into being right in the middle of something...
Basically, I have a tiny reptilian hissing out 'Hello World!' to the Newt UART console on the nrf52 just after Nimble's BLE advertising starts. It just a very early hatchling/POC, but at some point I'd like to make the jump from building a standalone/isolated Newt app to being able to provide a Newt library (1), and then further down the road perhaps being able to provide another scripting language to sit alongside LAU in newt (2). Any pointers for the journey down that path would be greatly received. In the meantime there's quite a few HAL and BLE bits to wire/wrap up to keep me busy. All the best Wayne On Sat, Apr 23, 2016 at 8:20 PM, Sterling Hughes <[email protected]> wrote: > 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 >> >> >> >>
