mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Reorg skeleton
This commit is contained in:
1 parent
4027bcf7ea
commit
d46e505a80
37 files changed
+1811
No files matched your search
@@ -0,0 +1,21 @@
|
||||
// Copyright (c) 2024 Cesanta Software Limited
|
||||
// All rights reserved
|
||||
|
||||
#pragma once
|
||||
|
||||
#define LED1 0
|
||||
#define LED2 1
|
||||
#define UART_DEBUG NULL
|
||||
|
||||
// No-op HAL API implementation for a device with GPIO and UART
|
||||
#define hal_init()
|
||||
#define hal_ram_free() 0
|
||||
#define hal_ram_used() 0
|
||||
#define gpio_output(pin)
|
||||
#define gpio_toggle(pin)
|
||||
#define gpio_read(pin) 0
|
||||
#define gpio_write(pin, val)
|
||||
#define uart_init(uart, baud)
|
||||
#define uart_read_ready(uart) 0
|
||||
#define uart_write_byte(uart, ch)
|
||||
#define uart_write_buf(uart, buf, len)
|
||||
Reference in new issue
Block a user