Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better alternative of SD card which can support AP_Filesystem API and lua scripting #16608

Open
JustCurious8 opened this issue Feb 12, 2021 · 4 comments

Comments

@JustCurious8
Copy link
Contributor

Feature request

Is your feature request related to a problem? Please describe.
I found issues with SD card sometimes, while reading any file from SD card, rarely i run into problems where AP_Filesystem API not able to read the file from SD card and get stuck, but after formatting the SD card, it get back to work properly again

Another thing which i don't like that FCs which support SD cards are not much tiny or lightweight for smaller builds, i generally try to build quadcopters under 250grams weight which can also fly in auto and guided modes using GPS so using FCs like Omnibus F4 Nano V6 is more handy but they have onboard serial flash, so cannot read/write files using AP_Filesystem API.

Describe the solution you'd like
Better alternative for SD card for reading/writing files using AP_filesystem api or with lua scripting, i have seen people recommend using serial flash memories for more reliable and faster performance compared to SD cards. So supporting AP_filesystem api for read/write operations and supporting lua scripting from onboard serial flash will be really nice feature.

Platform
[ * ] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

@IamPete1
Copy link
Member

you can include scripts in ROMFS by placing them in a directory scripts of the hwdef folder for the flight controller your building for.

@JustCurious8
Copy link
Contributor Author

JustCurious8 commented Feb 12, 2021

you can include scripts in ROMFS by placing them in a directory scripts of the hwdef folder for the flight controller your building for.

I know about that but I think its just meant for leftover internal flash memory of STM32 MCU after flashing the firmware, isn't it ? I am looking if same can be implemented for winbond or micron external SPI flash which can run both lua scripts and also support AP_filesystem API

@ingeer314
Copy link

Any news regarding this topic?

@andyp1per
Copy link
Collaborator

Manufacturers have started to ship sdcard flash chips - I think that will make this problem go away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants