Jump to content
43oh

mamurtaza

Members
  • Content Count

    6
  • Joined

  • Last visited

Reputation Activity

  1. Like
    mamurtaza reacted to roadrunner84 in Storing ADC data on FatFS SD Card   
    You only need sprintf if you want to use printf's formatting options. You could instead not do this and store data in raw 16 bit binary format. A compromise could be to use an integer to ascii function like itoa(), which is much faster than sprintf.
  2. Like
    mamurtaza reacted to pabigot in Trouble in compiling ELM Chan FatFs   
    The name of the type provided by <stdbool.h> is bool (lower case). Its constants true and false are also lower-case.
     
    You're apparently using PetitFS rather than FatFS; older versions of that had this in a header integer.h:
     

    /* Boolean type */ typedef enum { FALSE = 0, TRUE } BOOL; That sort of thing was mostly removed from FatFS releases around 0.9, and PetiteFS around 0.02a. My archival repository at https://github.com/pabigot/FatFs/tree/ff/master would be one way to see the changes per version.
  3. Like
    mamurtaza reacted to pabigot in Trouble in compiling ELM Chan FatFs   
    The msp430 MCU headers that have USB support define DIR as a preprocessor symbol containing the value for the USB Data Response Bit. A solution is to include ff.h before anything includes msp430.h, or to not include both in the same file at all.
×
×
  • Create New...