windows and visual studio fixes and updates

pull/137/head
Benjamin Runnels 9 years ago
parent fd296e37d7
commit 154c64a454
  1. 3
      esp-link.vcxproj
  2. 17
      include/c_types.h
  3. 3
      include/espmissingincludes.h

@ -72,6 +72,7 @@
<ClInclude Include="httpd\base64.h" /> <ClInclude Include="httpd\base64.h" />
<ClInclude Include="httpd\httpd.h" /> <ClInclude Include="httpd\httpd.h" />
<ClInclude Include="httpd\httpdespfs.h" /> <ClInclude Include="httpd\httpdespfs.h" />
<ClInclude Include="include\c_types.h" />
<ClInclude Include="include\esp8266.h" /> <ClInclude Include="include\esp8266.h" />
<ClInclude Include="include\espmissingincludes.h" /> <ClInclude Include="include\espmissingincludes.h" />
<ClInclude Include="include\uart_hw.h" /> <ClInclude Include="include\uart_hw.h" />
@ -140,7 +141,7 @@
<PropertyGroup> <PropertyGroup>
<NMakeOutput /> <NMakeOutput />
<NMakePreprocessorDefinitions>__ets__;_STDINT_H;ICACHE_FLASH;__MINGW32__;__WIN32__;MQTT;REST;SYSLOG;FIRMWARE_SIZE</NMakePreprocessorDefinitions> <NMakePreprocessorDefinitions>__ets__;_STDINT_H;ICACHE_FLASH;__MINGW32__;__WIN32__;MQTT;REST;SYSLOG;FIRMWARE_SIZE</NMakePreprocessorDefinitions>
<NMakeIncludeSearchPath>.\syslog;.\rest;.\esp-link;.\mqtt;.\cmd;.\serial;.\user;.\espfs;.\httpd;.\include;..\esp_iot_sdk_v1.5.0\include;..\xtensa-lx106-elf\xtensa-lx106-elf\include;c:\tools\mingw64\x86_64-w64-mingw32\include;c:\tools\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.3\include</NMakeIncludeSearchPath> <NMakeIncludeSearchPath>.\syslog;.\rest;.\esp-link;.\mqtt;.\cmd;.\serial;.\user;.\espfs;.\httpd;.\include;..\esp_iot_sdk_v1.5.2\include;..\xtensa-lx106-elf\xtensa-lx106-elf\include;c:\tools\mingw64\x86_64-w64-mingw32\include;c:\tools\mingw64\lib\gcc\x86_64-w64-mingw32\4.8.3\include</NMakeIncludeSearchPath>
<ExecutablePath /> <ExecutablePath />
<ReferencePath /> <ReferencePath />
<LibraryPath /> <LibraryPath />

@ -12,20 +12,19 @@
#ifndef _C_TYPES_H_ #ifndef _C_TYPES_H_
#define _C_TYPES_H_ #define _C_TYPES_H_
#include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
//typedef unsigned char uint8_t; typedef unsigned char uint8_t;
typedef signed char sint8_t; typedef signed char sint8_t;
//typedef signed char int8_t; typedef signed char int8_t;
//typedef unsigned short uint16_t; typedef unsigned short uint16_t;
typedef signed short sint16_t; typedef signed short sint16_t;
//typedef signed short int16_t; typedef signed short int16_t;
//typedef unsigned long uint32_t; typedef unsigned int uint32_t;
typedef signed long sint32_t; typedef signed int sint32_t;
//typedef signed long int32_t; typedef signed int int32_t;
typedef signed long long sint64_t; typedef signed long long sint64_t;
//typedef unsigned long long uint64_t; typedef unsigned long long uint64_t;
typedef unsigned long long u_int64_t; typedef unsigned long long u_int64_t;
typedef float real32_t; typedef float real32_t;
typedef double real64_t; typedef double real64_t;

@ -3,9 +3,6 @@
#include <user_interface.h> #include <user_interface.h>
#include <eagle_soc.h> #include <eagle_soc.h>
#include <stdint.h>
#include <c_types.h>
#include <ets_sys.h>
#include <stdarg.h> #include <stdarg.h>
//Missing function prototypes in include folders. Gcc will warn on these if we don't define 'em anywhere. //Missing function prototypes in include folders. Gcc will warn on these if we don't define 'em anywhere.

Loading…
Cancel
Save