🐞 fix: fix d1s smart build (#8212)
This commit is contained in:
parent
27aac584a5
commit
1b6f0e88a3
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue