Re: What is the different between drivers and hal module?

2017-03-16 Thread Vipul Rahane
I agree, right place for this would be drivers. Standard coding_style rules 
apply.

Regards,
Vipul Rahane
 
> On Mar 16, 2017, at 10:32 AM, Sterling Hughes 
>  wrote:
> 
> Belongs in drivers IMO.  Cool!  Having a LCD driver would be awesome, and I’d 
> love to get a GFX library into (or compatible with) Mynewt as well.
> 
> On 16 Mar 2017, at 6:47, Fabio Utzig wrote:
> 
>> I believe the agreed on convention is that the "hal" directory contains
>> SOC drivers that are available on every supported MCU model. Everything
>> else should go to "drivers" (which would be the case for your LCD
>> driver).
>> 
>> On Thu, Mar 16, 2017, at 10:42 AM, Louie Lu wrote:
>>> Hi everyone,
>>> 
>>> I'm now trying to make STM32F429 LCD work, the early stage video can saw
>>> at:
>>> https://www.youtube.com/watch?v=TIhjllDWWTI
>>> 
>>> How should I choose this code to put under drivers or hw/hal, is there
>>> any
>>> rules or convention to follow?
>>> 
>>> Thanks,
>>> Louie.



Re: What is the different between drivers and hal module?

2017-03-16 Thread Sterling Hughes
Belongs in drivers IMO.  Cool!  Having a LCD driver would be awesome, 
and I’d love to get a GFX library into (or compatible with) Mynewt as 
well.


On 16 Mar 2017, at 6:47, Fabio Utzig wrote:

I believe the agreed on convention is that the "hal" directory 
contains
SOC drivers that are available on every supported MCU model. 
Everything

else should go to "drivers" (which would be the case for your LCD
driver).

On Thu, Mar 16, 2017, at 10:42 AM, Louie Lu wrote:

Hi everyone,

I'm now trying to make STM32F429 LCD work, the early stage video can 
saw

at:
https://www.youtube.com/watch?v=TIhjllDWWTI

How should I choose this code to put under drivers or hw/hal, is 
there

any
rules or convention to follow?

Thanks,
Louie.


Re: What is the different between drivers and hal module?

2017-03-16 Thread Fabio Utzig
I believe the agreed on convention is that the "hal" directory contains
SOC drivers that are available on every supported MCU model. Everything
else should go to "drivers" (which would be the case for your LCD
driver).

On Thu, Mar 16, 2017, at 10:42 AM, Louie Lu wrote:
> Hi everyone,
> 
> I'm now trying to make STM32F429 LCD work, the early stage video can saw
> at:
> https://www.youtube.com/watch?v=TIhjllDWWTI
> 
> How should I choose this code to put under drivers or hw/hal, is there
> any
> rules or convention to follow?
> 
> Thanks,
> Louie.


What is the different between drivers and hal module?

2017-03-16 Thread Louie Lu
Hi everyone,

I'm now trying to make STM32F429 LCD work, the early stage video can saw at:
https://www.youtube.com/watch?v=TIhjllDWWTI

How should I choose this code to put under drivers or hw/hal, is there any
rules or convention to follow?

Thanks,
Louie.