mirror of
https://github.com/micropython/micropython.git
synced 2025-08-19 17:10:36 +02:00
qemu-arm: Clean up header file includes.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -24,18 +24,13 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
|
||||
#include "py/obj.h"
|
||||
#include "py/compile.h"
|
||||
#include "py/runtime.h"
|
||||
#include "py/stackctrl.h"
|
||||
#include "py/gc.h"
|
||||
#include "py/repl.h"
|
||||
#include "py/mperrno.h"
|
||||
|
||||
void do_str(const char *src, mp_parse_input_kind_t input_kind) {
|
||||
|
@@ -24,7 +24,6 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include "uart.h"
|
||||
|
||||
#define mp_hal_stdin_rx_chr() (0)
|
||||
|
@@ -24,12 +24,8 @@
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <setjmp.h>
|
||||
|
||||
#include "py/compile.h"
|
||||
#include "py/runtime.h"
|
||||
|
@@ -23,6 +23,12 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
#ifndef MICROPY_INCLUDED_QEMU_ARM_UART_H
|
||||
#define MICROPY_INCLUDED_QEMU_ARM_UART_H
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
void uart_init(void);
|
||||
void uart_tx_strn(const char *buf, size_t len);
|
||||
|
||||
#endif // MICROPY_INCLUDED_QEMU_ARM_UART_H
|
||||
|
Reference in New Issue
Block a user