diff --git a/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx b/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
index ed76561..7194179 100644
--- a/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
+++ b/soft/PjtKEIL_StepDeb_1/BacASable.uvoptx
@@ -10,7 +10,7 @@
*.s*; *.src; *.a*
*.obj; *.o
*.lib
- *.txt; *.h; *.inc
+ *.txt; *.h; *.inc; *.md
*.plm
*.cpp
0
@@ -75,7 +75,7 @@
1
0
- 1
+ 0
18
@@ -154,6 +154,21 @@
+
+
+ 0
+ 1
+ VarTime,0x0A
+
+
+
+
+ 1
+ 258
+ R0
+ 0
+
+
0
@@ -174,7 +189,7 @@
0
0
0
- 0
+ 1
0
0
0
@@ -196,6 +211,13 @@
+
+
+ 0
+ `VarTime
+ 0000000000000000000000000000E0FFFFFFEF410000000000000000000000000000000056617254696D65000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000F03F1100000000000000000000000000000000000000A4030008
+
+
1
0
@@ -260,7 +282,7 @@
1
0
- 0
+ 1
18
@@ -339,6 +361,13 @@
+
+
+ 0
+ 1
+ VarTime,0x0A
+
+
1
@@ -367,7 +396,7 @@
0
0
0
- 0
+ 1
0
0
0
diff --git a/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx b/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
index 9c192f5..e7a5ede 100644
--- a/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
+++ b/soft/PjtKEIL_StepDeb_1/BacASable.uvprojx
@@ -10,7 +10,7 @@
Simu
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::.\ARMCC
+ 5060960::V5.06 update 7 (build 960)::.\ARMCC
0
@@ -1338,11 +1338,6 @@
<Project Info>
-
-
-
-
-
0
1
diff --git a/soft/PjtKEIL_StepDeb_1/Src/Delay.s b/soft/PjtKEIL_StepDeb_1/Src/Delay.s
index bf49175..1fcbf3e 100644
--- a/soft/PjtKEIL_StepDeb_1/Src/Delay.s
+++ b/soft/PjtKEIL_StepDeb_1/Src/Delay.s
@@ -10,7 +10,10 @@
;Section RAM (read write):
area maram,data,readwrite
-VarTime dcd 0
+VarTime dcd 0 ;VarTime adresse sur 32 bits
+
+ export VarTime
+
; ===============================================================================================
@@ -47,9 +50,9 @@ Delay_100ms proc
str r1,[r0]
BoucleTempo
- ldr r1,[r0]
+ ldr r1,[r0] ; r1 = VarTime
- subs r1,#1
+ subs r1,#1 ; r1 = r1 - 1
str r1,[r0]
bne BoucleTempo
diff --git a/soft/PjtKEIL_StepDeb_1/Src/principal.c b/soft/PjtKEIL_StepDeb_1/Src/principal.c
index a2e1f67..85192eb 100644
--- a/soft/PjtKEIL_StepDeb_1/Src/principal.c
+++ b/soft/PjtKEIL_StepDeb_1/Src/principal.c
@@ -14,7 +14,7 @@ int main(void)
CLOCK_Configure();
// configuration de PortB.1 (PB1) en sortie push-pull
-GPIO_Configure(GPIOB, 1, OUTPUT, OUTPUT_PPULL);
+GPIO_Configure(GPIOC, 12, OUTPUT, OUTPUT_PPULL);
@@ -25,8 +25,8 @@ GPIO_Configure(GPIOB, 1, OUTPUT, OUTPUT_PPULL);
while (1)
{
Delay_100ms();
- GPIOB_Set(1);
+ GPIOC_Set(12);
Delay_100ms();
- GPIOB_Clear(1);
+ GPIOC_Clear(12);
}
}