Hi Jitesh, On Tue, Feb 21, 2017 at 10:40:49PM -0800, Jitesh Shah wrote: > Hey guys, > Is it possible to bypass the mynewt HAL for SPI/UART/other-peripherals and > directly call the APIs from nrf52sdk/stm32f4 directories? Is there a safe > way to compile the HAL out? and lastly, what features am I losing if I > don't use the HAL? (nffs? newtmgr?) > > I am working with mynewt_1_0_0_b2_tag.
The HAL is a fundamental part of Mynewt. It is used by most of the system, including the kernel itself, so compiling it out would definitely be an uphill battle. Could you clarify why you want to bypass the HAL? Are you trying to reduce code size, or does the HAL simply not provide functionality that you need? Thanks, Chris
