Rename the sdk_prototypes header to sdk_private

This commit is contained in:
Angus Gratton 2015-06-02 15:20:19 +10:00
parent 1292829a07
commit 70cec6c3b7
6 changed files with 18 additions and 18 deletions

View file

@ -5,6 +5,7 @@
* This sample code is in the public domain., * This sample code is in the public domain.,
*/ */
#include "espressif/esp_common.h" #include "espressif/esp_common.h"
#include "espressif/sdk_private.h"
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"
@ -15,8 +16,6 @@
#include "lwip/netdb.h" #include "lwip/netdb.h"
#include "lwip/dns.h" #include "lwip/dns.h"
#include "espressif/sdk_prototypes.h"
#define WEB_SERVER "chainxor.org" #define WEB_SERVER "chainxor.org"
#define WEB_PORT 80 #define WEB_PORT 80
#define WEB_URL "http://chainxor.org/" #define WEB_URL "http://chainxor.org/"

View file

@ -7,6 +7,7 @@
* This sample code is in the public domain., * This sample code is in the public domain.,
*/ */
#include "espressif/esp_common.h" #include "espressif/esp_common.h"
#include "espressif/sdk_private.h"
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"
@ -19,7 +20,6 @@
#include "ssl.h" #include "ssl.h"
#include "espressif/sdk_prototypes.h"
#define WEB_SERVER "10.10.10.1" #define WEB_SERVER "10.10.10.1"
#define WEB_PORT "8000" #define WEB_PORT "8000"

View file

@ -1,9 +1,9 @@
/* Very basic example that just demonstrates we can run at all! /* Very basic example that just demonstrates we can run at all!
*/ */
#include "esp_common.h" #include "espressif/esp_common.h"
#include "espressif/sdk_private.h"
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "task.h" #include "task.h"
#include "espressif/blob_prototypes.h"
#include "queue.h" #include "queue.h"
void task1(void *pvParameters) void task1(void *pvParameters)

View file

@ -8,9 +8,9 @@
* This sample code is in the public domain., * This sample code is in the public domain.,
*/ */
#include "espressif/esp_common.h" #include "espressif/esp_common.h"
#include "espressif/sdk_private.h"
#include "FreeRTOS.h" #include "FreeRTOS.h"
#include "ssl.h" #include "ssl.h"
#include "espressif/sdk_prototypes.h"
struct test_vector { struct test_vector {
const uint8_t *key; const uint8_t *key;

View file

@ -1,14 +1,18 @@
/* sdk_prototypes.h /* sdk_private.h
This source file contains function prototypes for functions defined This source file contains function prototypes for "private" but
in the remaining "binary blob" ESP IoT RTOS SDK libraries. Sorted useful functions defined in the "binary blob" ESP IoT RTOS SDK libraries.
by which library they appear in.
Function names here have the 'sdk_' prefix that is put on all binary library functions For the "public" API, check the esp_common header file and the various
by the Open RTOS SDK. sub-headers it includes.
Function names here have the 'sdk_' prefix that is attached to all
binary library symbols by the esp-open-rtos build process.
This file is a part of esp-open-rtos.
*/ */
#ifndef SDK_PROTOTYPES_H #ifndef SDK_PRIVATE_H
#define SDK_PROTOTYPES_H #define SDK_PRIVATE_H
#include <stdint.h> #include <stdint.h>
struct ip_addr; struct ip_addr;
@ -44,7 +48,4 @@ void sdk_system_station_got_ip_set(struct ip_addr *ip_addr, struct ip_addr *sn_m
*/ */
void sdk_system_pp_recycle_rx_pkt(void *eb); void sdk_system_pp_recycle_rx_pkt(void *eb);
const char* sdk_system_get_sdk_version(void);
#endif #endif

View file

@ -33,7 +33,7 @@
#define __ARCH_CC_H__ #define __ARCH_CC_H__
/* include ESP SDK prototypes as they're used in some LWIP routines */ /* include ESP SDK prototypes as they're used in some LWIP routines */
#include "espressif/sdk_prototypes.h" #include "espressif/sdk_private.h"
/* ESP8266 SDK Interface /* ESP8266 SDK Interface