Skip to main content
pmppires
Associate II
March 28, 2019
Question

Help FATFS

  • March 28, 2019
  • 5 replies
  • 1211 views

So i need to use a filesystem to use the qspi flash on my stm32f769 disc board and once i have all the code ready, all i get are "defined but not used" and "previously defined" errors

How can i suppress these?

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
March 28, 2019

Perhaps look more carefully at the errors it is reporting, and in which files definitions were coming from.

Start from the first error, other may result from earlier failure, and one issue may cause multiple errors.

Perhaps you work with a more experienced dev, ask them to assist.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
pmppires
pmppiresAuthor
Associate II
March 29, 2019

thanks for the reply

We're all pretty new when it comes to touchgfx and fatfs but i'm looking into it, if i have any breakthrough i'll keep in touch

Martin KJELDSEN
Principal III
March 28, 2019

Hi @pmppires​,

Why would you need FatFS to use QSPI? Or maybe i'm misunderstanding. Doesn't sound like errors you'd want to suppress - Can you show us a build log?

/Martin

pmppires
pmppiresAuthor
Associate II
March 29, 2019

Hi, thanks for the reply!

I need to make my application download a file of the web (json in this case) and then open it so i thought maybe a file system would be best, that way i dont need to download the file if i dont have to.

i'm sorry but i dont know where i can find a build log

AvaTar
Senior III
March 29, 2019

> ...and once i have all the code ready, all i get are "defined but not used" and "previously defined" errors

"Defined but not used" is only a warning, unless you make all warning to errors.

The easiest way would be supress this warning. It is just functions the (source) library contains, and that you do not call. IMHO nothing wrong with it, a decent linker will keep unused code out of the exectuable.

If "previously defined" refers ti an actual error, you might have mixed up versions of library files, or used incorrect parameters for your calls.