Re: STM32F3 Discovery blinky tutorial error

2017-03-20 Thread aditi hilbert
Hi Sanjeewa,

Basic port, yes.

https://github.com/apache/incubator-mynewt-core/tree/master/hw/bsp/ci40 

https://github.com/apache/incubator-mynewt-core/tree/master/hw/mcu/mips/danube 


thanks,
aditi

> On Mar 20, 2017, at 11:37 AM, Pradeep Sanjeewa  wrote:
> 
> Hi Sterling,
> 
> Is ci40 board already ported to mynewt?
> 
> Thanks and regards,
> Sanjeewa
> 
> On Mon, Mar 20, 2017 at 10:37 PM, Sterling Hughes <
> sterling.hughes.pub...@gmail.com> wrote:
> 
>> Hi Pradeep,
>> 
>> On 20 Mar 2017, at 6:07, Fabio Utzig wrote:
>> 
>> On Mon, Mar 20, 2017, at 09:09 AM, Pradeep Sanjeewa wrote:
>>> 
 Hi Fabio Utzig,
 
 I thought MIPS port is already implemented.
 Imagination Technologies ci40 board is already ported to mynewt which has
 a
 MIPS mcu.
 Isn't it?
 
 Correct me if I'm wrong.
 
>>> 
>>> Yes, there current supported MIPS CPU is a 24KEc family AFAIK, while the
>>> PIC32 is a M4K. While being both MIPS there are the arch differences and
>>> also being different manufacturers means different HAL. Using an ARM
>>> analogy, it would be like getting the STM32F4 port and trying to run on
>>> NRF51xx.
>>> 
>>> 
>> This is not to discourage you - we’d love someone else working on the
>> PIC32 port as well.  Just a pointer that you might want to ping Julian
>> Ingram, and see if you can share efforts with him on the port.
>> 
>> Cheers,
>> 
>> Sterling
>> 



Re: STM32F3 Discovery blinky tutorial error

2017-03-20 Thread Pradeep Sanjeewa
Hi Sterling,

Is ci40 board already ported to mynewt?

Thanks and regards,
Sanjeewa

On Mon, Mar 20, 2017 at 10:37 PM, Sterling Hughes <
sterling.hughes.pub...@gmail.com> wrote:

> Hi Pradeep,
>
> On 20 Mar 2017, at 6:07, Fabio Utzig wrote:
>
> On Mon, Mar 20, 2017, at 09:09 AM, Pradeep Sanjeewa wrote:
>>
>>> Hi Fabio Utzig,
>>>
>>> I thought MIPS port is already implemented.
>>> Imagination Technologies ci40 board is already ported to mynewt which has
>>> a
>>> MIPS mcu.
>>> Isn't it?
>>>
>>> Correct me if I'm wrong.
>>>
>>
>> Yes, there current supported MIPS CPU is a 24KEc family AFAIK, while the
>> PIC32 is a M4K. While being both MIPS there are the arch differences and
>> also being different manufacturers means different HAL. Using an ARM
>> analogy, it would be like getting the STM32F4 port and trying to run on
>> NRF51xx.
>>
>>
> This is not to discourage you - we’d love someone else working on the
> PIC32 port as well.  Just a pointer that you might want to ping Julian
> Ingram, and see if you can share efforts with him on the port.
>
> Cheers,
>
> Sterling
>


Re: STM32F3 Discovery blinky tutorial error

2017-03-20 Thread Sterling Hughes

Hi Pradeep,

On 20 Mar 2017, at 6:07, Fabio Utzig wrote:


On Mon, Mar 20, 2017, at 09:09 AM, Pradeep Sanjeewa wrote:

Hi Fabio Utzig,

I thought MIPS port is already implemented.
Imagination Technologies ci40 board is already ported to mynewt which 
has

a
MIPS mcu.
Isn't it?

Correct me if I'm wrong.


Yes, there current supported MIPS CPU is a 24KEc family AFAIK, while 
the
PIC32 is a M4K. While being both MIPS there are the arch differences 
and

also being different manufacturers means different HAL. Using an ARM
analogy, it would be like getting the STM32F4 port and trying to run 
on

NRF51xx.



This is not to discourage you - we’d love someone else working on the 
PIC32 port as well.  Just a pointer that you might want to ping Julian 
Ingram, and see if you can share efforts with him on the port.


Cheers,

Sterling


Re: STM32F3 Discovery blinky tutorial error

2017-03-20 Thread Fabio Utzig

On Mon, Mar 20, 2017, at 09:09 AM, Pradeep Sanjeewa wrote:
> Hi Fabio Utzig,
> 
> I thought MIPS port is already implemented.
> Imagination Technologies ci40 board is already ported to mynewt which has
> a
> MIPS mcu.
> Isn't it?
> 
> Correct me if I'm wrong.

Yes, there current supported MIPS CPU is a 24KEc family AFAIK, while the
PIC32 is a M4K. While being both MIPS there are the arch differences and
also being different manufacturers means different HAL. Using an ARM
analogy, it would be like getting the STM32F4 port and trying to run on
NRF51xx.

Cheers,
Fabio Utzig


Re: STM32F3 Discovery blinky tutorial error

2017-03-20 Thread Fabio Utzig
Hi Pradeep,



On Sun, Mar 19, 2017, at 10:42 PM, Pradeep Sanjeewa wrote:

> Hi Aditi,

> 

> I was just polishing up my memory to port mynewt to pic 32 bluetooth
> starter kit.
> Then I'll continue the nrf52 DK as a starting step.  



Just to mention, porting to PIC32 would be a lot of work and Julian
from Img Tec already announced, like a month ago, that he's working on
it and I think he also did the MIPS port, so it would be a good idea to
reach out to him or wait for the MCU port before tackling a bit task
like that.


Cheers,

Fabio Utzig


STM32F3 Discovery blinky tutorial error

2017-03-19 Thread Pradeep Sanjeewa
Hi,

I'm trying to run blinky on STM32f3discovery board.
Then came across the following error

root@882b7271745c:/dev/myproj_stm32F3# newt build stmf3_blinky
Building target targets/stmf3_blinky
Error: Error reading
/dev/myproj_stm32F3/repos/mynewt_stm32f3/hw/bsp/stm32f3disc
overy/bsp.yml: open : no such file or directory
root@882b7271745c:/dev/myproj_stm32F3#

I browsed to the the bsp folder and there was no bsp.yml file.
What can be the issue?

p.s. : I'm using docker on windows.

Thanks and regards,
Sanjeewa