Skip to content

Commit

Permalink
上传串口DMA接收代码
Browse files Browse the repository at this point in the history
  • Loading branch information
strongercjd committed May 5, 2021
1 parent c7697e7 commit 3524e94
Show file tree
Hide file tree
Showing 34 changed files with 13,222 additions and 0 deletions.
1,352 changes: 1,352 additions & 0 deletions 33-USART-DMA-Receive/EWARM/Project.ewd

Large diffs are not rendered by default.

1,068 changes: 1,068 additions & 0 deletions 33-USART-DMA-Receive/EWARM/Project.ewp

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions 33-USART-DMA-Receive/EWARM/Project.eww
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>

<workspace>
<project>
<path>$WS_DIR$\Project.ewp</path>
</project>
<batchBuild/>
</workspace>


31 changes: 31 additions & 0 deletions 33-USART-DMA-Receive/EWARM/stm32f2xx_flash.icf
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
/*###ICF### Section handled by ICF editor, don't touch! ****/
/*-Editor annotation file-*/
/* IcfEditorFile="$TOOLKIT_DIR$\config\ide\IcfEditor\cortex_v1_0.xml" */
/*-Specials-*/
define symbol __ICFEDIT_intvec_start__ = 0x08000000;
/*-Memory Regions-*/
define symbol __ICFEDIT_region_ROM_start__ = 0x08000000;
define symbol __ICFEDIT_region_ROM_end__ = 0x080FFFFF;
define symbol __ICFEDIT_region_RAM_start__ = 0x20000000;
define symbol __ICFEDIT_region_RAM_end__ = 0x20020000;
/*-Sizes-*/
define symbol __ICFEDIT_size_cstack__ = 0x400;
define symbol __ICFEDIT_size_heap__ = 0x200;
/**** End of ICF editor section. ###ICF###*/


define memory mem with size = 4G;
define region ROM_region = mem:[from __ICFEDIT_region_ROM_start__ to __ICFEDIT_region_ROM_end__];
define region RAM_region = mem:[from __ICFEDIT_region_RAM_start__ to __ICFEDIT_region_RAM_end__];

define block CSTACK with alignment = 8, size = __ICFEDIT_size_cstack__ { };
define block HEAP with alignment = 8, size = __ICFEDIT_size_heap__ { };

initialize by copy { readwrite };
do not initialize { section .noinit };

place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };

place in ROM_region { readonly };
place in RAM_region { readwrite,
block CSTACK, block HEAP };
Loading

0 comments on commit 3524e94

Please sign in to comment.