Giter Club home page Giter Club logo

Comments (7)

me-no-dev avatar me-no-dev commented on August 19, 2024

yes :) I have also thought much of the bare metal possibilities. It will not at all be hard to convert the lib to talk bare metal. I already have some nice sources on how to access the USB as well. Will need to look into it more to be able to determine how could the whole thing work together (reload the sketches from IDE).

from raspiarduino.

nkolban avatar nkolban commented on August 19, 2024

@KeithSloan Many thanks for query. Would you be able to describe some example use cases where a "Raspbian free" version of PiDuino might be used? What features in it would you see as beneficial above and beyond the version that is currently available running on Raspbian?

from raspiarduino.

me-no-dev avatar me-no-dev commented on August 19, 2024

@nkolban any real-time usage. It is turned into a micro-controller of a sort...
No kernel scheduler to mess up timings and such. It's like Arduino for real

from raspiarduino.

KeithSloan avatar KeithSloan commented on August 19, 2024

Hi Neil

I would see the benefit of a bar metal implementation as you don't have
to worry that your sketch being subject to interrupts.
That is one could be much more assured with things which have critical
timing.

Should be easier to setup as no need to disable features in Raspbian.

Just seems to me to be a cleaner solution

Keith

On 08/02/16 11:33, Neil Kolban wrote:

@KeithSloan https://github.com/KeithSloan Many thanks for query.
Would you be able to describe some example use cases where a "Raspbian
free" version of PiDuino might be used? What features in it would you
see as beneficial above and beyond the version that is currently
available running on Raspbian?


Reply to this email directly or view it on GitHub
#44 (comment).

from raspiarduino.

me-no-dev avatar me-no-dev commented on August 19, 2024

Cleaner for certain situations. Currently you have access to all that linux can offer. Bare Metal is Bare :) there is no linux there. You do your own networking and all. No Shell to execute scripts or other goodies that come with OS. SO they are both for really different situations.
I do agree that there is a way to make the framework work on both Linux and BareMetal, but do see majority of the users benefitting from having the OS in the background.

from raspiarduino.

KeithSloan avatar KeithSloan commented on August 19, 2024

Well in your shoes I would look at offering both.

For me if I have sketches developed for Arduino or chipKit pi I would
definitely choose the bare metal option.

I was under the assumption that one would be restricted to what the
Arduino API supports so no SPI-Slave etc.
So how does one access the Linux function

On 08/02/16 11:52, Me No Dev wrote:

Cleaner for certain situations. Currently you have access to all that
linux can offer. Bare Metal is Bare :) there is no linux there. You do
your own networking and all. No Shell to execute scripts or other
goodies that come with OS. SO they are both for really different
situations.
I do agree that there is a way to make the framework work on both
Linux and BareMetal, but do see majority of the users benefitting from
having the OS in the background.


Reply to this email directly or view it on GitHub
#44 (comment).

from raspiarduino.

me-no-dev avatar me-no-dev commented on August 19, 2024

Using this project in it's current state is just like writing a C++ app for any linux distro + access to the BCM peripheral hardware. If you export your libraries from the Pi, you can link to any lib and use it in your code (libusb for example or the libs for interfacing with the camera module). You can also load kernel modules and use them as well.
And I am interested in trying to offer both. Will see what I can do.

from raspiarduino.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.