Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

classic Classic list List threaded Threaded
6 messages Options
Tim Sharples Tim Sharples
Reply | Threaded
Open this post in threaded view
|

Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

Hi! I'm very much enjoying eLua v0.7.

Building v0.7 for EK-LM3S8962 with MMCFS enabled does not seem to build in MMCFS.

The problem appears to be that v0.7/src/platform/lm3s/platform_conf.h refers to SDC_SPI_NUM at line 191 which switches off BUILD_MMCFS. I guess it should be changed to refer to MMCFS_SPI_NUM (it works for me anyway).

All LM3S boards with SD will be similarly affected. One to fix on a rainy day?

Regards,
Tim
Dado Sutter Dado Sutter
Reply | Threaded
Open this post in threaded view
|

Re: [eLua-dev] Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

Thank you very much Tim,
   We'll take a look asap (no, it is not raining today here :)

Best
Dado





On Wed, Jan 27, 2010 at 18:38, Tim Sharples <[hidden email]> wrote:

Hi! I'm very much enjoying eLua v0.7.

Building v0.7 for EK-LM3S8962 with MMCFS enabled does not seem to build in
MMCFS.

The problem appears to be that v0.7/src/platform/lm3s/platform_conf.h refers
to SDC_SPI_NUM at line 191 which switches off BUILD_MMCFS. I guess it should
be changed to refer to MMCFS_SPI_NUM (it works for me anyway).

All LM3S boards with SD will be similarly affected. One to fix on a rainy
day?

Regards,

-----
Tim
--
View this message in context: http://n2.nabble.com/Building-v0-7-with-MMCFS-for-EK-LM3S8962-SDC-SPI-NUM-undefined-tp4469565p4469565.html
Sent from the eLua Development mailing list archive at Nabble.com.
_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev


_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
James Snyder James Snyder
Reply | Threaded
Open this post in threaded view
|

Re: [eLua-dev] Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

In reply to this post by Tim Sharples
Yep, that's a mistake, and the correction you suggest will work.

I'll check in a fix to trunk shortly.

-jsnyder

On Jan 27, 2010, at 2:38 PM, Tim Sharples wrote:

>
> Hi! I'm very much enjoying eLua v0.7.
>
> Building v0.7 for EK-LM3S8962 with MMCFS enabled does not seem to build in
> MMCFS.
>
> The problem appears to be that v0.7/src/platform/lm3s/platform_conf.h refers
> to SDC_SPI_NUM at line 191 which switches off BUILD_MMCFS. I guess it should
> be changed to refer to MMCFS_SPI_NUM (it works for me anyway).
>
> All LM3S boards with SD will be similarly affected. One to fix on a rainy
> day?
>
> Regards,
>
> -----
> Tim
> --
> View this message in context: http://n2.nabble.com/Building-v0-7-with-MMCFS-for-EK-LM3S8962-SDC-SPI-NUM-undefined-tp4469565p4469565.html
> Sent from the eLua Development mailing list archive at Nabble.com.
> _______________________________________________
> Elua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev

_______________________________________________
Elua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
Tim Sharples Tim Sharples
Reply | Threaded
Open this post in threaded view
|

Re: [eLua-dev] Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

James Snyder wrote
I'll check in a fix to trunk shortly.

-jsnyder
Thanks James,

Now I'm going to scratch my head a bit and see if I can update files in /mmc/ using only the Lua command line (and ultimately edit files on my SD card while it is still in place in the EK-LM3S8962, but that's another story).
Tim
BogdanM BogdanM
Reply | Threaded
Open this post in threaded view
|

Re: Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)


Thanks James,

Now I'm going to scratch my head a bit and see if I can update files in
/mmc/ using only the Lua command line (and ultimately edit files on my SD
card while it is still in place in the EK-LM3S8962, but that's another
story).

You can't do this right now. And I don't think you'll be able to edit the files on your SD card while plugged in an eLua board anytime soon, but with the introduction with RFS all we need is a shell 'copy' command. Then the flow becomes quite easy:

1. edit the files on your PC with your favourite editor
2. use the RFS on the eLua board to access them
3. when you're done, use the yet-to-be-written eLua "copy" command to copy RFS to SD.

I think this is a very practical use scenario. Even more practical IMO than being able to edit files on the SD card from your eLua board. Definitely much easier to implement :)

Best,
Bogdan


_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev
jbsnyder jbsnyder
Reply | Threaded
Open this post in threaded view
|

Re: Building v0.7 with MMCFS for EK-LM3S8962 (SDC_SPI_NUM undefined)

I believe he was meaning using just eLua to modify files on the SD
card, which should work just fine.

What we don't currently provide a recommended path for is remotely
editing files on the mmcfs filesystem.

You could probably edit files on mmcfs remotely over luarpc, though
I've not tried this.

On Tue, Feb 2, 2010 at 7:16 AM, Bogdan Marinescu
<[hidden email]> wrote:

>
>> Thanks James,
>>
>> Now I'm going to scratch my head a bit and see if I can update files in
>> /mmc/ using only the Lua command line (and ultimately edit files on my SD
>> card while it is still in place in the EK-LM3S8962, but that's another
>> story).
>
> You can't do this right now. And I don't think you'll be able to edit the
> files on your SD card while plugged in an eLua board anytime soon, but with
> the introduction with RFS all we need is a shell 'copy' command. Then the
> flow becomes quite easy:
>
> 1. edit the files on your PC with your favourite editor
> 2. use the RFS on the eLua board to access them
> 3. when you're done, use the yet-to-be-written eLua "copy" command to copy
> RFS to SD.
>
> I think this is a very practical use scenario. Even more practical IMO than
> being able to edit files on the SD card from your eLua board. Definitely
> much easier to implement :)
>
> Best,
> Bogdan
>
>
> _______________________________________________
> eLua-dev mailing list
> [hidden email]
> https://lists.berlios.de/mailman/listinfo/elua-dev
>
>



--
James Snyder
Biomedical Engineering
Northwestern University
[hidden email]
PGP: http://fanplastic.org/key.txt
Phone: (847) 448-0386
_______________________________________________
eLua-dev mailing list
[hidden email]
https://lists.berlios.de/mailman/listinfo/elua-dev