修改部分线程内存位置
This commit is contained in:
1 parent
4647022f6f
commit
72bbf093b2
8 files changed
+71
-25
No files matched your search
@@ -16,6 +16,11 @@ struct rt_memheap sram_DTCMRAM,sram_AXIRAM,sram_SRAM1,sram_SRAM2;
|
||||
|
||||
rt_weak void rt_hw_board_init()
|
||||
{
|
||||
/* 允许未对齐访问(Cortex-M3/M4/M7 支持) */
|
||||
//SCB->CCR |= SCB_CCR_UNALIGN_TRP_Msk; // ← 默认是 1(禁止)
|
||||
// 要允许,应该 CLEAR 这个位!
|
||||
//SCB->CCR &= ~SCB_CCR_UNALIGN_TRP_Msk;
|
||||
|
||||
extern void hw_board_init(char *clock_src, int32_t clock_src_freq, int32_t clock_target_freq);
|
||||
|
||||
/* Heap initialization */
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef SDIO_MAX_FREQ
|
||||
#define SDIO_MAX_FREQ (25 * 1000 * 1000)
|
||||
#define SDIO_MAX_FREQ (50 * 1000 * 1000)
|
||||
#endif
|
||||
|
||||
#define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d))
|
||||
|
||||
Reference in new issue
Block a user