mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-10-21 07:02:24 +08:00

1. Add libssc.a, simple serial console lib. 2. Add libspiffs.a, SPI file system. 3. Add libwps.a to support WPS. 4. Add libespconn.a, Espressif connection lib. 5. Add libespnow.a to support Espressif ESP-NOW. 6. Add libmesh.a, Espressif mesh. 7. Add libnopoll.a, websocket. 8. Add make_lib.sh in "third_party" folder. 9. Add modem-sleep & light-sleep supported. 10. Update libcirom.a to support float IO. 11. Update gen_misc.sh & gen_misc.bat. 12. Update header files, add comments in doxygen style. 13. Update libsmartconfig.a to version 2.5.2. 14. Update libssl.a. 15. Updates driver (PWM/UART/GPIO/SPI/Hardware timer). 16. Update open source codes of third_party. 17. Modify "ld" files, "dram0 len" should be 0x18000 in RTOS SDK. 18. Remove header files in extra_include, which are already in compile folder. 19. Other APIs sync from non-OS SDK, more details in documentation "20B-ESP8266__RTOS_SDK_API Reference". 20. Other optimization to make the SDK more stable.
68 lines
1.6 KiB
C
68 lines
1.6 KiB
C
/*
|
|
* Nopoll Library nopoll_config.h
|
|
* Platform dependant definitions.
|
|
*
|
|
* This is a generated file. Please modify 'configure.in'
|
|
*/
|
|
|
|
#ifndef __NOPOLL_CONFIG_H__
|
|
#define __NOPOLL_CONFIG_H__
|
|
|
|
/**
|
|
* \addtogroup nopoll_decl_module
|
|
* @{
|
|
*/
|
|
|
|
/**
|
|
* @brief Allows to convert integer value (including constant values)
|
|
* into a pointer representation.
|
|
*
|
|
* Use the oposite function to restore the value from a pointer to a
|
|
* integer: \ref PTR_TO_INT.
|
|
*
|
|
* @param integer The integer value to cast to pointer.
|
|
*
|
|
* @return A \ref noPollPtr reference.
|
|
*/
|
|
#ifndef INT_TO_PTR
|
|
#define INT_TO_PTR(integer) ((noPollPtr) (long) ((int)integer))
|
|
#endif
|
|
|
|
/**
|
|
* @brief Allows to convert a pointer reference (\ref noPollPtr),
|
|
* which stores an integer that was stored using \ref INT_TO_PTR.
|
|
*
|
|
* Use the oposite function to restore the pointer value stored in the
|
|
* integer value.
|
|
*
|
|
* @param ptr The pointer to cast to a integer value.
|
|
*
|
|
* @return A int value.
|
|
*/
|
|
#ifndef PTR_TO_INT
|
|
#define PTR_TO_INT(ptr) ((int) (long) (ptr))
|
|
#endif
|
|
|
|
/**
|
|
* @brief Allows to get current platform configuration. This is used
|
|
* by Nopoll library but could be used by applications built on top of
|
|
* Nopoll to change its configuration based on the platform information.
|
|
*/
|
|
#define NOPOLL_OS_UNIX (0)
|
|
|
|
/**
|
|
* @internal Allows to now if the platform support vasprintf
|
|
* function. Do not use this macro as it is supposed to be for
|
|
* internal use.
|
|
*/
|
|
//#define NOPOLL_HAVE_VASPRINTF (1)
|
|
|
|
/**
|
|
* @brief Indicates that this platform have support for 64bits.
|
|
*/
|
|
//#define NOPOLL_64BIT_PLATFORM (0)
|
|
|
|
/* @} */
|
|
|
|
#endif
|