mirror of
https://github.com/micropython/micropython.git
synced 2025-07-21 13:01:10 +02:00
zephyr: Update generated header path.
Support disabled LEGACY_GENERATED_INCLUDE_PATH compatibility option. Since Zephyr 3.7 generated include files are namespaced. See also: zephyrproject-rtos/zephyr@bbe5e1e6eb Signed-off-by: David Schneider <schneidav81@gmail.com>
This commit is contained in:
committed by
Damien George
parent
5eb94df09e
commit
16d9e704ae
@@ -32,8 +32,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <zephyr/kernel.h>
|
||||
// Zephyr's generated version header
|
||||
#include <version.h>
|
||||
#include <zephyr/net/net_context.h>
|
||||
#include <zephyr/net/net_pkt.h>
|
||||
#include <zephyr/net/dns_resolve.h>
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <alloca.h>
|
||||
|
||||
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
|
||||
#include "autoconf.h"
|
||||
#include <zephyr/autoconf.h>
|
||||
// Included here to get basic Zephyr environment (macros, etc.)
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/drivers/spi.h>
|
||||
|
@@ -26,7 +26,7 @@
|
||||
#include <alloca.h>
|
||||
|
||||
// Include Zephyr's autoconf.h, which should be made first by Zephyr makefiles
|
||||
#include "autoconf.h"
|
||||
#include <zephyr/autoconf.h>
|
||||
// Included here to get basic Zephyr environment (macros, etc.)
|
||||
#include <zephyr/kernel.h>
|
||||
|
||||
|
@@ -81,3 +81,5 @@ CONFIG_SERIAL=y
|
||||
CONFIG_UART_INTERRUPT_DRIVEN=y
|
||||
CONFIG_UART_LINE_CTRL=y
|
||||
CONFIG_UART_USE_RUNTIME_CONFIGURE=y
|
||||
|
||||
CONFIG_LEGACY_GENERATED_INCLUDE_PATH=n
|
||||
|
@@ -10,3 +10,5 @@ CONFIG_CONSOLE_GETCHAR_BUFSIZE=258
|
||||
CONFIG_CONSOLE_PUTCHAR_BUFSIZE=32
|
||||
|
||||
CONFIG_MICROPY_HEAP_SIZE=16384
|
||||
|
||||
CONFIG_LEGACY_GENERATED_INCLUDE_PATH=n
|
||||
|
Reference in New Issue
Block a user