/* * This file is part of Espruino, a JavaScript interpreter for Microcontrollers * * Copyright (C) 2015 Gordon Williams * * 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_ */