astarte-platform / astarte-device-sdk-rust

Apache License 2.0
6 stars 12 forks source link

Meta: Wish Support bitbake #20

Open rzr opened 2 years ago

rzr commented 2 years ago

Hi, Let me open issue to track related effort to support bitbake, I have generated a recipe I will share it if you want to test until it's finalized.

Relate-to: https://github.com/astarte-platform/astarte-device-sdk-rust/pull/16

Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191

rzr commented 2 years ago

Hi, I have shared a recipe above, but it depends on other changes I am currently upstreaming:

Origin: https://github.com/openembedded/openembedded-core/commit/6cd2cf6525bcb241b3a2538e559fcef2a2084a7e Relate-to: https://github.com/libunwind/libunwind/pull/312 Relate-to: https://booting.oniroproject.org/distro/oniro/-/issues/191 Forwarded: https://lists.openembedded.org/g/openembedded-core/message/158932

Fell free to reach me if you want to know more about status, some help will be also needed to use the cloud example.

I am not sure I used the right variables in:

RUST_BACKTRACE=1 cargo run --example simple -- --credentials-secret $credentialssecret --device-id $deviceid --pairing-url $pairingurl --realm $realm

astarte-oniro

rzr commented 2 years ago

After configured interfaces at cloud side , i am able to see some activities:

astarte-cloud

Next, it would be nice to make a shared lib that can be used from non rust programs too, what do you think of this idea ?

More to come at fosdem:

Oniro:

  - An Eclipse Foundation project driven by working group
  - Open source distributed operating system
    - Targeting IoT devices
    - Defragment development for embedded sys
  - Same build system (bitbake) for different kernels
  - Device RUST sdk can be integrated as a bitbake recipe
    - https://github.com/astarte-platform/astarte-device-sdk-rust/issues/20
  - Astarte has been packaged using "bibtake cargo" 
    - Will support oniro next release "goofy" (on yocto Kirkstone branch)
      - Feedback welcome:
      - https://booting.oniroproject.org/distro/oniro/-/issues/191
  - Visit FOSDEM2022's Oniro Stand:
   - https://fosdem.org/2022/schedule/event/welcome_oniro/      

Pictures:

https://user-images.githubusercontent.com/89133/149566215-2bc1a3b1-5003-4b28-b01c-dc718eeaba4d.png

https://user-images.githubusercontent.com/89133/149620560-f164a0c2-11f3-4cbf-9f64-fc863005807b.png

https://gitlab.eclipse.org/groups/eclipse-wg/oniro-wg/proposal-incubation-stage-oniro/-/wikis/uploads/bc7f535040a90db19f9267913180a083/ONIRO-Masterbrand-vertical.svg.png