Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nerves: Elixir on Embedded Systems

Geovane Fedrecheski
January 30, 2016
340

Nerves: Elixir on Embedded Systems

Geovane Fedrecheski

January 30, 2016
Tweet

Transcript

  1. WITHOUT NERVES: s u d o v i / e

    t c / a p t / s o u r c e s . l i s t # i n s t a l l e r l a n g s t u f f . . . # c l o n e e l i x i r m a k e & & m a k e i n s t a l l ..and then do the coding!
  2. BUT THEN.. repeat the process for each pi? and if

    you want to use another board? (ex Beaglebone Black) what if the "another board" is too slow to develop on?
  3. COMMAND LINE: $ m a k e n e r

    v e s _ r p i _ e l i x i r _ d e f c o n f i g # l o a d c o n f i g u r a t i o n $ m a k e # c o m p i l e l i n u x , l i b s , e t c . $ s o u r c e . / n e r v e s - e n v . s h # s e t u p e n v i r o n m e n t $ m i x n e w a w e s o m e - a p p & & c d a w e s o m e - a p p $ # w r i t e c o d e , t e s t s , e t c . . $ e c h o ' i n c l u d e $ ( N E R V E S _ R O O T ) / s c r i p t s / n e r v e s - e l i x i r . m k ' > M a k e f i l e $ m a k e # w i l l p a c k a g e l i n u x + a p p o n a . f w f i l e $ s u d o f w u p - a - i _ i m a g e s / a w e s o m e - a p p . f w - t c o m p l e t e # b u r n s d c a r d # p u t t h e s d c a r d o n R P i a n d e n j o y !
  4. DRAWBACKS the "Prepare" phase takes time ..actually, solved this -

    but now I'm out of time :) there are some yet unsupported things.. no wifi support firmware upgrade requires manually replacing sd card bakeware
  5. SUMARIZING, NERVES.. make it easy to code & run Elixir

    on embedded devices provide packaging of Elixir apps which facilitates apps distribution
  6. z