mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-05-16 19:57:52 +08:00
🐞 fix: fix d1s smart build (#8212)
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#define DRV_SDMMC_H__
|
||||
|
||||
#include <rtdef.h>
|
||||
#include <rtdevice.h>
|
||||
|
||||
#define SDMMC_CARD_NR 2
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <string.h>
|
||||
#include <blkpart.h>
|
||||
#include <rtthread.h>
|
||||
#include <rtdevice.h>
|
||||
#define MIN(a, b) ((a) > (b) ? (b) : (a))
|
||||
#define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a))
|
||||
#define __ALIGN_KERNEL(x, a) __ALIGN_KERNEL_MASK(x, (typeof(x))(a) - 1)
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#define CTX_REG_NR (CTX_GENERAL_REG_NR + CTX_FPU_REG_NR)
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
#include <rtthread.h>
|
||||
#include <rtdef.h>
|
||||
|
||||
rt_inline void rt_hw_dsb()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user