qemu-arm: Clean up header file includes.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2024-06-11 16:31:49 +10:00
parent 9bfb4cec6e
commit d7d77d91be
4 changed files with 6 additions and 10 deletions

View File

@@ -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) {

View File

@@ -24,7 +24,6 @@
* THE SOFTWARE.
*/
#include <stddef.h>
#include "uart.h"
#define mp_hal_stdin_rx_chr() (0)

View File

@@ -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"

View File

@@ -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