-
-
Notifications
You must be signed in to change notification settings - Fork 5
SD Card Filesystem driver #41
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
base: main
Are you sure you want to change the base?
Conversation
|
Hi ! I'm trying to compile this branch, but no luck so far, I cloned #ifndef MACROS_H
#define MACROS_H
//#define DEBUG_LOG 1
#define DEBUG_LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
#endifalso commented out //#define _MMCSD
#define _MMCSD0
#define _MMCSD1edit: changed DEBUG_LOG to #define DEBUG_LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)but I'm getting lots of |
Probably need |
|
I think you could copy |
|
yes , I tried including stdint but then it conflicts with #ifndef __AM18X_TYPE_H__
#define __AM18X_TYPE_H__
#define __USE_STDINT_H
#ifdef __USE_STDINT_H
#include <stdint.h>to avoid the conflict and that seems to work but now it can't find RTOS |
|
As far as I can tell FreeRTOS isn't used in this PR, so you can probably just delete that |
Yes just delete freertos header. |
am18x-lib has Can you tidy up this PR so it builds and doesn't include unnecessary code please? There is no rush, I'm not sure when I'll be able to review it. |
|
any progress on this @vananasun ? it would be very useful at this point to have at least ro access to sd card |
Unfortunately not (yet), I've been very busy with life including preparing to move apartments. I kind of lost hope trying to attach a debugger, but ordered a chip to program the flash a few days ago. My idea is to write a pause in the flash boot code of my E2 so I can attach a debugger and then finally continue development. If you are keen and impatient however, I will have you know that this PR has functioning read functionality already! Caveats are:
Hope i didn't get ur hopes down Cheers, |
|
Important:
I wrote a test function in main.c
Sorry for messyness or potentially unnecessary code that might've slipped in. I hope soon we can integrate all these drivers cleanly into main branch once we have a functioning bootloader (#40) that allows for bigger code size and continue developing nice and clean. Proper serial console and error handling interface would reaally be nice to have now