sachinkp21587
Member level 2
- Joined
- Mar 15, 2010
- Messages
- 51
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 1,288
- Location
- india (U.P.)
- Activity points
- 1,703
Hello all!! i am trying to port fatfs to microchip project USB HOST-MASS STORAGE-SIMPLE DEMO for PIC32MX795F512L using MPLABX XC32
right now i am just including fatfs file in the already made project.
I am having a problem that different header files are being attached to main.c and diskio.c
1. i have included the diskio.h file in main by writing #include "diskio.h"
2. have included the diskio.h file in diskio.c file by writing #include "diskio.h"
3. have also added diskio.c and diskio.h file in project window
now when i am opening diskio.c file and click on ctoheader button it opens a different diskio.h which is different from diskio.h that opens by clicking alt and left click on the #include "diskio.h" in MPLABX
all fatfs header files and c files are lying in my outside my mplab.x
i am attaching my project. i am new to this forum posting and mplab x too. sorry for any rule breaking or else.
any help is deeply appretiated
right now i am just including fatfs file in the already made project.
I am having a problem that different header files are being attached to main.c and diskio.c
1. i have included the diskio.h file in main by writing #include "diskio.h"
2. have included the diskio.h file in diskio.c file by writing #include "diskio.h"
3. have also added diskio.c and diskio.h file in project window
now when i am opening diskio.c file and click on ctoheader button it opens a different diskio.h which is different from diskio.h that opens by clicking alt and left click on the #include "diskio.h" in MPLABX
all fatfs header files and c files are lying in my outside my mplab.x
i am attaching my project. i am new to this forum posting and mplab x too. sorry for any rule breaking or else.
any help is deeply appretiated