I created the same files names from my local sources to the IDE and then copied and pasted into each file. I built them again in Particle Dev just before doing this, reported back with “Success!” after build.
I also use the link by @Moors7 to compile locally and it too compiled with no errors or warnings.
Where as the IDE came back with all these errors.
In file included from application.cpp:2:0:
Upload.h:7:1: error: 'uint32_t' does not name a type
uint32_t GetData(uint32_t start, boolean save_it);
^
In file included from application.cpp:5:0:
SST25VF016B.h:29:1: error: 'boolean' does not name a type
boolean sFLASH_Init(void);
^
SST25VF016B.h:30:25: error: variable or field 'sFLASH_EraseSector' declared void
void sFLASH_EraseSector(int32_t SectorAddr);
^
SST25VF016B.h:30:25: error: 'int32_t' was not declared in this scope
SST25VF016B.h:32:49: error: 'int32_t' has not been declared
void sFLASH_WriteBuffer(unsigned char *pBuffer, int32_t WriteAddr, int32_t NumByteToWrite);
^
SST25VF016B.h:32:68: error: 'int32_t' has not been declared
void sFLASH_WriteBuffer(unsigned char *pBuffer, int32_t WriteAddr, int32_t NumByteToWrite);
^
SST25VF016B.h:33:23: error: variable or field 'sFLASH_WriteByte' declared void
void sFLASH_WriteByte(int32_t WriteAddr, unsigned char value);
^
SST25VF016B.h:33:23: error: 'int32_t' was not declared in this scope
SST25VF016B.h:33:42: error: expected primary-expression before 'unsigned'
void sFLASH_WriteByte(int32_t WriteAddr, unsigned char value);
^
SST25VF016B.h:34:48: error: 'int32_t' has not been declared
void sFLASH_ReadBuffer(unsigned char *pBuffer, int32_t ReadAddr, int32_t NumByteToRead);
^
SST25VF016B.h:34:66: error: 'int32_t' has not been declared
void sFLASH_ReadBuffer(unsigned char *pBuffer, int32_t ReadAddr, int32_t NumByteToRead);
^
SST25VF016B.h:36:1: error: 'uint8_t' does not name a type
uint8_t sFLASH_ReadByte( int32_t ReadAddr);
^
SST25VF016B.h:37:1: error: 'int32_t' does not name a type
int32_t sFLASH_ReadID(void);
^
SST25VF016B.h:39:48: error: 'int32_t' has not been declared
void sFLASH_WriteBytes(unsigned char *pBuffer, int32_t WriteAddr, int32_t NumByteToWrite);
^
SST25VF016B.h:39:67: error: 'int32_t' has not been declared
void sFLASH_WriteBytes(unsigned char *pBuffer, int32_t WriteAddr, int32_t NumByteToWrite);
^
SST25VF016B.h:43:1: error: 'boolean' does not name a type
boolean sFLASH_SelfTest(void);
^
In file included from application.cpp:8:0:
MI0283QT-9A.h:15:69: error: 'uint16_t' has not been declared
void LCD_String(char *lcd_string, long unsigned int *font_pointer, uint16_t ux, uint16_t uy, uint8_t char_spacing, uint16_t fcolor, uint16_t bcolor);
^
MI0283QT-9A.h:15:82: error: 'uint16_t' has not been declared
void LCD_String(char *lcd_string, long unsigned int *font_pointer, uint16_t ux, uint16_t uy, uint8_t char_spacing, uint16_t fcolor, uint16_t bcolor);
^
MI0283QT-9A.h:15:95: error: 'uint8_t' has not been declared
void LCD_String(char *lcd_string, long unsigned int *font_pointer, uint16_t ux, uint16_t uy, uint8_t char_spacing, uint16_t fcolor, uint16_t bcolor);
^
MI0283QT-9A.h:15:117: error: 'uint16_t' has not been declared
void LCD_String(char *lcd_string, long unsigned int *font_pointer, uint16_t ux, uint16_t uy, uint8_t char_spacing, uint16_t fcolor, uint16_t bcolor);
^
In file included from application.cpp:8:0:
MI0283QT-9A.h:15:134: error: 'uint16_t' has not been declared
void LCD_String(char *lcd_string, long unsigned int *font_pointer, uint16_t ux, uint16_t uy, uint8_t char_spacing, uint16_t fcolor, uint16_t bcolor);
^
make[1]: *** [../build/target/user/platform-6application.o] Error 1
make: *** [user] Error 2
Ready.