mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
25 lines
954 B
C
25 lines
954 B
C
/*
|
|
* This file is part of Espruino, a JavaScript interpreter for Microcontrollers
|
|
*
|
|
* Copyright (C) 2015 Gordon Williams <gw@pur3.co.uk>
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* ----------------------------------------------------------------------------
|
|
* This file is designed to be parsed during the build process
|
|
*
|
|
* Contains ESP8266 board specific function definitions.
|
|
* ----------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef TARGETS_ESP8266_ESP8266_BOARD_UTILS_H_
|
|
#define TARGETS_ESP8266_ESP8266_BOARD_UTILS_H_
|
|
|
|
// Return a string representation of an ESP8266 error.
|
|
const char *esp8266_errorToString(sint8 err);
|
|
void esp8266_board_writeString(uint8 *buffer, size_t length);
|
|
|
|
#endif /* TARGETS_ESP8266_ESP8266_BOARD_UTILS_H_ */
|