Hi Jitesh,

yes, you can use the SDKs directly. It is hard to completely to get rid of HAL
completely, as it’s pretty much always considered for linking. If I’m not
mistaken, hal watchdog is always enabled by OS. I suspect you’ll need
to do code mods to turn that off.

Also, you can also use HAL for some peripherals, and use SDK for others.

Any package which accesses flash uses HAL for it. Any package which
accesses UART ends up going for HAL. I’m guessing that about 80% of
the packages want to use HAL, or on another package which wants to use
HAL.

> On Feb 21, 2017, at 10:40 PM, Jitesh Shah <[email protected]> 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.
> 
> Thanks,
> Jitesh
> 
> -- 
> This email including attachments contains Mad Apparel, Inc. DBA Athos 
> privileged, confidential, and proprietary information solely for the use 
> for the addressed recipients. If you are not the intended recipient, please 
> be aware that any review, disclosure, copying, distribution, or use of the 
> contents of this message is strictly prohibited. If you have received this 
> in error, please delete it immediately and notify the sender. All rights 
> reserved by Mad Apparel, Inc. 2012. The information contained herein is the 
> exclusive property of Mad Apparel, Inc. and should not be used, 
> distributed, reproduced, or disclosed in whole or in part without prior 
> written permission of Mad Apparel, Inc.

Reply via email to