Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
逆着光、寻觅
rt-thread
提交
b588d819
R
rt-thread
项目概览
逆着光、寻觅
/
rt-thread
与 Fork 源项目一致
Fork自
RT-Thread / rt-thread
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
rt-thread
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b588d819
编写于
4月 12, 2017
作者:
L
lizhen9880
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
cleanup some files
上级
1da83c5c
变更
9
展开全部
显示空白变更内容
内联
并排
Showing
9 changed file
with
0 addition
and
4983 deletion
+0
-4983
bsp/stm32f429-apollo/DebugConfig/SDRAM_STM32F429IGTx.dbgconf
bsp/stm32f429-apollo/DebugConfig/SDRAM_STM32F429IGTx.dbgconf
+0
-41
bsp/stm32f429-apollo/DebugConfig/rt-thread_stm32f4xx_STM32F411RETx.dbgconf
...llo/DebugConfig/rt-thread_stm32f4xx_STM32F411RETx.dbgconf
+0
-33
bsp/stm32f429-apollo/JLinkSettings.ini
bsp/stm32f429-apollo/JLinkSettings.ini
+0
-36
bsp/stm32f429-apollo/keilkilll.bat
bsp/stm32f429-apollo/keilkilll.bat
+0
-27
bsp/stm32f429-apollo/nftl/SConscript
bsp/stm32f429-apollo/nftl/SConscript
+0
-10
bsp/stm32f429-apollo/nftl/nftl.h
bsp/stm32f429-apollo/nftl/nftl.h
+0
-95
bsp/stm32f429-apollo/project.uvgui.james
bsp/stm32f429-apollo/project.uvgui.james
+0
-1423
bsp/stm32f429-apollo/project.uvopt
bsp/stm32f429-apollo/project.uvopt
+0
-2121
bsp/stm32f429-apollo/project.uvproj
bsp/stm32f429-apollo/project.uvproj
+0
-1197
未找到文件。
bsp/stm32f429-apollo/DebugConfig/SDRAM_STM32F429IGTx.dbgconf
已删除
100644 → 0
浏览文件 @
1da83c5c
// <<< Use Configuration Wizard in Context Menu >>>
// <h>Debug MCU Configuration
// <o.0> DBG_SLEEP <i> Debug Sleep Mode
// <o.1> DBG_STOP <i> Debug Stop Mode
// <o.2> DBG_STANDBY <i> Debug Standby Mode
// </h>
DbgMCU_CR = 0x00000007;
// <h> Debug MCU APB1 Freeze
// <o.0> DBG_TIM2_STOP <i> Timer 2 Stopped when Core is halted
// <o.1> DBG_TIM3_STOP <i> Timer 3 Stopped when Core is halted
// <o.2> DBG_TIM4_STOP <i> Timer 4 Stopped when Core is halted
// <o.3> DBG_TIM5_STOP <i> Timer 5 Stopped when Core is halted
// <o.4> DBG_TIM6_STOP <i> Timer 6 Stopped when Core is halted
// <o.5> DBG_TIM7_STOP <i> Timer 7 Stopped when Core is halted
// <o.6> DBG_TIM12_STOP <i> Timer 12 Stopped when Core is halted
// <o.7> DBG_TIM13_STOP <i> Timer 13 Stopped when Core is halted
// <o.8> DBG_TIM14_STOP <i> Timer 14 Stopped when Core is halted
// <o.10> DBG_RTC_STOP <i> RTC Stopped when Core is halted
// <o.11> DBG_WWDG_STOP <i> Window Watchdog Stopped when Core is halted
// <o.12> DBG_IWDG_STOP <i> Independent Watchdog Stopped when Core is halted
// <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS Timeout Mode Stopped when Core is halted
// <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS Timeout Mode Stopped when Core is halted
// <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS Timeout Mode Stopped when Core is halted
// <o.25> DBG_CAN1_STOP <i> CAN1 Stopped when Core is halted
// <o.26> DBG_CAN2_STOP <i> CAN2 Stopped when Core is halted
// </h>
DbgMCU_APB1_Fz = 0x00000000;
// <h> Debug MCU APB2 Freeze
// <o.0> DBG_TIM1_STOP <i> Timer 1 Stopped when Core is halted
// <o.1> DBG_TIM8_STOP <i> Timer 8 Stopped when Core is halted
// <o.16> DBG_TIM9_STOP <i> Timer 9 Stopped when Core is halted
// <o.17> DBG_TIM10_STOP <i> Timer 10 Stopped when Core is halted
// <o.18> DBG_TIM11_STOP <i> Timer 11 Stopped when Core is halted
// </h>
DbgMCU_APB2_Fz = 0x00000000;
// <<< end of configuration section >>>
\ No newline at end of file
bsp/stm32f429-apollo/DebugConfig/rt-thread_stm32f4xx_STM32F411RETx.dbgconf
已删除
100644 → 0
浏览文件 @
1da83c5c
// <<< Use Configuration Wizard in Context Menu >>>
// <h>Debug MCU Configuration
// <o.0> DBG_SLEEP <i> Debug Sleep Mode
// <o.1> DBG_STOP <i> Debug Stop Mode
// <o.2> DBG_STANDBY <i> Debug Standby Mode
// </h>
DbgMCU_CR = 0x00000007;
// <h> Debug MCU APB1 Freeze
// <o.0> DBG_TIM2_STOP <i> Timer 2 Stopped when Core is halted
// <o.1> DBG_TIM3_STOP <i> Timer 3 Stopped when Core is halted
// <o.2> DBG_TIM4_STOP <i> Timer 4 Stopped when Core is halted
// <o.3> DBG_TIM5_STOP <i> Timer 5 Stopped when Core is halted
// <o.10> DBG_RTC_STOP <i> RTC Stopped when Core is halted
// <o.11> DBG_WWDG_STOP <i> Window Watchdog Stopped when Core is halted
// <o.12> DBG_IWDG_STOP <i> Independent Watchdog Stopped when Core is halted
// <o.21> DBG_I2C1_SMBUS_TIMEOUT <i> I2C1 SMBUS Timeout Mode Stopped when Core is halted
// <o.22> DBG_I2C2_SMBUS_TIMEOUT <i> I2C2 SMBUS Timeout Mode Stopped when Core is halted
// <o.23> DBG_I2C3_SMBUS_TIMEOUT <i> I2C3 SMBUS Timeout Mode Stopped when Core is halted
// </h>
DbgMCU_APB1_Fz = 0x00000000;
// <h> Debug MCU APB2 Freeze
// <o.0> DBG_TIM1_STOP <i> Timer 1 Stopped when Core is halted
// <o.16> DBG_TIM9_STOP <i> Timer 9 Stopped when Core is halted
// <o.17> DBG_TIM10_STOP <i> Timer 10 Stopped when Core is halted
// <o.18> DBG_TIM11_STOP <i> Timer 11 Stopped when Core is halted
// </h>
DbgMCU_APB2_Fz = 0x00000000;
// <<< end of configuration section >>>
\ No newline at end of file
bsp/stm32f429-apollo/JLinkSettings.ini
已删除
100644 → 0
浏览文件 @
1da83c5c
[BREAKPOINTS]
ForceImpTypeAny
=
0
ShowInfoWin
=
1
EnableFlashBP
=
2
BPDuringExecution
=
0
[CFI]
CFISize
=
0x00
CFIAddr
=
0x00
[CPU]
LowPowerHandlingMode
=
0
OverrideMemMap
=
0
AllowSimulation
=
1
ScriptFile
=
""
[FLASH]
CacheExcludeSize
=
0x00
CacheExcludeAddr
=
0x00
MinNumBytesFlashDL
=
0
SkipProgOnCRCMatch
=
1
VerifyDownload
=
1
AllowCaching
=
1
EnableFlashDL
=
2
Override
=
0
Device
=
"ARM7"
[GENERAL]
WorkRAMSize
=
0x00
WorkRAMAddr
=
0x00
RAMUsageLimit
=
0x00
[SWO]
SWOLogFile
=
""
[MEM]
RdOverrideOrMask
=
0x00
RdOverrideAndMask
=
0xFFFFFFFF
RdOverrideAddr
=
0xFFFFFFFF
WrOverrideOrMask
=
0x00
WrOverrideAndMask
=
0xFFFFFFFF
WrOverrideAddr
=
0xFFFFFFFF
bsp/stm32f429-apollo/keilkilll.bat
已删除
100644 → 0
浏览文件 @
1da83c5c
del
*
.bak
/s
del
*
.ddk
/s
del
*
.edk
/s
del
*
.lst
/s
del
*
.lnp
/s
del
*
.mpf
/s
del
*
.mpj
/s
del
*
.obj
/s
del
*
.omf
/s
::del *.opt /s ::²»ÔÊÐíɾ³ýJLINKµÄÉèÖÃ
del
*
.plg
/s
del
*
.rpt
/s
del
*
.tmp
/s
del
*
.__i
/s
del
*
.crf
/s
del
*
.o
/s
del
*
.d
/s
del
*
.axf
/s
del
*
.tra
/s
del
*
.dep
/s
del
JLinkLog
.txt
/s
del
*
.iex
/s
del
*
.htm
/s
del
*
.sct
/s
del
*
.map
/s
exit
bsp/stm32f429-apollo/nftl/SConscript
已删除
100644 → 0
浏览文件 @
1da83c5c
from
building
import
*
Import
(
'rtconfig'
)
cwd
=
GetCurrentDir
()
src
=
Glob
(
'*.c'
)
CPPPATH
=
[
cwd
]
group
=
DefineGroup
(
'nftl'
,
src
,
depend
=
[
'RT_USING_NFTL'
,
'RT_USING_MTD_NAND'
,
'RT_USING_DFS'
,
'RT_USING_DFS_ELMFAT'
],
CPPPATH
=
CPPPATH
)
Return
(
'group'
)
bsp/stm32f429-apollo/nftl/nftl.h
已删除
100644 → 0
浏览文件 @
1da83c5c
/*
* File : nftl.h
* COPYRIGHT (C) 2012-2014, Shanghai Real-Thread Electronic Technology Co.,Ltd
*
* Change Logs:
* Date Author Notes
* 2012-03-01 Bernard the first version
* 2012-11-01 Bernard Add page mapping
* 2012-12-28 Bernard Use log trace for NFTL log.
* 2013-01-06 Bernard Fix oob issue when do a software page copy.
* 2013-02-15 Bernard Reduce memory usage
* 2013-06-10 Bernard Enable backup mapping block
* 2013-09-18 Bernard Fix the quick search issue in mapping table initialization.
* 2013-11-11 RealThread 1.0.13 version which supports none-os environment.
* 2013-12-25 RealThread 1.0.14 version which optimizes for memory/stack usage.
* 2014-01-20 RealThread 1.0.15 version which optimizes for the scan speed in boot.
* 2015-01-05 RealThread 1.0.16 version which addes NFTL manargement block protect with MPU.
* 2015-02-12 RealThread 1.0.17 version which fix the mapping block wear_leveling issue.
*/
#ifndef __NAND_FTL_H__
#define __NAND_FTL_H__
#include <rtthread.h>
#include <rtdevice.h>
/* NFTL version information */
#define NFTL_VERSION 1L
/* major version number */
#define NFTL_SUBVERSION 0L
/* minor version number */
#define NFTL_REVISION 17L
/* revise version number */
/* NFTL options */
#define NFTL_BLOCKS_MAX 512
/* only 512 block for evaluation */
#define NFTL_PAGE_MAX 2048
#define NFTL_OOB_MAX 64
#define NFTL_PAGE_IN_BLOCK_MAX 64
#define NFTL_ERASE_BLANCE 10
#define NFTL_PLANE_MAX 4
#define NFTL_PM_CACHE_MAX 4
#define NFTL_BLOCKS_RECENT_MAX 32
#define NFTL_BACKUP_MAPPING_BLOCKS 4
/* using backup register to save the block number of mapping table. */
// #define NFTL_USING_BACKUP_MAPPING_BLOCK
// #define NFTL_USING_COMPATIBLE
/* using static memory for NFTl layer */
// #define NFTL_USING_STATIC
/* whether using MPU to protect NFTL core data */
// #define NFTL_USING_MPU
#define NFTL_MALLOC(sz) RT_KERNEL_MALLOC(sz)
#define NFTL_FREE(ptr) RT_KERNEL_FREE(ptr)
/* NFTL API for RT-Thread */
rt_err_t
nftl_attach
(
const
char
*
mtd_device
);
/* NFTL API for diskio */
rt_err_t
nftl_read_page
(
struct
rt_mtd_nand_device
*
device
,
rt_uint16_t
block_offset
,
rt_uint16_t
page_offset
,
rt_uint8_t
*
buffer
);
rt_err_t
nftl_write_page
(
struct
rt_mtd_nand_device
*
device
,
rt_uint16_t
block_offset
,
rt_uint16_t
page_offset
,
const
rt_uint8_t
*
buffer
);
rt_err_t
nftl_read_multi_page
(
struct
rt_mtd_nand_device
*
device
,
rt_uint16_t
block_offset
,
rt_uint16_t
page_offset
,
rt_uint8_t
*
buffer
,
rt_size_t
count
);
rt_err_t
nftl_write_multi_page
(
struct
rt_mtd_nand_device
*
device
,
rt_uint16_t
block_offset
,
rt_uint16_t
page_offset
,
const
rt_uint8_t
*
buffer
,
rt_size_t
count
);
rt_err_t
nftl_erase_pages
(
struct
rt_mtd_nand_device
*
device
,
rt_uint32_t
page_begin
,
rt_uint32_t
page_end
);
rt_err_t
nftl_mapping_flush
(
struct
rt_mtd_nand_device
*
device
,
rt_bool_t
protect
);
rt_err_t
nftl_layer_init
(
struct
rt_mtd_nand_device
*
device
);
/* NFTL API for None-OS */
rt_err_t
nftl_layer_attach_nand
(
struct
rt_mtd_nand_device
*
device
);
/* software ECC API */
int
nftl_ecc_verify256
(
rt_uint8_t
*
data
,
rt_uint32_t
size
,
const
rt_uint8_t
*
code
);
void
nftl_ecc_compute256
(
const
rt_uint8_t
*
data
,
rt_uint32_t
size
,
rt_uint8_t
*
code
);
#endif
bsp/stm32f429-apollo/project.uvgui.james
已删除
100644 → 0
浏览文件 @
1da83c5c
此差异已折叠。
点击以展开。
bsp/stm32f429-apollo/project.uvopt
已删除
100644 → 0
浏览文件 @
1da83c5c
此差异已折叠。
点击以展开。
bsp/stm32f429-apollo/project.uvproj
已删除
100644 → 0
浏览文件 @
1da83c5c
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录