Using the posix BSP


Rob Meades
 

Stoopid question time again I'm afraid: I would like to run Zephyr with Linux as host, so using the posix BSP. I can find information about running a posix application on top of Zephyr but not the other way up.

Can anyone point me at an example or some information concerning how I go about running Zephyr with its posix BSP?

Rob


Carles Cufi
 

Hi Rob,

I think you are referring to Zephyr's native_posix port, which we also call "Native port". It currently runs on Linux but Chris Friedt is working on porting it to macOS. You can find more information here:

https://docs.zephyrproject.org/latest/boards/posix/native_posix/doc/index.html

Carles

P.S.: Say hi to Adam!

-----Original Message-----
From: users@... <users@...> On
Behalf Of Rob Meades via lists.zephyrproject.org
Sent: 17 March 2022 16:31
To: users@...
Subject: [Zephyr-users] Using the posix BSP

Stoopid question time again I'm afraid: I would like to run Zephyr with
Linux as host, so using the posix BSP. I can find information about
running a posix application on top of Zephyr but not the other way up.

Can anyone point me at an example or some information concerning how I go
about running Zephyr with its posix BSP?

Rob




Rob Meades
 

Aha, that's it, thank you!

Rob

-----Original Message-----
From: Cufi, Carles [mailto:Carles.Cufi@...]
Sent: 17 March 2022 15:45
To: Rob Meades <Rob.Meades@...>; users@...
Subject: RE: Using the posix BSP

*** This is an EXTERNAL email. It was sent from outside of u-blox. ***

Hi Rob,

I think you are referring to Zephyr's native_posix port, which we also call "Native port". It currently runs on Linux but Chris Friedt is working on porting it to macOS. You can find more information here:

https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.zephyrproject.org%2Flatest%2Fboards%2Fposix%2Fnative_posix%2Fdoc%2Findex.html&;data=04%7C01%7CRob.Meades%40u-blox.com%7C9b09109bdbcd4d55f50008da082d099a%7C80c4ffa675114bba9f03e5872a660c9b%7C0%7C0%7C637831286791556809%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=THJvIk%2FNFBtKO2IsgAopyG4YJ5cpEJomJuzTqNgx50Y%3D&amp;reserved=0

Carles

P.S.: Say hi to Adam!


-----Original Message-----
From: users@... <users@...> On
Behalf Of Rob Meades via lists.zephyrproject.org
Sent: 17 March 2022 16:31
To: users@...
Subject: [Zephyr-users] Using the posix BSP

Stoopid question time again I'm afraid: I would like to run Zephyr
with Linux as host, so using the posix BSP. I can find information
about running a posix application on top of Zephyr but not the other way up.

Can anyone point me at an example or some information concerning how I
go about running Zephyr with its posix BSP?

Rob