summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-08-25 22:36:46 (GMT)
committerChristian Pointner <equinox@spreadspace.org>2017-08-25 22:36:46 (GMT)
commit0f62672e2808b08ca5c713f220d184bc9ccdc767 (patch)
treeac1be79c0bb9f0a3f605eab9b5729ce8b8859ff8
parent5fc6f54209d1c4a93e7dfb024a2359e6a664778c (diff)
updated StdPeriph Lib Patch: https://github.com/tenbaht/sduino/wiki/spl
-rw-r--r--README6
-rw-r--r--contrib/STM8_SPL_v2.2.0_SDCC.patch3737
2 files changed, 1880 insertions, 1863 deletions
diff --git a/README b/README
index 0ed22db..bd19d28 100644
--- a/README
+++ b/README
@@ -32,6 +32,12 @@ not to use files named like this for your own code. i.e. if you want
to use the `led` library it's not possible to have a source file name
lib-led.c inside your project.
+To use the STM8S StdPeriph Library in your project you have to provide the
+path to the library source code. You may do this by calling `make` inside
+the contrib tree. But any external path is ok. In order to build the stdperiph
+object file the build system has to call `make clean` inside the STDPERIPH_PATH
+so make sure there is no build inside which you still need. Also paralell builds
+of several projects using the same STDPERIPH_PATH is not possible.
License
=======
diff --git a/contrib/STM8_SPL_v2.2.0_SDCC.patch b/contrib/STM8_SPL_v2.2.0_SDCC.patch
index 806790c..e920bd8 100644
--- a/contrib/STM8_SPL_v2.2.0_SDCC.patch
+++ b/contrib/STM8_SPL_v2.2.0_SDCC.patch
@@ -1,6 +1,6 @@
-diff -rupN STM8S_SPL_2.2.0/Doxyfile STM8S_SPL_2.2.0_SDCC/Doxyfile
---- STM8S_SPL_2.2.0/Doxyfile 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Doxyfile 2015-02-16 21:07:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Doxyfile STM8S_StdPeriph_Lib/Doxyfile
+--- STM8S_StdPeriph_Lib.orig/Doxyfile 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Doxyfile 2017-08-26 00:27:32.023548113 +0200
@@ -0,0 +1,2381 @@
+# Doxyfile 1.8.7
+
@@ -2383,9 +2383,9 @@ diff -rupN STM8S_SPL_2.2.0/Doxyfile STM8S_SPL_2.2.0_SDCC/Doxyfile
+# This tag requires that the tag HAVE_DOT is set to YES.
+
+DOT_CLEANUP = YES
-diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h STM8S_SPL_2.2.0_SDCC/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h
---- STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h 2014-10-21 18:32:20.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h 2015-03-08 18:09:59.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h
+--- STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h 2014-10-21 17:32:20.000000000 +0200
++++ STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h 2017-08-26 00:27:32.023548113 +0200
@@ -84,6 +84,8 @@
#define _RAISONANCE_
#elif defined(__ICCSTM8__)
@@ -2417,7 +2417,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h STM8S_SP
#else /*_IAR_*/
#define IN_RAM(a) __ramfunc a
#endif /* _COSMIC_ */
-@@ -2729,6 +2739,15 @@ CFG_TypeDef;
+@@ -2729,6 +2739,15 @@
#define trap() {_asm("trap\n");} /* Trap (soft IT) */
#define wfi() {_asm("wfi\n");} /* Wait For Interrupt */
#define halt() {_asm("halt\n");} /* Halt */
@@ -2433,7 +2433,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h STM8S_SP
#else /*_IAR_*/
#include <intrinsics.h>
#define enableInterrupts() __enable_interrupt() /* enable interrupts */
-@@ -2764,11 +2783,21 @@ CFG_TypeDef;
+@@ -2764,11 +2783,21 @@
__interrupt void (a) (void)
#endif /* _IAR_ */
@@ -2455,9 +2455,9 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/inc/stm8s.h STM8S_SP
#endif /* _COSMIC_ */
/*============================== Handling bits ====================================*/
-diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c STM8S_SPL_2.2.0_SDCC/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c
---- STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c 2014-10-21 18:32:20.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c 2015-02-23 18:33:10.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c
+--- STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c 2014-10-21 17:32:20.000000000 +0200
++++ STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c 2017-08-26 00:27:32.023548113 +0200
@@ -71,9 +71,82 @@
#define OPERATION_TIMEOUT ((uint16_t)0xFFFF)
/* Private macro -------------------------------------------------------------*/
@@ -2541,7 +2541,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
/** @addtogroup FLASH_Public_functions
* @{
*/
-@@ -167,7 +240,12 @@ void FLASH_EraseByte(uint32_t Address)
+@@ -167,7 +240,12 @@
assert_param(IS_FLASH_ADDRESS_OK(Address));
/* Erase byte */
@@ -2554,7 +2554,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
}
/**
-@@ -182,7 +260,14 @@ void FLASH_ProgramByte(uint32_t Address,
+@@ -182,7 +260,14 @@
{
/* Check parameters */
assert_param(IS_FLASH_ADDRESS_OK(Address));
@@ -2569,7 +2569,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
}
/**
-@@ -198,7 +283,11 @@ uint8_t FLASH_ReadByte(uint32_t Address)
+@@ -198,7 +283,11 @@
assert_param(IS_FLASH_ADDRESS_OK(Address));
/* Read byte */
@@ -2581,7 +2581,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
}
/**
-@@ -218,6 +307,7 @@ void FLASH_ProgramWord(uint32_t Address,
+@@ -218,6 +307,7 @@
FLASH->CR2 |= FLASH_CR2_WPRG;
FLASH->NCR2 &= (uint8_t)(~FLASH_NCR2_NWPRG);
@@ -2589,7 +2589,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
/* Write one byte - from lowest address*/
*((PointerAttr uint8_t*)(MemoryAddressCast)Address) = *((uint8_t*)(&Data));
/* Write one byte*/
-@@ -226,6 +316,12 @@ void FLASH_ProgramWord(uint32_t Address,
+@@ -226,6 +316,12 @@
*(((PointerAttr uint8_t*)(MemoryAddressCast)Address) + 2) = *((uint8_t*)(&Data)+2);
/* Write one byte - from higher address*/
*(((PointerAttr uint8_t*)(MemoryAddressCast)Address) + 3) = *((uint8_t*)(&Data)+3);
@@ -2602,7 +2602,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
}
/**
-@@ -270,7 +366,7 @@ void FLASH_ProgramOptionByte(uint16_t Ad
+@@ -270,7 +366,7 @@
void FLASH_EraseOptionByte(uint16_t Address)
{
/* Check parameter */
@@ -2611,7 +2611,7 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
/* Enable write access to option bytes */
FLASH->CR2 |= FLASH_CR2_OPT;
-@@ -692,7 +788,11 @@ IN_RAM(void FLASH_ProgramBlock(uint16_t
+@@ -692,7 +788,11 @@
/* Copy data bytes from RAM to FLASH memory */
for(Count = 0; Count < FLASH_BLOCK_SIZE; Count++)
{
@@ -2623,11 +2623,25 @@ diff -rupN STM8S_SPL_2.2.0/Libraries/STM8S_StdPeriph_Driver/src/stm8s_flash.c ST
}
}
-Binary files STM8S_SPL_2.2.0/Project/.DS_Store and STM8S_SPL_2.2.0_SDCC/Project/.DS_Store differ
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c 2015-02-18 20:00:14.000000000 +0100
-@@ -60,12 +60,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/src/stm8s_itc.c STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/src/stm8s_itc.c
+--- STM8S_StdPeriph_Lib.orig/Libraries/STM8S_StdPeriph_Driver/src/stm8s_itc.c 2014-10-21 17:32:20.000000000 +0200
++++ STM8S_StdPeriph_Lib/Libraries/STM8S_StdPeriph_Driver/src/stm8s_itc.c 2017-08-26 00:33:19.880900653 +0200
+@@ -55,7 +55,10 @@
+ return; /* Ignore compiler warning, the returned value is in A register */
+ #elif defined _RAISONANCE_ /* _RAISONANCE_ */
+ return _getCC_();
+-#else /* _IAR_ */
++#elif defined _IAR_ /* _IAR_ */
++ asm("push cc");
++ asm("pop a"); /* Ignore compiler warning, the returned value is in A register */
++#else /* _SDCC_ */
+ asm("push cc");
+ asm("pop a"); /* Ignore compiler warning, the returned value is in A register */
+ #endif /* _COSMIC_*/
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.c 2017-08-26 00:27:32.023548113 +0200
+@@ -60,12 +60,15 @@
* @param None
* @retval None
*/
@@ -2643,9 +2657,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_Continuous
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h 2015-02-14 12:28:42.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_ContinuousConversion/stm8s_it.h 2017-08-26 00:27:32.023548113 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2655,10 +2669,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ADC2/ADC2_Continuous
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c 2015-02-18 19:59:28.000000000 +0100
-@@ -61,12 +61,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.c 2017-08-26 00:27:32.023548113 +0200
+@@ -61,12 +61,15 @@
* @param None
* @retval None
*/
@@ -2674,9 +2688,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMo
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h 2015-02-14 12:27:50.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMode/stm8s_it.h 2017-08-26 00:27:32.023548113 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2686,10 +2700,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/AWU/AWU_ActiveHaltMo
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c 2015-02-18 20:00:00.000000000 +0100
-@@ -61,12 +61,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.c 2017-08-26 00:27:32.023548113 +0200
+@@ -61,12 +61,15 @@
* @param None
* @retval None
*/
@@ -2705,9 +2719,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGe
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h 2015-02-14 12:28:12.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGeneration/stm8s_it.h 2017-08-26 00:27:32.023548113 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2717,10 +2731,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/BEEP/BEEP_3SignalsGe
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c 2015-02-18 19:59:46.000000000 +0100
-@@ -62,12 +62,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.c 2017-08-26 00:27:32.023548113 +0200
+@@ -62,12 +62,15 @@
* @param None
* @retval None
*/
@@ -2736,9 +2750,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/s
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h 2015-02-14 12:28:00.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/stm8s_it.h 2017-08-26 00:27:32.023548113 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2748,10 +2762,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CAN/CAN_Networking/s
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c 2015-02-18 19:59:52.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -2767,9 +2781,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecurit
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h 2015-02-14 12:28:46.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecuritySystem/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2779,10 +2793,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSecurit
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c 2015-02-18 20:00:54.000000000 +0100
-@@ -62,12 +62,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
+@@ -62,12 +62,15 @@
* @param None
* @retval None
*/
@@ -2798,9 +2812,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelecti
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h 2015-02-14 12:28:44.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelection/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2810,10 +2824,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_ClockSelecti
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c 2015-02-18 20:00:06.000000000 +0100
-@@ -61,12 +61,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
+@@ -61,12 +61,15 @@
* @param None
* @retval None
*/
@@ -2829,9 +2843,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h 2015-02-14 12:28:54.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2841,10 +2855,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/CLK/CLK_MaxSpeed/stm
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c 2015-02-18 20:00:42.000000000 +0100
-@@ -60,12 +60,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
+@@ -60,12 +60,15 @@
* @param None
* @retval None
*/
@@ -2860,9 +2874,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptP
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h 2015-02-14 12:27:56.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptPriority/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2872,9 +2886,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/EXTI/EXTI_InterruptP
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c 2015-02-18 19:59:48.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
@@ -71,12 +71,15 @@
* @param None
* @retval None
@@ -2891,9 +2905,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteRead
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h 2015-02-14 12:28:30.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteReadWriteOperation/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2903,10 +2917,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_ByteRead
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c 2015-02-15 21:43:32.000000000 +0100
-@@ -92,6 +92,11 @@ void main(void)
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/main.c 2017-08-26 00:27:32.027548082 +0200
+@@ -92,6 +92,11 @@
(int)&__size__FLASH_ProgramBlock);
#endif /*_RAISONANCE_*/
@@ -2918,9 +2932,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProg
/* Clock configuration -----------------------------------------*/
CLK_Config();
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c 2015-02-18 20:00:34.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
@@ -71,12 +71,15 @@
* @param None
* @retval None
@@ -2937,9 +2951,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProg
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h 2015-02-14 12:27:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProgram/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2949,9 +2963,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_DataProg
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c 2015-02-18 20:00:46.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
@@ -71,12 +71,15 @@
* @param None
* @retval None
@@ -2968,9 +2982,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWor
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h 2015-02-14 12:28:20.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWordOperation/stm8s_it.h 2017-08-26 00:27:32.027548082 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -2980,10 +2994,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/FLASH/FLASH_WriteWor
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c 2015-02-18 19:59:32.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.c 2017-08-26 00:27:32.027548082 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -2999,9 +3013,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h 2015-02-14 12:28:48.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3011,10 +3025,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/GPIO/GPIO_Toggle/stm
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c 2015-02-18 19:59:34.000000000 +0100
-@@ -58,12 +58,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -58,12 +58,15 @@
* @param None
* @retval None
*/
@@ -3030,9 +3044,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s
/**
* @brief Top Level Interrupt routine.
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h 2015-02-14 12:28:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3042,10 +3056,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_EEPROM/stm8s
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c 2015-02-18 20:00:20.000000000 +0100
-@@ -79,12 +79,15 @@ extern __IO uint8_t Tx_Idx;
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -79,12 +79,15 @@
* @param None
* @retval None
*/
@@ -3061,9 +3075,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h 2015-02-14 12:28:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Master/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3073,10 +3087,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c 2015-02-18 19:59:50.000000000 +0100
-@@ -78,12 +78,15 @@ __IO uint16_t Event = 0x00;
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -78,12 +78,15 @@
* @param None
* @retval None
*/
@@ -3092,9 +3106,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h 2015-02-14 12:27:28.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2C_DataExchange/Slave/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3104,10 +3118,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/I2C/I2C_TwoBoards/I2
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c 2015-02-18 19:58:58.000000000 +0100
-@@ -72,12 +72,15 @@ extern void Delay (uint16_t nCount);
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -72,12 +72,15 @@
* @param None
* @retval None
*/
@@ -3123,9 +3137,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePrio
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h 2015-02-14 12:27:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePriority/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3135,10 +3149,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/ITC/ITC_SoftwarePrio
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c 2015-02-18 19:59:56.000000000 +0100
-@@ -58,12 +58,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -58,12 +58,15 @@
* @param None
* @retval None
*/
@@ -3154,9 +3168,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/st
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h 2015-02-14 12:27:36.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3166,10 +3180,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/IWDG/IWDG_Example/st
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c 2015-02-18 20:00:50.000000000 +0100
-@@ -61,12 +61,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -61,12 +61,15 @@
* @param None
* @retval None
*/
@@ -3185,9 +3199,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcod
/**
* @brief Top Level Interrupt routine.
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h 2015-02-14 12:28:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcode/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3197,9 +3211,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/RST/RST_IllegalOpcod
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c 2015-02-18 19:59:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
@@ -71,12 +71,15 @@
* @param None
* @retval None
@@ -3216,9 +3230,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunic
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h 2015-02-14 12:27:44.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunicationMicroSD/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3228,9 +3242,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FastCommunic
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c 2015-02-18 20:00:04.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
@@ -70,12 +70,15 @@
* @param None
* @retval None
@@ -3247,9 +3261,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUA
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h 2015-02-14 12:27:42.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUART1/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3259,10 +3273,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_FullDuplexUA
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c 2015-02-18 19:59:36.000000000 +0100
-@@ -58,12 +58,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -58,12 +58,15 @@
* @param None
* @retval None
*/
@@ -3278,9 +3292,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/s
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h 2015-02-14 12:27:40.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3290,10 +3304,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/SPI/SPI_SimplexLCD/s
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c 2015-02-18 20:00:22.000000000 +0100
-@@ -62,12 +62,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -62,12 +62,15 @@
* @param None
* @retval None
*/
@@ -3309,9 +3323,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h 2015-02-14 12:27:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3321,10 +3335,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_6Steps/stm
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c 2015-02-18 20:00:56.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.c 2017-08-26 00:27:32.031548051 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3340,9 +3354,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Outpu
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h 2015-02-14 12:28:02.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Output/stm8s_it.h 2017-08-26 00:27:32.031548051 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3352,10 +3366,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_7PWM_Outpu
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c 2015-02-18 19:58:56.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3371,9 +3385,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Complement
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h 2014-10-21 18:32:04.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h 2015-02-14 12:28:18.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h 2014-10-21 17:32:04.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_ComplementarySignals_DeadTime_Break_Lock/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3383,10 +3397,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Complement
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c 2015-02-18 19:59:54.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3402,9 +3416,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capt
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h 2015-02-14 12:28:52.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capture/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3414,10 +3428,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Input_Capt
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c 2015-02-18 20:00:26.000000000 +0100
-@@ -61,12 +61,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -61,12 +61,15 @@
* @param None
* @retval None
*/
@@ -3433,9 +3447,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_G
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h 2015-02-14 12:28:50.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_Generation/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3445,10 +3459,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM1/TIM1_Sinewave_G
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c 2015-02-18 19:59:38.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3464,9 +3478,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveM
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h 2015-02-14 12:28:24.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveMode/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3476,10 +3490,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_ActiveM
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c 2015-02-18 20:00:32.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3495,9 +3509,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_Inactiv
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h 2015-02-14 12:28:06.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_InactiveMode/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3507,10 +3521,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_OC_Inactiv
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c 2015-02-18 20:00:48.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3526,9 +3540,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCy
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h 2014-10-21 18:32:06.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h 2015-02-14 12:28:56.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h 2014-10-21 17:32:06.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCycleConfiguration/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3538,10 +3552,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM2/TIM2_PWM_DutyCy
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c 2015-02-18 20:00:30.000000000 +0100
-@@ -60,12 +60,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -60,12 +60,15 @@
* @param None
* @retval None
*/
@@ -3557,9 +3571,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/s
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h 2015-02-14 12:28:34.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3569,10 +3583,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM4/TIM4_TimeBase/s
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c 2015-02-18 19:59:44.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3588,9 +3602,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronis
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h 2014-10-21 18:32:08.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h 2015-02-14 12:27:26.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h 2014-10-21 17:32:08.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronisation_With_TIM6/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3600,9 +3614,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/TIM5/TIM5_Synchronis
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c 2015-02-18 20:00:44.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
@@ -70,12 +70,15 @@
* @param None
* @retval None
@@ -3619,9 +3633,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDupl
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h 2015-02-14 12:27:54.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDuplex/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3631,10 +3645,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HalfDupl
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c 2015-02-18 20:00:02.000000000 +0100
-@@ -65,12 +65,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -65,12 +65,15 @@
* @param None
* @retval None
*/
@@ -3650,9 +3664,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTer
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h 2015-02-14 12:28:16.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTerminal_Interrupt/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3662,10 +3676,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_HyperTer
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c 2015-02-18 19:59:58.000000000 +0100
-@@ -77,12 +77,15 @@ extern void Delay (uint16_t nCount);
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -77,12 +77,15 @@
* @param None
* @retval None
*/
@@ -3681,9 +3695,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrup
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h 2015-02-14 12:27:58.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrupt/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3693,10 +3707,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Interrup
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c 2015-02-18 20:00:18.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3712,9 +3726,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Rec
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h 2015-02-14 12:28:40.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Receive/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3724,10 +3738,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Rec
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c 2015-02-18 19:59:18.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3743,9 +3757,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Tra
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h 2015-02-14 12:28:04.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Transmit/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3755,10 +3769,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_IrDA/Tra
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c 2015-02-18 20:00:10.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3774,9 +3788,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiPro
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h 2015-02-14 12:27:52.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiProcessor/stm8s_it.h 2017-08-26 00:27:32.035548021 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3786,9 +3800,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_MultiPro
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c 2015-02-15 21:41:46.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/main.c 2017-08-26 00:27:32.035548021 +0200
@@ -41,6 +41,9 @@
#elif defined (_COSMIC_)
#define PUTCHAR_PROTOTYPE char putchar (char c)
@@ -3799,7 +3813,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/m
#else /* _IAR_ */
#define PUTCHAR_PROTOTYPE int putchar (int c)
#define GETCHAR_PROTOTYPE int getchar (void)
-@@ -96,7 +99,9 @@ PUTCHAR_PROTOTYPE
+@@ -96,7 +99,9 @@
/* Loop until the end of transmission */
while (UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET);
@@ -3809,9 +3823,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/m
}
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c 2015-02-18 20:00:52.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.c 2017-08-26 00:27:32.035548021 +0200
@@ -72,12 +72,15 @@
* @param None
* @retval None
@@ -3828,9 +3842,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/s
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h 2015-02-14 12:28:36.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/stm8s_it.h 2017-08-26 00:27:32.039547990 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3840,10 +3854,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Printf/s
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c 2015-02-18 20:00:32.000000000 +0100
-@@ -59,12 +59,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.c 2017-08-26 00:27:32.039547990 +0200
+@@ -59,12 +59,15 @@
* @param None
* @retval None
*/
@@ -3859,9 +3873,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCar
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h 2014-10-21 18:32:00.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h 2015-02-14 12:28:14.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h 2014-10-21 17:32:00.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCard/stm8s_it.h 2017-08-26 00:27:32.039547990 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3871,9 +3885,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_SmartCar
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c 2015-02-18 19:59:42.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.c 2017-08-26 00:27:32.039547990 +0200
@@ -70,12 +70,15 @@
* @param None
* @retval None
@@ -3890,9 +3904,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchron
#endif /*_COSMIC_*/
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h 2014-10-21 18:31:58.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h 2015-02-14 12:27:46.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h 2014-10-21 17:31:58.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchronous/stm8s_it.h 2017-08-26 00:27:32.039547990 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3902,10 +3916,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/UART1/UART1_Synchron
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c 2015-02-18 19:59:12.000000000 +0100
-@@ -63,12 +63,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.c 2017-08-26 00:27:32.039547990 +0200
+@@ -63,12 +63,15 @@
* @param None
* @retval None
*/
@@ -3921,9 +3935,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/st
/**
* @brief Top Level Interrupt routine
* @param None
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h 2014-10-21 18:32:02.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h 2015-02-14 12:28:10.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h 2014-10-21 17:32:02.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/stm8s_it.h 2017-08-26 00:27:32.039547990 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -3933,9 +3947,21 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Examples/WWDG/WWDG_Example/st
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/Makefile STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/Makefile
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/Makefile 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/Makefile 2015-02-19 11:21:02.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/readme.txt STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/readme.txt
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/readme.txt 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/readme.txt 2017-08-26 00:27:32.039547990 +0200
+@@ -36,7 +36,7 @@
+
+ @par Directory contents
+
+-This folder contains standard template projects for EWSTM8, STVD with Cosmic,
++This folder contains standard template projects for EWSTM8, SDCC, STVD with Cosmic,
+ STVD with raisonance and RIDE toolchains that compile the needed STM8S/A Standard
+ Peripheral's drivers plus all the user-modifiable files that are necessary to
+ create a new project.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/Makefile STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/Makefile
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/Makefile 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/Makefile 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,84 @@
+#######
+# makefile for STM8S_StdPeriph_Lib and SDCC compiler
@@ -4021,9 +4047,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/Makefile STM8S_
+
+clean:
+ rm -fr $(OUTPUT_DIR)
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command 2015-02-19 08:24:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.command 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,22 @@
+#!/bin/bash
+
@@ -4047,9 +4073,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_clean.comm
+rm -fr $DEVICE
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command 2015-02-14 15:45:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_run.command 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,51 @@
+#!/bin/bash
+
@@ -4102,9 +4128,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_OSX_compile_ru
+echo " "
+read -p "press key to close window..."
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh 2015-02-19 08:24:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,22 @@
+#!/bin/bash
+
@@ -4128,9 +4154,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_clean.sh ST
+rm -fr $DEVICE
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh 2015-02-14 15:45:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run.sh 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,51 @@
+#!/bin/bash
+
@@ -4183,9 +4209,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_UX_compile_run
+echo " "
+read -p "press key to close window..."
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat 2015-02-19 08:19:58.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,17 @@
+REM just for output
+echo off
@@ -4204,9 +4230,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_clean.bat
+rd /S /Q %DEVICE%
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat 2015-02-19 08:28:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_run.bat 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,46 @@
+REM just for output
+echo off
@@ -4254,56 +4280,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/SDCC/_WIN_compile_ru
+:END
+PAUSE
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat 2015-02-19 15:50:44.000000000 +0100
-@@ -0,0 +1,30 @@
-+REM just for output
-+echo off
-+cls
-+
-+REM set make tool (if not in PATH, set complete path)
-+set MAKE=mingw32-make
-+
-+REM set path to STM8 flasher tool (own or by STM)
-+set LOADER=C:\Users\ick2bue\Documents\STM8_serial_flasher\STM8_serial_flasher.exe
-+
-+REM set COM port for flash loader
-+set PORT=7
-+
-+REM name of target hexfile
-+set TARGET=Debug\stm8af52ax.s19
-+
-+REM ask user to put STM8 to bootloader mode
-+echo.
-+echo.
-+echo reset STM8 and press return
-+echo.
-+PAUSE
-+
-+REM upload using STM8 bootloader (use own flash tool or STMFlashLoader by STM)
-+%LOADER% -p COM%PORT% -f %TARGET% -q
-+
-+REM clean up
-+:END
-+PAUSE
-+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/readme.txt STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/readme.txt
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/readme.txt 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/readme.txt 2015-01-10 20:00:24.000000000 +0100
-@@ -36,7 +36,7 @@ Standard Peripherals Library.
-
- @par Directory contents
-
--This folder contains standard template projects for EWSTM8, STVD with Cosmic,
-+This folder contains standard template projects for EWSTM8, SDCC, STVD with Cosmic,
- STVD with raisonance and RIDE toolchains that compile the needed STM8S/A Standard
- Peripheral's drivers plus all the user-modifiable files that are necessary to
- create a new project.
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.c 2015-03-08 19:15:49.000000000 +0100
-@@ -55,6 +55,7 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.c 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.c 2017-08-26 00:27:32.039547990 +0200
+@@ -55,6 +55,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4311,7 +4291,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /*_COSMIC_*/
-@@ -63,12 +64,15 @@ INTERRUPT_HANDLER(NonHandledInterrupt, 2
+@@ -63,12 +64,15 @@
* @param None
* @retval None
*/
@@ -4327,7 +4307,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
/**
* @brief Top Level Interrupt routine.
-@@ -81,6 +85,7 @@ INTERRUPT_HANDLER(TLI_IRQHandler, 0)
+@@ -81,6 +85,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4335,7 +4315,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -93,6 +98,7 @@ INTERRUPT_HANDLER(AWU_IRQHandler, 1)
+@@ -93,6 +98,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4343,7 +4323,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -105,6 +111,7 @@ INTERRUPT_HANDLER(CLK_IRQHandler, 2)
+@@ -105,6 +111,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4351,7 +4331,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -117,6 +124,7 @@ INTERRUPT_HANDLER(EXTI_PORTA_IRQHandler,
+@@ -117,6 +124,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4359,7 +4339,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -129,6 +137,7 @@ INTERRUPT_HANDLER(EXTI_PORTB_IRQHandler,
+@@ -129,6 +137,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4367,7 +4347,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -141,6 +150,7 @@ INTERRUPT_HANDLER(EXTI_PORTC_IRQHandler,
+@@ -141,6 +150,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4375,7 +4355,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -153,6 +163,7 @@ INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler,
+@@ -153,6 +163,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4383,7 +4363,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -165,6 +176,7 @@ INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler,
+@@ -165,6 +176,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4391,7 +4371,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#if defined (STM8S903) || defined (STM8AF622x)
-@@ -178,6 +190,7 @@ INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler,
+@@ -178,6 +190,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4399,7 +4379,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S903) || (STM8AF622x) */
-@@ -192,6 +205,7 @@ INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler,
+@@ -192,6 +205,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4407,7 +4387,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -204,6 +218,7 @@ INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler,
+@@ -204,6 +218,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4415,7 +4395,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S208) || (STM8AF52Ax) */
-@@ -217,6 +232,7 @@ INTERRUPT_HANDLER(SPI_IRQHandler, 10)
+@@ -217,6 +232,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4423,7 +4403,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -229,6 +245,7 @@ INTERRUPT_HANDLER(TIM1_UPD_OVF_TRG_BRK_I
+@@ -229,6 +245,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4431,7 +4411,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -241,6 +258,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -241,6 +258,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4439,7 +4419,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#if defined (STM8S903) || defined (STM8AF622x)
-@@ -254,6 +272,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -254,6 +272,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4447,7 +4427,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -266,6 +285,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -266,6 +285,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4455,7 +4435,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-@@ -279,6 +299,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -279,6 +299,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4463,7 +4443,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -291,6 +312,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -291,6 +312,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4471,7 +4451,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S903) || (STM8AF622x) */
-@@ -306,6 +328,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -306,6 +328,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4479,7 +4459,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -318,6 +341,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -318,6 +341,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4487,7 +4467,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-@@ -333,6 +357,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -333,6 +357,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4495,7 +4475,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -345,6 +370,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -345,6 +370,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4503,7 +4483,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S208) || (STM8S207) || (STM8S103) || (STM8S903) || (STM8AF62Ax) || (STM8AF52Ax) */
-@@ -359,6 +385,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -359,6 +385,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4511,7 +4491,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -371,6 +398,7 @@ INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandle
+@@ -371,6 +398,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4519,7 +4499,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8AF622x) */
-@@ -384,6 +412,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -384,6 +412,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4527,7 +4507,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
-@@ -397,6 +426,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -397,6 +426,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4535,7 +4515,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -409,6 +439,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -409,6 +439,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4543,7 +4523,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S105) || (STM8AF626x) */
-@@ -423,6 +454,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -423,6 +454,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4551,7 +4531,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-@@ -435,6 +467,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -435,6 +467,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4559,7 +4539,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
-@@ -449,6 +482,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -449,6 +482,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4567,7 +4547,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#else /* STM8S105 or STM8S103 or STM8S903 or STM8AF626x or STM8AF622x */
/**
-@@ -463,6 +497,7 @@ INTERRUPT_HANDLER(I2C_IRQHandler, 19)
+@@ -463,6 +497,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4575,7 +4555,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
-@@ -477,6 +512,7 @@ INTERRUPT_HANDLER(TIM6_UPD_OVF_TRG_IRQHa
+@@ -477,6 +512,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4583,7 +4563,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#else /* STM8S208 or STM8S207 or STM8S105 or STM8S103 or STM8AF52Ax or STM8AF62Ax or STM8AF626x */
/**
-@@ -489,6 +525,7 @@ INTERRUPT_HANDLER(TIM6_UPD_OVF_TRG_IRQHa
+@@ -489,6 +525,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4591,7 +4571,7 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
#endif /* (STM8S903) || (STM8AF622x)*/
-@@ -502,6 +539,7 @@ INTERRUPT_HANDLER(EEPROM_EEC_IRQHandler,
+@@ -502,6 +539,7 @@
/* In order to detect unexpected events during development,
it is recommended to set a breakpoint on the following instruction.
*/
@@ -4599,9 +4579,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.c STM8S_SPL
}
/**
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h 2014-10-21 18:31:56.000000000 +0200
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.h 2015-02-14 12:26:30.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.h 2014-10-21 17:31:56.000000000 +0200
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.h 2017-08-26 00:27:32.039547990 +0200
@@ -41,7 +41,7 @@
INTERRUPT void NonHandledInterrupt(void);
#endif /* _COSMIC_ */
@@ -4611,9 +4591,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h STM8S_SPL
INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
INTERRUPT void TLI_IRQHandler(void); /* TLI */
INTERRUPT void AWU_IRQHandler(void); /* AWU */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP 2015-02-14 12:26:30.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d.TMP 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,122 @@
+/**
+ ******************************************************************************
@@ -4737,11 +4717,262 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_Template/stm8s_it.h~RF13fd31d
+
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-Binary files STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/.DS_Store and STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/.DS_Store differ
-Binary files STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/.DS_Store and STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/.DS_Store differ
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/Makefile STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/Makefile
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/Makefile 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/Makefile 2015-03-29 17:19:32.000000000 +0200
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_Template/STVD/Cosmic/_WIN_upload.bat 2017-08-26 00:27:32.039547990 +0200
+@@ -0,0 +1,30 @@
++REM just for output
++echo off
++cls
++
++REM set make tool (if not in PATH, set complete path)
++set MAKE=mingw32-make
++
++REM set path to STM8 flasher tool (own or by STM)
++set LOADER=C:\Users\ick2bue\Documents\STM8_serial_flasher\STM8_serial_flasher.exe
++
++REM set COM port for flash loader
++set PORT=7
++
++REM name of target hexfile
++set TARGET=Debug\stm8af52ax.s19
++
++REM ask user to put STM8 to bootloader mode
++echo.
++echo.
++echo reset STM8 and press return
++echo.
++PAUSE
++
++REM upload using STM8 bootloader (use own flash tool or STMFlashLoader by STM)
++%LOADER% -p COM%PORT% -f %TARGET% -q
++
++REM clean up
++:END
++PAUSE
++echo on
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/main.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/main.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/main.c 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/main.c 2017-08-26 00:27:32.051547898 +0200
+@@ -0,0 +1,214 @@
++/**
++ ******************************************************************************
++ * @file Project/main.c
++ * @author MCD Application Team
++ * @version V2.2.0
++ * @date 30-September-2014
++ * @brief Main program body
++ ******************************************************************************
++ * @attention
++ *
++ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
++ *
++ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
++ * You may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.st.com/software_license_agreement_liberty_v2
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ******************************************************************************
++ */
++
++
++/* Includes ------------------------------------------------------------------*/
++#include "stm8s.h"
++#include "stdio.h"
++
++
++/* Private typedef -----------------------------------------------------------*/
++/* Private define ------------------------------------------------------------*/
++#ifdef _RAISONANCE_
++#define PUTCHAR_PROTOTYPE int putchar (char c)
++#define GETCHAR_PROTOTYPE int getchar (void)
++#elif defined (_COSMIC_)
++#define PUTCHAR_PROTOTYPE char putchar (char c)
++#define GETCHAR_PROTOTYPE char getchar (void)
++#elif defined (_SDCC_) // SDCC Patch: declared same as stdio.h
++#define PUTCHAR_PROTOTYPE void putchar (char c)
++#define GETCHAR_PROTOTYPE char getchar (void)
++#else /* _IAR_ */
++#define PUTCHAR_PROTOTYPE int putchar (int c)
++#define GETCHAR_PROTOTYPE int getchar (void)
++#endif /* _RAISONANCE_ */
++/* Private macro -------------------------------------------------------------*/
++
++/* Private variables ---------------------------------------------------------*/
++uint8_t g_flag1ms=0; // flag for 1ms interrupt (for TIM4 ISR)
++uint32_t g_count1ms=0; // 1ms counter (for TIM4 ISR)
++
++/* Private function prototypes -----------------------------------------------*/
++/* Private functions ---------------------------------------------------------*/
++
++
++void main(void)
++{
++ uint8_t val = 0x00;
++ uint32_t addr = 0x40A5; // address for flash read/write
++
++
++ /* init High speed internal clock prescaler: 1 */
++ CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1);
++
++ /* Initialize LED pins in Output Mode */
++ GPIO_Init(GPIOH, (GPIO_Pin_TypeDef)(GPIO_PIN_2 | GPIO_PIN_3), GPIO_MODE_OUT_PP_LOW_FAST);
++ GPIO_WriteHigh(GPIOH, (GPIO_Pin_TypeDef)(GPIO_PIN_2 | GPIO_PIN_3));
++
++ // config 1ms clock
++ TIM4_DeInit();
++ TIM4_TimeBaseInit(TIM4_PRESCALER_128, 124);
++ TIM4_ClearFlag(TIM4_FLAG_UPDATE);
++ TIM4_ITConfig(TIM4_IT_UPDATE, ENABLE);
++ TIM4_Cmd(ENABLE);
++
++ // init UART1 to 115.2kBaud, 1/8/1, no parity, no clock
++ UART1_DeInit();
++ UART1_Init((uint32_t)115200, UART1_WORDLENGTH_8D, UART1_STOPBITS_1, UART1_PARITY_NO,
++ UART1_SYNCMODE_CLOCK_DISABLE, UART1_MODE_TXRX_ENABLE);
++
++ /* Define FLASH programming time */
++ FLASH_SetProgrammingTime(FLASH_PROGRAMTIME_STANDARD);
++
++ /* Unlock Data memory */
++ FLASH_Unlock(FLASH_MEMTYPE_DATA);
++
++ // enable interrupts
++ enableInterrupts();
++
++ while (1)
++ {
++ // if key pressed, send echo and store to flash
++ if (UART1_GetFlagStatus(UART1_FLAG_RXNE))
++ {
++ val = getchar();
++ printf("%c", val);
++
++ FLASH_ProgramByte(addr, val);
++ }
++
++ // every 1ms
++ if (g_flag1ms)
++ {
++ g_flag1ms=0;
++
++ if (g_count1ms > 500)
++ {
++ g_count1ms=0;
++ GPIO_WriteReverse(GPIOH, (GPIO_Pin_TypeDef)GPIO_PIN_2);
++
++ /* Read byte from flash */
++ val = FLASH_ReadByte(addr);
++
++ /* Program value+1 at address + 1 */
++ FLASH_ProgramByte(addr+1, val+1);
++
++ /* check flash content */
++ printf("write: ");
++ val = FLASH_ReadByte(addr);
++ printf("%c ", val);
++ val = FLASH_ReadByte(addr+1);
++ printf("%c ", val);
++
++
++ /* erase both bytes in flash */
++ FLASH_EraseByte(addr);
++ FLASH_EraseByte((addr + 1));
++
++ /* check flash content */
++ printf("erase: ");
++ val = FLASH_ReadByte(addr);
++ printf("%d ", (int) val);
++ val = FLASH_ReadByte(addr+1);
++ printf("%d ", (int) val);
++
++ // print LF+CR
++ printf("%c%c", 10,13);
++
++ } // every 500ms
++
++ } // every 1ms
++
++ } // main loop
++
++} // main()
++
++
++/**
++ * @brief Retargets the C library printf function to the UART.
++ * @param c Character to send
++ * @retval char Character sent
++ */
++PUTCHAR_PROTOTYPE
++{
++ /* Write a character to the UART1 */
++ UART1_SendData8(c);
++ /* Loop until the end of transmission */
++ while (UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET);
++
++#if !defined(_SDCC_) // SDCC patch: declared as void putchar(char)
++ return (c);
++#endif
++}
++
++
++/**
++ * @brief Retargets the C library scanf function to the USART.
++ * @param None
++ * @retval char Character to Read
++ */
++GETCHAR_PROTOTYPE
++{
++#ifdef _COSMIC_
++ char c = 0;
++#else
++ int c = 0;
++#endif
++ /* Loop until the Read data register flag is SET */
++ while (UART1_GetFlagStatus(UART1_FLAG_RXNE) == RESET);
++ c = UART1_ReceiveData8();
++ return (c);
++}
++
++
++#ifdef USE_FULL_ASSERT
++
++/**
++ * @brief Reports the name of the source file and the source line number
++ * where the assert_param error has occurred.
++ * @param file: pointer to the source file name
++ * @param line: assert_param error line source number
++ * @retval None
++ */
++void assert_failed(uint8_t* file, uint32_t line)
++{
++ /* User can add his own implementation to report the file name and line number,
++ ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
++
++ /* Infinite loop */
++ while (1)
++ {
++ }
++}
++#endif
++
++/**
++ * @}
++ */
++
++
++/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/Makefile STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/Makefile
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/Makefile 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/Makefile 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,84 @@
+#######
+# makefile for STM8S_StdPeriph_Lib and SDCC compiler
@@ -4827,9 +5058,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/Makefile STM8S_SPL_
+
+clean:
+ rm -fr $(OUTPUT_DIR)
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command 2015-02-19 08:24:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,22 @@
+#!/bin/bash
+
@@ -4853,9 +5084,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_clean.command
+rm -fr $DEVICE
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command 2015-02-14 15:45:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.command 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,51 @@
+#!/bin/bash
+
@@ -4908,9 +5139,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_OSX_compile_run.co
+echo " "
+read -p "press key to close window..."
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh 2015-02-19 08:24:22.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,22 @@
+#!/bin/bash
+
@@ -4934,9 +5165,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_clean.sh STM8S_
+rm -fr $DEVICE
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh 2015-02-14 15:45:38.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,51 @@
+#!/bin/bash
+
@@ -4989,9 +5220,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_UX_compile_run.sh
+echo " "
+read -p "press key to close window..."
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat 2015-02-19 08:19:58.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,17 @@
+REM just for output
+echo off
@@ -5010,9 +5241,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_clean.bat STM8
+rd /S /Q %DEVICE%
+
+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat 2015-02-19 08:28:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.bat 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,46 @@
+REM just for output
+echo off
@@ -5060,10 +5291,900 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/SDCC/_WIN_compile_run.ba
+:END
+PAUSE
+echo on
-Binary files STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/.DS_Store and STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/.DS_Store differ
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw 2015-02-23 17:52:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_conf.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_conf.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_conf.h 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_conf.h 2017-08-26 00:27:32.051547898 +0200
+@@ -0,0 +1,116 @@
++/**
++ ******************************************************************************
++ * @file stm8s_conf.h
++ * @author MCD Application Team
++ * @version V2.2.0
++ * @date 30-September-2014
++ * @brief This file is used to configure the Library.
++ ******************************************************************************
++ * @attention
++ *
++ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
++ *
++ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
++ * You may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.st.com/software_license_agreement_liberty_v2
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ******************************************************************************
++ */
++
++/* Define to prevent recursive inclusion -------------------------------------*/
++#ifndef __STM8S_CONF_H
++#define __STM8S_CONF_H
++
++/* Includes ------------------------------------------------------------------*/
++#include "stm8s.h"
++
++/* Uncomment the line below to enable peripheral header file inclusion */
++#if defined(STM8S105) || defined(STM8S005) || defined(STM8S103) || defined(STM8S003) ||\
++ defined(STM8S903) || defined (STM8AF626x) || defined (STM8AF622x)
++#include "stm8s_adc1.h"
++#endif /* (STM8S105) ||(STM8S103) || (STM8S903) || (STM8AF626x) || (STM8AF622x) */
++#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined (STM8AF52Ax) ||\
++ defined (STM8AF62Ax)
++ #include "stm8s_adc2.h"
++#endif /* (STM8S208) || (STM8S207) || (STM8AF62Ax) || (STM8AF52Ax) */
++#include "stm8s_awu.h"
++#include "stm8s_beep.h"
++#if defined (STM8S208) || defined (STM8AF52Ax)
++ #include "stm8s_can.h"
++#endif /* (STM8S208) || (STM8AF52Ax) */
++#include "stm8s_clk.h"
++#include "stm8s_exti.h"
++#include "stm8s_flash.h"
++#include "stm8s_gpio.h"
++#include "stm8s_i2c.h"
++#include "stm8s_itc.h"
++#include "stm8s_iwdg.h"
++#include "stm8s_rst.h"
++#include "stm8s_spi.h"
++#include "stm8s_tim1.h"
++#if !defined(STM8S903) || !defined(STM8AF622x)
++ #include "stm8s_tim2.h"
++#endif /* (STM8S903) || (STM8AF622x) */
++#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) ||defined(STM8S105) ||\
++ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
++ #include "stm8s_tim3.h"
++#endif /* (STM8S208) ||defined(STM8S207) || defined(STM8S007) ||defined(STM8S105) */
++#if !defined(STM8S903) || !defined(STM8AF622x)
++ #include "stm8s_tim4.h"
++#endif /* (STM8S903) || (STM8AF622x) */
++#if defined(STM8S903) || defined(STM8AF622x)
++ #include "stm8s_tim5.h"
++ #include "stm8s_tim6.h"
++#endif /* (STM8S903) || (STM8AF622x) */
++#if defined(STM8S208) ||defined(STM8S207) || defined(STM8S007) ||defined(STM8S103) ||\
++ defined(STM8S003) || defined(STM8S903) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++ #include "stm8s_uart1.h"
++#endif /* (STM8S208) || (STM8S207) || (STM8S103) || (STM8S903) || (STM8AF52Ax) || (STM8AF62Ax) */
++#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
++ #include "stm8s_uart2.h"
++#endif /* (STM8S105) || (STM8AF626x) */
++#if defined(STM8S208) ||defined(STM8S207) || defined(STM8S007) || defined (STM8AF52Ax) ||\
++ defined (STM8AF62Ax)
++ #include "stm8s_uart3.h"
++#endif /* STM8S208 || STM8S207 || STM8AF52Ax || STM8AF62Ax */
++#if defined(STM8AF622x)
++ #include "stm8s_uart4.h"
++#endif /* (STM8AF622x) */
++#include "stm8s_wwdg.h"
++
++/* Exported types ------------------------------------------------------------*/
++/* Exported constants --------------------------------------------------------*/
++/* Uncomment the line below to expanse the "assert_param" macro in the
++ Standard Peripheral Library drivers code */
++#define USE_FULL_ASSERT (0)
++
++/* Exported macro ------------------------------------------------------------*/
++#ifdef USE_FULL_ASSERT
++
++/**
++ * @brief The assert_param macro is used for function's parameters check.
++ * @param expr: If expr is false, it calls assert_failed function
++ * which reports the name of the source file and the source
++ * line number of the call that failed.
++ * If expr is true, it returns no value.
++ * @retval : None
++ */
++#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
++/* Exported functions ------------------------------------------------------- */
++void assert_failed(uint8_t* file, uint32_t line);
++#else
++#define assert_param(expr) ((void)0)
++#endif /* USE_FULL_ASSERT */
++
++#endif /* __STM8S_CONF_H */
++
++
++/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_it.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_it.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_it.c 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_it.c 2017-08-26 00:27:32.051547898 +0200
+@@ -0,0 +1,559 @@
++/**
++ ******************************************************************************
++ * @file stm8s_it.c
++ * @author MCD Application Team
++ * @version V2.2.0
++ * @date 30-September-2014
++ * @brief Main Interrupt Service Routines.
++ * This file provides template for all peripherals interrupt service
++ * routine.
++ ******************************************************************************
++ * @attention
++ *
++ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
++ *
++ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
++ * You may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.st.com/software_license_agreement_liberty_v2
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ******************************************************************************
++ */
++
++/* Includes ------------------------------------------------------------------*/
++#include "stm8s_it.h"
++
++/** @addtogroup Template_Project
++ * @{
++ */
++
++/* Private typedef -----------------------------------------------------------*/
++/* Private define ------------------------------------------------------------*/
++/* Private macro -------------------------------------------------------------*/
++/* Private variables ---------------------------------------------------------*/
++/* Private function prototypes -----------------------------------------------*/
++/* Private functions ---------------------------------------------------------*/
++/* Public functions ----------------------------------------------------------*/
++
++extern uint8_t g_flag1ms; // flag for 1ms interrupt (for TIM4 ISR)
++extern uint32_t g_count1ms; // 1ms counter (for TIM4 ISR)
++
++
++#ifdef _COSMIC_
++/**
++ * @brief Dummy Interrupt routine
++ * @par Parameters:
++ * None
++ * @retval
++ * None
++*/
++INTERRUPT_HANDLER(NonHandledInterrupt, 25)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++#endif /*_COSMIC_*/
++
++/**
++ * @brief TRAP Interrupt routine
++ * @param None
++ * @retval None
++ */
++#if !defined(_SDCC_) || (SKIP_TRAPS!=1) // SDCC patch: trap handling requires SDCC >=v3.4.3
++INTERRUPT_HANDLER_TRAP(TRAP_IRQHandler)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++#endif
++
++/**
++ * @brief Top Level Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(TLI_IRQHandler, 0)
++
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief Auto Wake Up Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(AWU_IRQHandler, 1)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief Clock Controller Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(CLK_IRQHandler, 2)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief External Interrupt PORTA Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EXTI_PORTA_IRQHandler, 3)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief External Interrupt PORTB Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EXTI_PORTB_IRQHandler, 4)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief External Interrupt PORTC Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EXTI_PORTC_IRQHandler, 5)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief External Interrupt PORTD Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler, 6)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief External Interrupt PORTE Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler, 7)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++#if defined (STM8S903) || defined (STM8AF622x)
++/**
++ * @brief External Interrupt PORTF Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(EXTI_PORTF_IRQHandler, 8)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined (STM8AF52Ax)
++/**
++ * @brief CAN RX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(CAN_RX_IRQHandler, 8)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief CAN TX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(CAN_TX_IRQHandler, 9)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S208) || (STM8AF52Ax) */
++
++/**
++ * @brief SPI Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(SPI_IRQHandler, 10)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief Timer1 Update/Overflow/Trigger/Break Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(TIM1_UPD_OVF_TRG_BRK_IRQHandler, 11)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @brief Timer1 Capture/Compare Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandler, 12)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++#if defined (STM8S903) || defined (STM8AF622x)
++/**
++ * @brief Timer5 Update/Overflow/Break/Trigger Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM5_UPD_OVF_BRK_TRG_IRQHandler, 13)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief Timer5 Capture/Compare Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM5_CAP_COM_IRQHandler, 14)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
++/**
++ * @brief Timer2 Update/Overflow/Break Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM2_UPD_OVF_BRK_IRQHandler, 13)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief Timer2 Capture/Compare Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM2_CAP_COM_IRQHandler, 14)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
++ defined(STM8S005) || defined (STM8AF62Ax) || defined (STM8AF52Ax) || defined (STM8AF626x)
++/**
++ * @brief Timer3 Update/Overflow/Break Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM3_UPD_OVF_BRK_IRQHandler, 15)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief Timer3 Capture/Compare Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM3_CAP_COM_IRQHandler, 16)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
++ defined(STM8S003) || defined (STM8AF62Ax) || defined (STM8AF52Ax) || defined (STM8S903)
++/**
++ * @brief UART1 TX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART1_TX_IRQHandler, 17)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief UART1 RX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART1_RX_IRQHandler, 18)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S208) || (STM8S207) || (STM8S103) || (STM8S903) || (STM8AF62Ax) || (STM8AF52Ax) */
++
++#if defined(STM8AF622x)
++/**
++ * @brief UART4 TX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART4_TX_IRQHandler, 17)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief UART4 RX Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART4_RX_IRQHandler, 18)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8AF622x) */
++
++/**
++ * @brief I2C Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(I2C_IRQHandler, 19)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
++/**
++ * @brief UART2 TX interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART2_TX_IRQHandler, 20)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief UART2 RX interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART2_RX_IRQHandler, 21)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S105) || (STM8AF626x) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++/**
++ * @brief UART3 TX interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART3_TX_IRQHandler, 20)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++
++/**
++ * @brief UART3 RX interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(UART3_RX_IRQHandler, 21)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++/**
++ * @brief ADC2 interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(ADC2_IRQHandler, 22)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#else /* STM8S105 or STM8S103 or STM8S903 or STM8AF626x or STM8AF622x */
++/**
++ * @brief ADC1 interrupt routine.
++ * @par Parameters:
++ * None
++ * @retval
++ * None
++ */
++ INTERRUPT_HANDLER(ADC1_IRQHandler, 22)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
++
++#if defined (STM8S903) || defined (STM8AF622x)
++/**
++ * @brief Timer6 Update/Overflow/Trigger Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(TIM6_UPD_OVF_TRG_IRQHandler, 23)
++ {
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++ }
++#else /* STM8S208 or STM8S207 or STM8S105 or STM8S103 or STM8AF52Ax or STM8AF62Ax or STM8AF626x */
++/**
++ * @brief Timer4 Update/Overflow Interrupt routine.
++ * @param None
++ * @retval None
++ */
++ INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23)
++ {
++
++ // clear timer 4 interrupt flag
++ TIM4_ClearITPendingBit(TIM4_IT_UPDATE);
++
++ // increase 1ms SW clock
++ g_flag1ms = 1;
++ g_count1ms++;
++
++ return;
++ }
++#endif /* (STM8S903) || (STM8AF622x)*/
++
++/**
++ * @brief Eeprom EEC Interrupt routine.
++ * @param None
++ * @retval None
++ */
++INTERRUPT_HANDLER(EEPROM_EEC_IRQHandler, 24)
++{
++ /* In order to detect unexpected events during development,
++ it is recommended to set a breakpoint on the following instruction.
++ */
++ return;
++}
++
++/**
++ * @}
++ */
++
++
++/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_it.h STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_it.h
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/stm8s_it.h 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/stm8s_it.h 2017-08-26 00:27:32.051547898 +0200
+@@ -0,0 +1,203 @@
++/**
++ ******************************************************************************
++ * @file stm8s_it.h
++ * @author MCD Application Team
++ * @version V2.2.0
++ * @date 30-September-2014
++ * @brief This file contains the headers of the interrupt handlers
++ ******************************************************************************
++ * @attention
++ *
++ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
++ *
++ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
++ * You may not use this file except in compliance with the License.
++ * You may obtain a copy of the License at:
++ *
++ * http://www.st.com/software_license_agreement_liberty_v2
++ *
++ * Unless required by applicable law or agreed to in writing, software
++ * distributed under the License is distributed on an "AS IS" BASIS,
++ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ * See the License for the specific language governing permissions and
++ * limitations under the License.
++ *
++ ******************************************************************************
++ */
++
++/* Define to prevent recursive inclusion -------------------------------------*/
++#ifndef __STM8S_IT_H
++#define __STM8S_IT_H
++
++/* Includes ------------------------------------------------------------------*/
++#include "stm8s.h"
++
++/* Exported types ------------------------------------------------------------*/
++/* Exported constants --------------------------------------------------------*/
++/* Exported macro ------------------------------------------------------------*/
++/* Exported functions ------------------------------------------------------- */
++#ifdef _COSMIC_
++ void _stext(void); /* RESET startup routine */
++ INTERRUPT void NonHandledInterrupt(void);
++#endif /* _COSMIC_ */
++
++#if defined (_COSMIC_) || defined (_IAR_)
++ INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
++ INTERRUPT void TLI_IRQHandler(void); /* TLI */
++ INTERRUPT void AWU_IRQHandler(void); /* AWU */
++ INTERRUPT void CLK_IRQHandler(void); /* CLOCK */
++ INTERRUPT void EXTI_PORTA_IRQHandler(void); /* EXTI PORTA */
++ INTERRUPT void EXTI_PORTB_IRQHandler(void); /* EXTI PORTB */
++ INTERRUPT void EXTI_PORTC_IRQHandler(void); /* EXTI PORTC */
++ INTERRUPT void EXTI_PORTD_IRQHandler(void); /* EXTI PORTD */
++ INTERRUPT void EXTI_PORTE_IRQHandler(void); /* EXTI PORTE */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ INTERRUPT void EXTI_PORTF_IRQHandler(void); /* EXTI PORTF */
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined (STM8AF52Ax)
++ INTERRUPT void CAN_RX_IRQHandler(void); /* CAN RX */
++ INTERRUPT void CAN_TX_IRQHandler(void); /* CAN TX/ER/SC */
++#endif /* (STM8S208) || (STM8AF52Ax) */
++
++ INTERRUPT void SPI_IRQHandler(void); /* SPI */
++ INTERRUPT void TIM1_CAP_COM_IRQHandler(void); /* TIM1 CAP/COM */
++ INTERRUPT void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void); /* TIM1 UPD/OVF/TRG/BRK */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ INTERRUPT void TIM5_UPD_OVF_BRK_TRG_IRQHandler(void); /* TIM5 UPD/OVF/BRK/TRG */
++ INTERRUPT void TIM5_CAP_COM_IRQHandler(void); /* TIM5 CAP/COM */
++#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
++ INTERRUPT void TIM2_UPD_OVF_BRK_IRQHandler(void); /* TIM2 UPD/OVF/BRK */
++ INTERRUPT void TIM2_CAP_COM_IRQHandler(void); /* TIM2 CAP/COM */
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
++ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
++ INTERRUPT void TIM3_UPD_OVF_BRK_IRQHandler(void); /* TIM3 UPD/OVF/BRK */
++ INTERRUPT void TIM3_CAP_COM_IRQHandler(void); /* TIM3 CAP/COM */
++#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
++ defined(STM8S003) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8S903)
++ INTERRUPT void UART1_TX_IRQHandler(void); /* UART1 TX */
++ INTERRUPT void UART1_RX_IRQHandler(void); /* UART1 RX */
++#endif /* (STM8S208) || (STM8S207) || (STM8S903) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) */
++
++#if defined (STM8AF622x)
++ INTERRUPT void UART4_TX_IRQHandler(void); /* UART4 TX */
++ INTERRUPT void UART4_RX_IRQHandler(void); /* UART4 RX */
++#endif /* (STM8AF622x) */
++
++ INTERRUPT void I2C_IRQHandler(void); /* I2C */
++
++#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
++ INTERRUPT void UART2_RX_IRQHandler(void); /* UART2 RX */
++ INTERRUPT void UART2_TX_IRQHandler(void); /* UART2 TX */
++#endif /* (STM8S105) || (STM8AF626x) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++ INTERRUPT void UART3_RX_IRQHandler(void); /* UART3 RX */
++ INTERRUPT void UART3_TX_IRQHandler(void); /* UART3 TX */
++#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++ INTERRUPT void ADC2_IRQHandler(void); /* ADC2 */
++#else /* (STM8S105) || (STM8S103) || (STM8S903) || (STM8AF622x) */
++ INTERRUPT void ADC1_IRQHandler(void); /* ADC1 */
++#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ INTERRUPT void TIM6_UPD_OVF_TRG_IRQHandler(void); /* TIM6 UPD/OVF/TRG */
++#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
++ INTERRUPT void TIM4_UPD_OVF_IRQHandler(void); /* TIM4 UPD/OVF */
++#endif /* (STM8S903) || (STM8AF622x) */
++ INTERRUPT void EEPROM_EEC_IRQHandler(void); /* EEPROM ECC CORRECTION */
++
++
++// SDCC patch: __interrupt keyword required after function name --> requires new block
++#elif defined (_SDCC_)
++
++ #if (SKIP_TRAPS==0) // SDCC patch: trap handling requires SDCC >=v3.4.3
++ void TRAP_IRQHandler(void) __trap; /* TRAP */
++ #endif /* USE_TRAPS=1 */
++
++ void TLI_IRQHandler(void) __interrupt(0); /* TLI */
++ void AWU_IRQHandler(void) __interrupt(1); /* AWU */
++ void CLK_IRQHandler(void) INTERRUPT(2); /* CLOCK */
++ void EXTI_PORTA_IRQHandler(void) INTERRUPT(3); /* EXTI PORTA */
++ void EXTI_PORTB_IRQHandler(void) INTERRUPT(4); /* EXTI PORTB */
++ void EXTI_PORTC_IRQHandler(void) INTERRUPT(5); /* EXTI PORTC */
++ void EXTI_PORTD_IRQHandler(void) INTERRUPT(6); /* EXTI PORTD */
++ void EXTI_PORTE_IRQHandler(void) INTERRUPT(7); /* EXTI PORTE */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ void EXTI_PORTF_IRQHandler(void) INTERRUPT(8); /* EXTI PORTF */
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined (STM8AF52Ax)
++ void CAN_RX_IRQHandler(void) INTERRUPT(8); /* CAN RX */
++ void CAN_TX_IRQHandler(void) INTERRUPT(9); /* CAN TX/ER/SC */
++#endif /* (STM8S208) || (STM8AF52Ax) */
++
++ void SPI_IRQHandler(void) INTERRUPT(10); /* SPI */
++ void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void) INTERRUPT(11); /* TIM1 UPD/OVF/TRG/BRK */
++ void TIM1_CAP_COM_IRQHandler(void) INTERRUPT(12); /* TIM1 CAP/COM */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ void TIM5_UPD_OVF_BRK_TRG_IRQHandler(void) INTERRUPT(13); /* TIM5 UPD/OVF/BRK/TRG */
++ void TIM5_CAP_COM_IRQHandler(void) INTERRUPT(14); /* TIM5 CAP/COM */
++#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
++ void TIM2_UPD_OVF_BRK_IRQHandler(void) INTERRUPT(13); /* TIM2 UPD/OVF/BRK */
++ void TIM2_CAP_COM_IRQHandler(void) INTERRUPT(14); /* TIM2 CAP/COM */
++#endif /* (STM8S903) || (STM8AF622x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
++ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
++ void TIM3_UPD_OVF_BRK_IRQHandler(void) INTERRUPT(15); /* TIM3 UPD/OVF/BRK */
++ void TIM3_CAP_COM_IRQHandler(void) INTERRUPT(16); /* TIM3 CAP/COM */
++#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
++
++#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
++ defined(STM8S003) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8S903)
++ void UART1_TX_IRQHandler(void) INTERRUPT(17); /* UART1 TX */
++ void UART1_RX_IRQHandler(void) INTERRUPT(18); /* UART1 RX */
++#endif /* (STM8S208) || (STM8S207) || (STM8S903) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) */
++
++#if defined (STM8AF622x)
++ void UART4_TX_IRQHandler(void) INTERRUPT(17); /* UART4 TX */
++ void UART4_RX_IRQHandler(void) INTERRUPT(18); /* UART4 RX */
++#endif /* (STM8AF622x) */
++
++ void I2C_IRQHandler(void) INTERRUPT(19); /* I2C */
++
++#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
++ void UART2_TX_IRQHandler(void) INTERRUPT(20); /* UART2 TX */
++ void UART2_RX_IRQHandler(void) INTERRUPT(21); /* UART2 RX */
++#endif /* (STM8S105) || (STM8AF626x) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++ void UART3_RX_IRQHandler(void) INTERRUPT(20); /* UART3 RX */
++ void UART3_TX_IRQHandler(void) INTERRUPT(21); /* UART3 TX */
++#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
++
++#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
++ void ADC2_IRQHandler(void) INTERRUPT(22); /* ADC2 */
++#else /* (STM8S105) || (STM8S103) || (STM8S903) || (STM8AF622x) */
++ void ADC1_IRQHandler(void) INTERRUPT(22); /* ADC1 */
++#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ void TIM6_UPD_OVF_TRG_IRQHandler(void) INTERRUPT(23); /* TIM6 UPD/OVF/TRG */
++#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
++ void TIM4_UPD_OVF_IRQHandler(void) INTERRUPT(23); /* TIM4 UPD/OVF */
++#endif /* (STM8S903) || (STM8AF622x) */
++ void EEPROM_EEC_IRQHandler(void) INTERRUPT(24); /* EEPROM ECC CORRECTION */
++
++#endif /* _COSMIC_ || _IAR_ */
++
++#endif /* __STM8S_IT_H */
++
++
++/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,56 @@
+; STMicroelectronics Workspace file
+
@@ -5121,9 +6242,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.stw
+ActiveProject=stm8af52ax
+ActiveConfig=Debug
+AddSortedElements=1
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb 2015-02-23 17:50:30.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,1321 @@
+
+[WorkState_v1_2]
@@ -6446,9 +7567,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wdb
+ToolTips=True
+CoolLook=True
+LargeButtons=False
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed 2015-02-23 17:52:32.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,1295 @@
+
+[WorkState_v1_2]
@@ -7745,43 +8866,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/Project.wed
+WindowPlacement=MCAAAAAAAAAAAAAABAAAAAAAPPPPPPPPPPPPPPPPIPPPPPPPCOPPPPPPCDAAAAAACDAAAAAAJCDAAAAAEPBAAAAA
+IsActiveChildFrame=False
+IsFrameVisible=True
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat 2015-02-19 15:50:44.000000000 +0100
-@@ -0,0 +1,30 @@
-+REM just for output
-+echo off
-+cls
-+
-+REM set make tool (if not in PATH, set complete path)
-+set MAKE=mingw32-make
-+
-+REM set path to STM8 flasher tool (own or by STM)
-+set LOADER=C:\Users\ick2bue\Documents\STM8_serial_flasher\STM8_serial_flasher.exe
-+
-+REM set COM port for flash loader
-+set PORT=7
-+
-+REM name of target hexfile
-+set TARGET=Debug\stm8af52ax.s19
-+
-+REM ask user to put STM8 to bootloader mode
-+echo.
-+echo.
-+echo reset STM8 and press return
-+echo.
-+PAUSE
-+
-+REM upload using STM8 bootloader (use own flash tool or STMFlashLoader by STM)
-+%LOADER% -p COM%PORT% -f %TARGET% -q
-+
-+REM clean up
-+:END
-+PAUSE
-+echo on
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt 2014-10-21 18:31:54.000000000 +0200
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt 2017-08-26 00:27:32.039547990 +0200
@@ -0,0 +1,83 @@
+/** @page project Template project for ST Visual Develop (STVD) toolchain with Cosmic compiler
+
@@ -7866,9 +8953,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/readme.txt S
+
+ * <h3><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h3>
+ */
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 2015-02-19 11:21:34.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,549 @@
+; STMicroelectronics Project file
+
@@ -8419,118 +9506,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/sctg.8 STM8S
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c 2014-10-21 18:31:54.000000000 +0200
-@@ -0,0 +1,104 @@
-+/* BASIC INTERRUPT VECTORS TABLE FOR STM8 devices
-+ * Copyright (c) 2014 STMicroelectronics
-+ */
-+
-+#include "stm8s_it.h"
-+
-+typedef void @far (*interrupt_handler_t)(void);
-+
-+struct interrupt_vector {
-+ u8 interrupt_instruction;
-+ interrupt_handler_t interrupt_handler;
-+};
-+
-+struct interrupt_vector const _vectab[] = {
-+ {0x82, (interrupt_handler_t)_stext}, /* RESET */
-+ {0x82, (interrupt_handler_t)TRAP_IRQHandler}, /* TRAP - Software interrupt */
-+ {0x82, (interrupt_handler_t)TLI_IRQHandler}, /* irq0 - External Top Level interrupt (TLI) */
-+ {0x82, (interrupt_handler_t)AWU_IRQHandler}, /* irq1 - Auto Wake Up from Halt interrupt */
-+ {0x82, (interrupt_handler_t)CLK_IRQHandler}, /* irq2 - Clock Controller interrupt */
-+ {0x82, (interrupt_handler_t)EXTI_PORTA_IRQHandler}, /* irq3 - External interrupt 0 (GPIOA) */
-+ {0x82, (interrupt_handler_t)EXTI_PORTB_IRQHandler}, /* irq4 - External interrupt 1 (GPIOB) */
-+ {0x82, (interrupt_handler_t)EXTI_PORTC_IRQHandler}, /* irq5 - External interrupt 2 (GPIOC) */
-+ {0x82, (interrupt_handler_t)EXTI_PORTD_IRQHandler}, /* irq6 - External interrupt 3 (GPIOD) */
-+ {0x82, (interrupt_handler_t)EXTI_PORTE_IRQHandler}, /* irq7 - External interrupt 4 (GPIOE) */
-+
-+#if defined(STM8S208) || defined(STM8AF52Ax)
-+ {0x82, (interrupt_handler_t)CAN_RX_IRQHandler}, /* irq8 - CAN Rx interrupt */
-+ {0x82, (interrupt_handler_t)CAN_TX_IRQHandler}, /* irq9 - CAN Tx/ER/SC interrupt */
-+#elif defined(STM8S903) || defined(STM8AF622x)
-+ {0x82, (interrupt_handler_t)EXTI_PORTF_IRQHandler}, /* irq8 - External interrupt 5 (GPIOF) */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq9 - Reserved */
-+#else /*STM8S207, STM8S105 or STM8AF62Ax or STM8AF626x*/
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq8 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq9 - Reserved */
-+#endif /* STM8S208 or STM8AF52Ax */
-+ {0x82, (interrupt_handler_t)SPI_IRQHandler}, /* irq10 - SPI End of transfer interrupt */
-+ {0x82, (interrupt_handler_t)TIM1_UPD_OVF_TRG_BRK_IRQHandler}, /* irq11 - TIM1 Update/Overflow/Trigger/Break interrupt */
-+ {0x82, (interrupt_handler_t)TIM1_CAP_COM_IRQHandler}, /* irq12 - TIM1 Capture/Compare interrupt */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ {0x82, (interrupt_handler_t)TIM5_UPD_OVF_BRK_TRG_IRQHandler}, /* irq13 - TIM5 Update/Overflow/Break/Trigger interrupt */
-+ {0x82, (interrupt_handler_t)TIM5_CAP_COM_IRQHandler}, /* irq14 - TIM5 Capture/Compare interrupt */
-+
-+#else /*STM8S208, STM8S207, STM8S105 or STM8S103 or STM8AF62Ax or STM8AF52Ax or STM8AF626x*/
-+ {0x82, (interrupt_handler_t)TIM2_UPD_OVF_BRK_IRQHandler}, /* irq13 - TIM2 Update/Overflow/Break interrupt */
-+ {0x82, (interrupt_handler_t)TIM2_CAP_COM_IRQHandler}, /* irq14 - TIM2 Capture/Compare interrupt */
-+#endif /*STM8S903*/
-+
-+#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
-+ defined(STM8S005) || defined(STM8AF52Ax) || defined(STM8AF62Ax) || defined(STM8AF626x)
-+ {0x82, (interrupt_handler_t)TIM3_UPD_OVF_BRK_IRQHandler}, /* irq15 - TIM3 Update/Overflow/Break interrupt */
-+ {0x82, (interrupt_handler_t)TIM3_CAP_COM_IRQHandler}, /* irq16 - TIM3 Capture/Compare interrupt */
-+#else
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq15 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq16 - Reserved */
-+#endif /*STM8S208, STM8S207, STM8S105 or STM8AF62Ax or STM8AF52Ax or STM8AF626x*/
-+
-+#if defined(STM8S105) || defined(STM8S005) || defined(STM8AF626x)
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq17 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq18 - Reserved */
-+#elif defined (STM8AF622x)
-+ {0x82, (interrupt_handler_t)UART4_TX_IRQHandler}, /* irq17 - UART4 Tx complete interrupt */
-+ {0x82, (interrupt_handler_t)UART4_RX_IRQHandler}, /* irq18 - UART4 Rx interrupt */
-+#else
-+ {0x82, (interrupt_handler_t)UART1_TX_IRQHandler}, /* irq17 - UART1 Tx complete interrupt */
-+ {0x82, (interrupt_handler_t)UART1_RX_IRQHandler}, /* irq18 - UART1 Rx interrupt */
-+#endif /*STM8S105 or STM8AF626x */
-+ {0x82, (interrupt_handler_t)I2C_IRQHandler}, /* irq19 - I2C interrupt */
-+
-+#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8AF52Ax) || defined(STM8AF62Ax)
-+
-+ {0x82, (interrupt_handler_t)UART3_TX_IRQHandler}, /* irq20 - UART3 Tx interrupt */
-+ {0x82, (interrupt_handler_t)UART3_RX_IRQHandler}, /* irq21 - UART3 Rx interrupt */
-+#elif defined(STM8S105) || defined(STM8S005) || defined(STM8AF626x)
-+ {0x82, (interrupt_handler_t)UART2_TX_IRQHandler}, /* irq20 - UART2 Tx interrupt */
-+ {0x82, (interrupt_handler_t)UART2_RX_IRQHandler}, /* irq21 - UART2 Rx interrupt */
-+
-+#else /* STM8S103, STM8S903, STM8AF622x */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq20 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq21 - Reserved */
-+#endif /* STM8S208, STM8S207, STM8AF52Ax or STM8AF62Ax */
-+
-+#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8AF52Ax) || defined(STM8AF62Ax)
-+ {0x82, (interrupt_handler_t)ADC2_IRQHandler}, /* irq22 - ADC2 end of conversion interrupt */
-+#else /* STM8S105, STM8S103, STM8S903, STM8AF622x */
-+ {0x82, (interrupt_handler_t)ADC1_IRQHandler}, /* irq22 - ADC1 end of conversion/Analog watchdog interrupts */
-+
-+#endif /* STM8S208, STM8S207, STM8AF52Ax or STM8AF62Ax */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ {0x82, (interrupt_handler_t)TIM6_UPD_OVF_TRG_IRQHandler}, /* irq23 - TIM6 Update/Overflow/Trigger interrupt */
-+#else
-+ {0x82, (interrupt_handler_t)TIM4_UPD_OVF_IRQHandler}, /* irq23 - TIM4 Update/Overflow interrupt */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+ {0x82, (interrupt_handler_t)EEPROM_EEC_IRQHandler}, /* irq24 - FLASH interrupt */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq25 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq26 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq27 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq28 - Reserved */
-+ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq29 - Reserved */
-+
-+};
-+
-+/******************* (C) COPYRIGHT 2014 STMicroelectronics *****END OF FILE****/
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,80 @@
+; STMicroelectronics dependencies file
+
@@ -8612,10 +9591,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.d
+
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c.Config.0]
+ExternDep= ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c "C:\Program Files\COSMIC\CXSTM8\Hstm8\modsl0.h" ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_wwdg.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s.h ..\..\..\stm8s_stdperiph_template\stm8s_conf.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_adc2.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_awu.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_beep.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_can.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_clk.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_exti.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_flash.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_gpio.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_i2c.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_itc.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_iwdg.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_rst.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_spi.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_tim1.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_tim2.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_tim3.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_tim4.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_uart1.h ..\..\..\..\libraries\stm8s_stdperiph_driver\inc\stm8s_uart3.h
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb 2015-02-23 17:50:30.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.pdb 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,39 @@
+[DebugState_v1-Debug.DebugContext]
+DumpRWOnFly1=0
@@ -8656,9 +9635,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.p
+ICDBreak0=CR:0x00000000,BK1:0x00000000,BK2:0x00000000
+[DebugState_v1-Debug.AddOn.SteppingMode]
+Mode=hardware
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp 2015-02-19 15:52:36.000000000 +0100
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,561 @@
+; STMicroelectronics Project file
+
@@ -9221,20 +10200,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af52ax.s
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp 2015-02-19 11:21:36.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,460 @@
+; STMicroelectronics Project file
+
@@ -9696,20 +10675,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af622x.s
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp 2015-02-19 11:21:34.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,466 @@
+; STMicroelectronics Project file
+
@@ -10177,20 +11156,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af626x.s
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp 2015-02-19 11:21:34.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,549 @@
+; STMicroelectronics Project file
+
@@ -10741,20 +11720,128 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8af62ax.s
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8_interrupt_vector.c 2017-08-26 00:27:32.043547959 +0200
+@@ -0,0 +1,104 @@
++/* BASIC INTERRUPT VECTORS TABLE FOR STM8 devices
++ * Copyright (c) 2014 STMicroelectronics
++ */
++
++#include "stm8s_it.h"
++
++typedef void @far (*interrupt_handler_t)(void);
++
++struct interrupt_vector {
++ u8 interrupt_instruction;
++ interrupt_handler_t interrupt_handler;
++};
++
++struct interrupt_vector const _vectab[] = {
++ {0x82, (interrupt_handler_t)_stext}, /* RESET */
++ {0x82, (interrupt_handler_t)TRAP_IRQHandler}, /* TRAP - Software interrupt */
++ {0x82, (interrupt_handler_t)TLI_IRQHandler}, /* irq0 - External Top Level interrupt (TLI) */
++ {0x82, (interrupt_handler_t)AWU_IRQHandler}, /* irq1 - Auto Wake Up from Halt interrupt */
++ {0x82, (interrupt_handler_t)CLK_IRQHandler}, /* irq2 - Clock Controller interrupt */
++ {0x82, (interrupt_handler_t)EXTI_PORTA_IRQHandler}, /* irq3 - External interrupt 0 (GPIOA) */
++ {0x82, (interrupt_handler_t)EXTI_PORTB_IRQHandler}, /* irq4 - External interrupt 1 (GPIOB) */
++ {0x82, (interrupt_handler_t)EXTI_PORTC_IRQHandler}, /* irq5 - External interrupt 2 (GPIOC) */
++ {0x82, (interrupt_handler_t)EXTI_PORTD_IRQHandler}, /* irq6 - External interrupt 3 (GPIOD) */
++ {0x82, (interrupt_handler_t)EXTI_PORTE_IRQHandler}, /* irq7 - External interrupt 4 (GPIOE) */
++
++#if defined(STM8S208) || defined(STM8AF52Ax)
++ {0x82, (interrupt_handler_t)CAN_RX_IRQHandler}, /* irq8 - CAN Rx interrupt */
++ {0x82, (interrupt_handler_t)CAN_TX_IRQHandler}, /* irq9 - CAN Tx/ER/SC interrupt */
++#elif defined(STM8S903) || defined(STM8AF622x)
++ {0x82, (interrupt_handler_t)EXTI_PORTF_IRQHandler}, /* irq8 - External interrupt 5 (GPIOF) */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq9 - Reserved */
++#else /*STM8S207, STM8S105 or STM8AF62Ax or STM8AF626x*/
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq8 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq9 - Reserved */
++#endif /* STM8S208 or STM8AF52Ax */
++ {0x82, (interrupt_handler_t)SPI_IRQHandler}, /* irq10 - SPI End of transfer interrupt */
++ {0x82, (interrupt_handler_t)TIM1_UPD_OVF_TRG_BRK_IRQHandler}, /* irq11 - TIM1 Update/Overflow/Trigger/Break interrupt */
++ {0x82, (interrupt_handler_t)TIM1_CAP_COM_IRQHandler}, /* irq12 - TIM1 Capture/Compare interrupt */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ {0x82, (interrupt_handler_t)TIM5_UPD_OVF_BRK_TRG_IRQHandler}, /* irq13 - TIM5 Update/Overflow/Break/Trigger interrupt */
++ {0x82, (interrupt_handler_t)TIM5_CAP_COM_IRQHandler}, /* irq14 - TIM5 Capture/Compare interrupt */
++
++#else /*STM8S208, STM8S207, STM8S105 or STM8S103 or STM8AF62Ax or STM8AF52Ax or STM8AF626x*/
++ {0x82, (interrupt_handler_t)TIM2_UPD_OVF_BRK_IRQHandler}, /* irq13 - TIM2 Update/Overflow/Break interrupt */
++ {0x82, (interrupt_handler_t)TIM2_CAP_COM_IRQHandler}, /* irq14 - TIM2 Capture/Compare interrupt */
++#endif /*STM8S903*/
++
++#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
++ defined(STM8S005) || defined(STM8AF52Ax) || defined(STM8AF62Ax) || defined(STM8AF626x)
++ {0x82, (interrupt_handler_t)TIM3_UPD_OVF_BRK_IRQHandler}, /* irq15 - TIM3 Update/Overflow/Break interrupt */
++ {0x82, (interrupt_handler_t)TIM3_CAP_COM_IRQHandler}, /* irq16 - TIM3 Capture/Compare interrupt */
++#else
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq15 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq16 - Reserved */
++#endif /*STM8S208, STM8S207, STM8S105 or STM8AF62Ax or STM8AF52Ax or STM8AF626x*/
++
++#if defined(STM8S105) || defined(STM8S005) || defined(STM8AF626x)
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq17 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq18 - Reserved */
++#elif defined (STM8AF622x)
++ {0x82, (interrupt_handler_t)UART4_TX_IRQHandler}, /* irq17 - UART4 Tx complete interrupt */
++ {0x82, (interrupt_handler_t)UART4_RX_IRQHandler}, /* irq18 - UART4 Rx interrupt */
++#else
++ {0x82, (interrupt_handler_t)UART1_TX_IRQHandler}, /* irq17 - UART1 Tx complete interrupt */
++ {0x82, (interrupt_handler_t)UART1_RX_IRQHandler}, /* irq18 - UART1 Rx interrupt */
++#endif /*STM8S105 or STM8AF626x */
++ {0x82, (interrupt_handler_t)I2C_IRQHandler}, /* irq19 - I2C interrupt */
++
++#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8AF52Ax) || defined(STM8AF62Ax)
++
++ {0x82, (interrupt_handler_t)UART3_TX_IRQHandler}, /* irq20 - UART3 Tx interrupt */
++ {0x82, (interrupt_handler_t)UART3_RX_IRQHandler}, /* irq21 - UART3 Rx interrupt */
++#elif defined(STM8S105) || defined(STM8S005) || defined(STM8AF626x)
++ {0x82, (interrupt_handler_t)UART2_TX_IRQHandler}, /* irq20 - UART2 Tx interrupt */
++ {0x82, (interrupt_handler_t)UART2_RX_IRQHandler}, /* irq21 - UART2 Rx interrupt */
++
++#else /* STM8S103, STM8S903, STM8AF622x */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq20 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq21 - Reserved */
++#endif /* STM8S208, STM8S207, STM8AF52Ax or STM8AF62Ax */
++
++#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8AF52Ax) || defined(STM8AF62Ax)
++ {0x82, (interrupt_handler_t)ADC2_IRQHandler}, /* irq22 - ADC2 end of conversion interrupt */
++#else /* STM8S105, STM8S103, STM8S903, STM8AF622x */
++ {0x82, (interrupt_handler_t)ADC1_IRQHandler}, /* irq22 - ADC1 end of conversion/Analog watchdog interrupts */
++
++#endif /* STM8S208, STM8S207, STM8AF52Ax or STM8AF62Ax */
++
++#if defined(STM8S903) || defined(STM8AF622x)
++ {0x82, (interrupt_handler_t)TIM6_UPD_OVF_TRG_IRQHandler}, /* irq23 - TIM6 Update/Overflow/Trigger interrupt */
++#else
++ {0x82, (interrupt_handler_t)TIM4_UPD_OVF_IRQHandler}, /* irq23 - TIM4 Update/Overflow interrupt */
++#endif /* (STM8S903) || (STM8AF622x) */
++ {0x82, (interrupt_handler_t)EEPROM_EEC_IRQHandler}, /* irq24 - FLASH interrupt */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq25 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq26 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq27 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq28 - Reserved */
++ {0x82, (interrupt_handler_t)NonHandledInterrupt}, /* irq29 - Reserved */
++
++};
++
++/******************* (C) COPYRIGHT 2014 STMicroelectronics *****END OF FILE****/
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp 2015-02-19 11:21:36.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,461 @@
+; STMicroelectronics Project file
+
@@ -11217,20 +12304,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s003.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp 2015-02-19 11:21:36.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,465 @@
+; STMicroelectronics Project file
+
@@ -11697,20 +12784,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s005.stp
+[Root.StdPeriph_Driver...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.dep 2017-08-26 00:27:32.043547959 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp 2015-02-19 11:21:34.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,549 @@
+; STMicroelectronics Project file
+
@@ -12261,20 +13348,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s007.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.dep 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp 2015-02-19 11:21:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,459 @@
+; STMicroelectronics Project file
+
@@ -12735,20 +13822,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s103.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.dep 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp 2015-02-19 11:21:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,464 @@
+; STMicroelectronics Project file
+
@@ -13214,20 +14301,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s105.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.dep 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp 2015-02-19 11:21:30.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,547 @@
+; STMicroelectronics Project file
+
@@ -13776,20 +14863,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s207.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.dep 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp 2015-02-19 11:21:30.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,553 @@
+; STMicroelectronics Project file
+
@@ -14344,20 +15431,20 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s208.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep 2015-02-23 17:52:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.dep 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,5 @@
+; STMicroelectronics dependencies file
+
+[Version]
+Keyword=ST7Project
+Number=1.3
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp 2015-02-19 11:21:32.000000000 +0100
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,461 @@
+; STMicroelectronics Project file
+
@@ -14820,10 +15907,44 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Cosmic/stm8s903.stp
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Cosmic/_WIN_upload.bat 2017-08-26 00:27:32.039547990 +0200
+@@ -0,0 +1,30 @@
++REM just for output
++echo off
++cls
++
++REM set make tool (if not in PATH, set complete path)
++set MAKE=mingw32-make
++
++REM set path to STM8 flasher tool (own or by STM)
++set LOADER=C:\Users\ick2bue\Documents\STM8_serial_flasher\STM8_serial_flasher.exe
++
++REM set COM port for flash loader
++set PORT=7
++
++REM name of target hexfile
++set TARGET=Debug\stm8af52ax.s19
++
++REM ask user to put STM8 to bootloader mode
++echo.
++echo.
++echo reset STM8 and press return
++echo.
++PAUSE
++
++REM upload using STM8 bootloader (use own flash tool or STMFlashLoader by STM)
++%LOADER% -p COM%PORT% -f %TARGET% -q
++
++REM clean up
++:END
++PAUSE
++echo on
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.stw 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,56 @@
+; STMicroelectronics Workspace file
+
@@ -14881,9 +16002,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/Project.
+ActiveProject=stm8s208
+ActiveConfig=Debug
+AddSortedElements=0
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt 2014-10-21 18:31:54.000000000 +0200
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.txt 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,85 @@
+/** @page project_r Template project for ST Visual Develop (STVD) toolchain with Raisonance compiler
+
@@ -14970,9 +16091,9 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/readme.t
+ * <h3><center>&copy; COPYRIGHT 2011 STMicroelectronics</center></h3>
+ */
+
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp 2014-10-21 18:31:54.000000000 +0200
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52ax.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,521 @@
+; STMicroelectronics Project file
+
@@ -15495,10 +16616,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af52
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc2.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc2.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af622x.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,428 @@
+; STMicroelectronics Project file
+
@@ -15928,10 +17049,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc1.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc1.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af626x.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,434 @@
+; STMicroelectronics Project file
+
@@ -16367,10 +17488,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc1.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc1.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62ax.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,517 @@
+; STMicroelectronics Project file
+
@@ -16889,10 +18010,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8af62
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc2.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_adc2.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,427 @@
+; STMicroelectronics Project file
+
@@ -17321,10 +18442,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s003
+[Root.StdPeriph_Driver...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005.stp 2017-08-26 00:27:32.047547928 +0200
@@ -0,0 +1,432 @@
+; STMicroelectronics Project file
+
@@ -17758,10 +18879,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s005
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,515 @@
+; STMicroelectronics Project file
+
@@ -18278,10 +19399,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s007
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,427 @@
+; STMicroelectronics Project file
+
@@ -18710,10 +19831,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s103
+[Root.StdPeriph_Driver...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,432 @@
+; STMicroelectronics Project file
+
@@ -19147,10 +20268,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s105
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,515 @@
+; STMicroelectronics Project file
+
@@ -19667,10 +20788,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s207
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,520 @@
+; STMicroelectronics Project file
+
@@ -20192,10 +21313,10 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s208
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp 2014-10-21 18:31:54.000000000 +0200
+\ Kein Zeilenumbruch am Dateiende.
+diff -Nur STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp
+--- STM8S_StdPeriph_Lib.orig/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp 1970-01-01 01:00:00.000000000 +0100
++++ STM8S_StdPeriph_Lib/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903.stp 2017-08-26 00:27:32.051547898 +0200
@@ -0,0 +1,428 @@
+; STMicroelectronics Project file
+
@@ -20625,1114 +21746,4 @@ diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/STVD/Raisonance/stm8s903
+[Root.StdPeriph_Drivers...\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c]
+ElemType=File
+PathName=..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/main.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/main.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/main.c 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/main.c 2015-03-29 17:34:54.000000000 +0200
-@@ -0,0 +1,214 @@
-+/**
-+ ******************************************************************************
-+ * @file Project/main.c
-+ * @author MCD Application Team
-+ * @version V2.2.0
-+ * @date 30-September-2014
-+ * @brief Main program body
-+ ******************************************************************************
-+ * @attention
-+ *
-+ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
-+ *
-+ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
-+ * You may not use this file except in compliance with the License.
-+ * You may obtain a copy of the License at:
-+ *
-+ * http://www.st.com/software_license_agreement_liberty_v2
-+ *
-+ * Unless required by applicable law or agreed to in writing, software
-+ * distributed under the License is distributed on an "AS IS" BASIS,
-+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-+ * See the License for the specific language governing permissions and
-+ * limitations under the License.
-+ *
-+ ******************************************************************************
-+ */
-+
-+
-+/* Includes ------------------------------------------------------------------*/
-+#include "stm8s.h"
-+#include "stdio.h"
-+
-+
-+/* Private typedef -----------------------------------------------------------*/
-+/* Private define ------------------------------------------------------------*/
-+#ifdef _RAISONANCE_
-+#define PUTCHAR_PROTOTYPE int putchar (char c)
-+#define GETCHAR_PROTOTYPE int getchar (void)
-+#elif defined (_COSMIC_)
-+#define PUTCHAR_PROTOTYPE char putchar (char c)
-+#define GETCHAR_PROTOTYPE char getchar (void)
-+#elif defined (_SDCC_) // SDCC Patch: declared same as stdio.h
-+#define PUTCHAR_PROTOTYPE void putchar (char c)
-+#define GETCHAR_PROTOTYPE char getchar (void)
-+#else /* _IAR_ */
-+#define PUTCHAR_PROTOTYPE int putchar (int c)
-+#define GETCHAR_PROTOTYPE int getchar (void)
-+#endif /* _RAISONANCE_ */
-+/* Private macro -------------------------------------------------------------*/
-+
-+/* Private variables ---------------------------------------------------------*/
-+uint8_t g_flag1ms=0; // flag for 1ms interrupt (for TIM4 ISR)
-+uint32_t g_count1ms=0; // 1ms counter (for TIM4 ISR)
-+
-+/* Private function prototypes -----------------------------------------------*/
-+/* Private functions ---------------------------------------------------------*/
-+
-+
-+void main(void)
-+{
-+ uint8_t val = 0x00;
-+ uint32_t addr = 0x40A5; // address for flash read/write
-+
-+
-+ /* init High speed internal clock prescaler: 1 */
-+ CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1);
-+
-+ /* Initialize LED pins in Output Mode */
-+ GPIO_Init(GPIOH, (GPIO_Pin_TypeDef)(GPIO_PIN_2 | GPIO_PIN_3), GPIO_MODE_OUT_PP_LOW_FAST);
-+ GPIO_WriteHigh(GPIOH, (GPIO_Pin_TypeDef)(GPIO_PIN_2 | GPIO_PIN_3));
-+
-+ // config 1ms clock
-+ TIM4_DeInit();
-+ TIM4_TimeBaseInit(TIM4_PRESCALER_128, 124);
-+ TIM4_ClearFlag(TIM4_FLAG_UPDATE);
-+ TIM4_ITConfig(TIM4_IT_UPDATE, ENABLE);
-+ TIM4_Cmd(ENABLE);
-+
-+ // init UART1 to 115.2kBaud, 1/8/1, no parity, no clock
-+ UART1_DeInit();
-+ UART1_Init((uint32_t)115200, UART1_WORDLENGTH_8D, UART1_STOPBITS_1, UART1_PARITY_NO,
-+ UART1_SYNCMODE_CLOCK_DISABLE, UART1_MODE_TXRX_ENABLE);
-+
-+ /* Define FLASH programming time */
-+ FLASH_SetProgrammingTime(FLASH_PROGRAMTIME_STANDARD);
-+
-+ /* Unlock Data memory */
-+ FLASH_Unlock(FLASH_MEMTYPE_DATA);
-+
-+ // enable interrupts
-+ enableInterrupts();
-+
-+ while (1)
-+ {
-+ // if key pressed, send echo and store to flash
-+ if (UART1_GetFlagStatus(UART1_FLAG_RXNE))
-+ {
-+ val = getchar();
-+ printf("%c", val);
-+
-+ FLASH_ProgramByte(addr, val);
-+ }
-+
-+ // every 1ms
-+ if (g_flag1ms)
-+ {
-+ g_flag1ms=0;
-+
-+ if (g_count1ms > 500)
-+ {
-+ g_count1ms=0;
-+ GPIO_WriteReverse(GPIOH, (GPIO_Pin_TypeDef)GPIO_PIN_2);
-+
-+ /* Read byte from flash */
-+ val = FLASH_ReadByte(addr);
-+
-+ /* Program value+1 at address + 1 */
-+ FLASH_ProgramByte(addr+1, val+1);
-+
-+ /* check flash content */
-+ printf("write: ");
-+ val = FLASH_ReadByte(addr);
-+ printf("%c ", val);
-+ val = FLASH_ReadByte(addr+1);
-+ printf("%c ", val);
-+
-+
-+ /* erase both bytes in flash */
-+ FLASH_EraseByte(addr);
-+ FLASH_EraseByte((addr + 1));
-+
-+ /* check flash content */
-+ printf("erase: ");
-+ val = FLASH_ReadByte(addr);
-+ printf("%d ", (int) val);
-+ val = FLASH_ReadByte(addr+1);
-+ printf("%d ", (int) val);
-+
-+ // print LF+CR
-+ printf("%c%c", 10,13);
-+
-+ } // every 500ms
-+
-+ } // every 1ms
-+
-+ } // main loop
-+
-+} // main()
-+
-+
-+/**
-+ * @brief Retargets the C library printf function to the UART.
-+ * @param c Character to send
-+ * @retval char Character sent
-+ */
-+PUTCHAR_PROTOTYPE
-+{
-+ /* Write a character to the UART1 */
-+ UART1_SendData8(c);
-+ /* Loop until the end of transmission */
-+ while (UART1_GetFlagStatus(UART1_FLAG_TXE) == RESET);
-+
-+#if !defined(_SDCC_) // SDCC patch: declared as void putchar(char)
-+ return (c);
-+#endif
-+}
-+
-+
-+/**
-+ * @brief Retargets the C library scanf function to the USART.
-+ * @param None
-+ * @retval char Character to Read
-+ */
-+GETCHAR_PROTOTYPE
-+{
-+#ifdef _COSMIC_
-+ char c = 0;
-+#else
-+ int c = 0;
-+#endif
-+ /* Loop until the Read data register flag is SET */
-+ while (UART1_GetFlagStatus(UART1_FLAG_RXNE) == RESET);
-+ c = UART1_ReceiveData8();
-+ return (c);
-+}
-+
-+
-+#ifdef USE_FULL_ASSERT
-+
-+/**
-+ * @brief Reports the name of the source file and the source line number
-+ * where the assert_param error has occurred.
-+ * @param file: pointer to the source file name
-+ * @param line: assert_param error line source number
-+ * @retval None
-+ */
-+void assert_failed(uint8_t* file, uint32_t line)
-+{
-+ /* User can add his own implementation to report the file name and line number,
-+ ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
-+
-+ /* Infinite loop */
-+ while (1)
-+ {
-+ }
-+}
-+#endif
-+
-+/**
-+ * @}
-+ */
-+
-+
-+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_conf.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_conf.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_conf.h 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_conf.h 2015-02-23 18:22:44.000000000 +0100
-@@ -0,0 +1,116 @@
-+/**
-+ ******************************************************************************
-+ * @file stm8s_conf.h
-+ * @author MCD Application Team
-+ * @version V2.2.0
-+ * @date 30-September-2014
-+ * @brief This file is used to configure the Library.
-+ ******************************************************************************
-+ * @attention
-+ *
-+ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
-+ *
-+ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
-+ * You may not use this file except in compliance with the License.
-+ * You may obtain a copy of the License at:
-+ *
-+ * http://www.st.com/software_license_agreement_liberty_v2
-+ *
-+ * Unless required by applicable law or agreed to in writing, software
-+ * distributed under the License is distributed on an "AS IS" BASIS,
-+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-+ * See the License for the specific language governing permissions and
-+ * limitations under the License.
-+ *
-+ ******************************************************************************
-+ */
-+
-+/* Define to prevent recursive inclusion -------------------------------------*/
-+#ifndef __STM8S_CONF_H
-+#define __STM8S_CONF_H
-+
-+/* Includes ------------------------------------------------------------------*/
-+#include "stm8s.h"
-+
-+/* Uncomment the line below to enable peripheral header file inclusion */
-+#if defined(STM8S105) || defined(STM8S005) || defined(STM8S103) || defined(STM8S003) ||\
-+ defined(STM8S903) || defined (STM8AF626x) || defined (STM8AF622x)
-+#include "stm8s_adc1.h"
-+#endif /* (STM8S105) ||(STM8S103) || (STM8S903) || (STM8AF626x) || (STM8AF622x) */
-+#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) || defined (STM8AF52Ax) ||\
-+ defined (STM8AF62Ax)
-+ #include "stm8s_adc2.h"
-+#endif /* (STM8S208) || (STM8S207) || (STM8AF62Ax) || (STM8AF52Ax) */
-+#include "stm8s_awu.h"
-+#include "stm8s_beep.h"
-+#if defined (STM8S208) || defined (STM8AF52Ax)
-+ #include "stm8s_can.h"
-+#endif /* (STM8S208) || (STM8AF52Ax) */
-+#include "stm8s_clk.h"
-+#include "stm8s_exti.h"
-+#include "stm8s_flash.h"
-+#include "stm8s_gpio.h"
-+#include "stm8s_i2c.h"
-+#include "stm8s_itc.h"
-+#include "stm8s_iwdg.h"
-+#include "stm8s_rst.h"
-+#include "stm8s_spi.h"
-+#include "stm8s_tim1.h"
-+#if !defined(STM8S903) || !defined(STM8AF622x)
-+ #include "stm8s_tim2.h"
-+#endif /* (STM8S903) || (STM8AF622x) */
-+#if defined(STM8S208) || defined(STM8S207) || defined(STM8S007) ||defined(STM8S105) ||\
-+ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
-+ #include "stm8s_tim3.h"
-+#endif /* (STM8S208) ||defined(STM8S207) || defined(STM8S007) ||defined(STM8S105) */
-+#if !defined(STM8S903) || !defined(STM8AF622x)
-+ #include "stm8s_tim4.h"
-+#endif /* (STM8S903) || (STM8AF622x) */
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ #include "stm8s_tim5.h"
-+ #include "stm8s_tim6.h"
-+#endif /* (STM8S903) || (STM8AF622x) */
-+#if defined(STM8S208) ||defined(STM8S207) || defined(STM8S007) ||defined(STM8S103) ||\
-+ defined(STM8S003) || defined(STM8S903) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+ #include "stm8s_uart1.h"
-+#endif /* (STM8S208) || (STM8S207) || (STM8S103) || (STM8S903) || (STM8AF52Ax) || (STM8AF62Ax) */
-+#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
-+ #include "stm8s_uart2.h"
-+#endif /* (STM8S105) || (STM8AF626x) */
-+#if defined(STM8S208) ||defined(STM8S207) || defined(STM8S007) || defined (STM8AF52Ax) ||\
-+ defined (STM8AF62Ax)
-+ #include "stm8s_uart3.h"
-+#endif /* STM8S208 || STM8S207 || STM8AF52Ax || STM8AF62Ax */
-+#if defined(STM8AF622x)
-+ #include "stm8s_uart4.h"
-+#endif /* (STM8AF622x) */
-+#include "stm8s_wwdg.h"
-+
-+/* Exported types ------------------------------------------------------------*/
-+/* Exported constants --------------------------------------------------------*/
-+/* Uncomment the line below to expanse the "assert_param" macro in the
-+ Standard Peripheral Library drivers code */
-+#define USE_FULL_ASSERT (0)
-+
-+/* Exported macro ------------------------------------------------------------*/
-+#ifdef USE_FULL_ASSERT
-+
-+/**
-+ * @brief The assert_param macro is used for function's parameters check.
-+ * @param expr: If expr is false, it calls assert_failed function
-+ * which reports the name of the source file and the source
-+ * line number of the call that failed.
-+ * If expr is true, it returns no value.
-+ * @retval : None
-+ */
-+#define assert_param(expr) ((expr) ? (void)0 : assert_failed((uint8_t *)__FILE__, __LINE__))
-+/* Exported functions ------------------------------------------------------- */
-+void assert_failed(uint8_t* file, uint32_t line);
-+#else
-+#define assert_param(expr) ((void)0)
-+#endif /* USE_FULL_ASSERT */
-+
-+#endif /* __STM8S_CONF_H */
-+
-+
-+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_it.c STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_it.c
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_it.c 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_it.c 2015-03-08 19:13:45.000000000 +0100
-@@ -0,0 +1,559 @@
-+/**
-+ ******************************************************************************
-+ * @file stm8s_it.c
-+ * @author MCD Application Team
-+ * @version V2.2.0
-+ * @date 30-September-2014
-+ * @brief Main Interrupt Service Routines.
-+ * This file provides template for all peripherals interrupt service
-+ * routine.
-+ ******************************************************************************
-+ * @attention
-+ *
-+ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
-+ *
-+ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
-+ * You may not use this file except in compliance with the License.
-+ * You may obtain a copy of the License at:
-+ *
-+ * http://www.st.com/software_license_agreement_liberty_v2
-+ *
-+ * Unless required by applicable law or agreed to in writing, software
-+ * distributed under the License is distributed on an "AS IS" BASIS,
-+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-+ * See the License for the specific language governing permissions and
-+ * limitations under the License.
-+ *
-+ ******************************************************************************
-+ */
-+
-+/* Includes ------------------------------------------------------------------*/
-+#include "stm8s_it.h"
-+
-+/** @addtogroup Template_Project
-+ * @{
-+ */
-+
-+/* Private typedef -----------------------------------------------------------*/
-+/* Private define ------------------------------------------------------------*/
-+/* Private macro -------------------------------------------------------------*/
-+/* Private variables ---------------------------------------------------------*/
-+/* Private function prototypes -----------------------------------------------*/
-+/* Private functions ---------------------------------------------------------*/
-+/* Public functions ----------------------------------------------------------*/
-+
-+extern uint8_t g_flag1ms; // flag for 1ms interrupt (for TIM4 ISR)
-+extern uint32_t g_count1ms; // 1ms counter (for TIM4 ISR)
-+
-+
-+#ifdef _COSMIC_
-+/**
-+ * @brief Dummy Interrupt routine
-+ * @par Parameters:
-+ * None
-+ * @retval
-+ * None
-+*/
-+INTERRUPT_HANDLER(NonHandledInterrupt, 25)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+#endif /*_COSMIC_*/
-+
-+/**
-+ * @brief TRAP Interrupt routine
-+ * @param None
-+ * @retval None
-+ */
-+#if !defined(_SDCC_) || (SKIP_TRAPS!=1) // SDCC patch: trap handling requires SDCC >=v3.4.3
-+INTERRUPT_HANDLER_TRAP(TRAP_IRQHandler)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+#endif
-+
-+/**
-+ * @brief Top Level Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(TLI_IRQHandler, 0)
-+
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief Auto Wake Up Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(AWU_IRQHandler, 1)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief Clock Controller Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(CLK_IRQHandler, 2)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief External Interrupt PORTA Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EXTI_PORTA_IRQHandler, 3)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief External Interrupt PORTB Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EXTI_PORTB_IRQHandler, 4)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief External Interrupt PORTC Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EXTI_PORTC_IRQHandler, 5)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief External Interrupt PORTD Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EXTI_PORTD_IRQHandler, 6)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief External Interrupt PORTE Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EXTI_PORTE_IRQHandler, 7)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+#if defined (STM8S903) || defined (STM8AF622x)
-+/**
-+ * @brief External Interrupt PORTF Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(EXTI_PORTF_IRQHandler, 8)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined (STM8AF52Ax)
-+/**
-+ * @brief CAN RX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(CAN_RX_IRQHandler, 8)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief CAN TX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(CAN_TX_IRQHandler, 9)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S208) || (STM8AF52Ax) */
-+
-+/**
-+ * @brief SPI Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(SPI_IRQHandler, 10)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief Timer1 Update/Overflow/Trigger/Break Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(TIM1_UPD_OVF_TRG_BRK_IRQHandler, 11)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @brief Timer1 Capture/Compare Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(TIM1_CAP_COM_IRQHandler, 12)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+#if defined (STM8S903) || defined (STM8AF622x)
-+/**
-+ * @brief Timer5 Update/Overflow/Break/Trigger Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM5_UPD_OVF_BRK_TRG_IRQHandler, 13)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief Timer5 Capture/Compare Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM5_CAP_COM_IRQHandler, 14)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-+/**
-+ * @brief Timer2 Update/Overflow/Break Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM2_UPD_OVF_BRK_IRQHandler, 13)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief Timer2 Capture/Compare Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM2_CAP_COM_IRQHandler, 14)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
-+ defined(STM8S005) || defined (STM8AF62Ax) || defined (STM8AF52Ax) || defined (STM8AF626x)
-+/**
-+ * @brief Timer3 Update/Overflow/Break Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM3_UPD_OVF_BRK_IRQHandler, 15)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief Timer3 Capture/Compare Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM3_CAP_COM_IRQHandler, 16)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
-+ defined(STM8S003) || defined (STM8AF62Ax) || defined (STM8AF52Ax) || defined (STM8S903)
-+/**
-+ * @brief UART1 TX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART1_TX_IRQHandler, 17)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief UART1 RX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART1_RX_IRQHandler, 18)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S208) || (STM8S207) || (STM8S103) || (STM8S903) || (STM8AF62Ax) || (STM8AF52Ax) */
-+
-+#if defined(STM8AF622x)
-+/**
-+ * @brief UART4 TX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART4_TX_IRQHandler, 17)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief UART4 RX Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART4_RX_IRQHandler, 18)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8AF622x) */
-+
-+/**
-+ * @brief I2C Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(I2C_IRQHandler, 19)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
-+/**
-+ * @brief UART2 TX interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART2_TX_IRQHandler, 20)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief UART2 RX interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART2_RX_IRQHandler, 21)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S105) || (STM8AF626x) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+/**
-+ * @brief UART3 TX interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART3_TX_IRQHandler, 20)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+
-+/**
-+ * @brief UART3 RX interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(UART3_RX_IRQHandler, 21)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+/**
-+ * @brief ADC2 interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(ADC2_IRQHandler, 22)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#else /* STM8S105 or STM8S103 or STM8S903 or STM8AF626x or STM8AF622x */
-+/**
-+ * @brief ADC1 interrupt routine.
-+ * @par Parameters:
-+ * None
-+ * @retval
-+ * None
-+ */
-+ INTERRUPT_HANDLER(ADC1_IRQHandler, 22)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#endif /* (STM8S208) || (STM8S207) || (STM8AF52Ax) || (STM8AF62Ax) */
-+
-+#if defined (STM8S903) || defined (STM8AF622x)
-+/**
-+ * @brief Timer6 Update/Overflow/Trigger Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(TIM6_UPD_OVF_TRG_IRQHandler, 23)
-+ {
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+ }
-+#else /* STM8S208 or STM8S207 or STM8S105 or STM8S103 or STM8AF52Ax or STM8AF62Ax or STM8AF626x */
-+/**
-+ * @brief Timer4 Update/Overflow Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+ INTERRUPT_HANDLER(TIM4_UPD_OVF_IRQHandler, 23)
-+ {
-+
-+ // clear timer 4 interrupt flag
-+ TIM4_ClearITPendingBit(TIM4_IT_UPDATE);
-+
-+ // increase 1ms SW clock
-+ g_flag1ms = 1;
-+ g_count1ms++;
-+
-+ return;
-+ }
-+#endif /* (STM8S903) || (STM8AF622x)*/
-+
-+/**
-+ * @brief Eeprom EEC Interrupt routine.
-+ * @param None
-+ * @retval None
-+ */
-+INTERRUPT_HANDLER(EEPROM_EEC_IRQHandler, 24)
-+{
-+ /* In order to detect unexpected events during development,
-+ it is recommended to set a breakpoint on the following instruction.
-+ */
-+ return;
-+}
-+
-+/**
-+ * @}
-+ */
-+
-+
-+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
-\ No newline at end of file
-diff -rupN STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_it.h STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_it.h
---- STM8S_SPL_2.2.0/Project/STM8S_StdPeriph_test/stm8s_it.h 1970-01-01 01:00:00.000000000 +0100
-+++ STM8S_SPL_2.2.0_SDCC/Project/STM8S_StdPeriph_test/stm8s_it.h 2015-03-07 01:19:46.000000000 +0100
-@@ -0,0 +1,203 @@
-+/**
-+ ******************************************************************************
-+ * @file stm8s_it.h
-+ * @author MCD Application Team
-+ * @version V2.2.0
-+ * @date 30-September-2014
-+ * @brief This file contains the headers of the interrupt handlers
-+ ******************************************************************************
-+ * @attention
-+ *
-+ * <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
-+ *
-+ * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License");
-+ * You may not use this file except in compliance with the License.
-+ * You may obtain a copy of the License at:
-+ *
-+ * http://www.st.com/software_license_agreement_liberty_v2
-+ *
-+ * Unless required by applicable law or agreed to in writing, software
-+ * distributed under the License is distributed on an "AS IS" BASIS,
-+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-+ * See the License for the specific language governing permissions and
-+ * limitations under the License.
-+ *
-+ ******************************************************************************
-+ */
-+
-+/* Define to prevent recursive inclusion -------------------------------------*/
-+#ifndef __STM8S_IT_H
-+#define __STM8S_IT_H
-+
-+/* Includes ------------------------------------------------------------------*/
-+#include "stm8s.h"
-+
-+/* Exported types ------------------------------------------------------------*/
-+/* Exported constants --------------------------------------------------------*/
-+/* Exported macro ------------------------------------------------------------*/
-+/* Exported functions ------------------------------------------------------- */
-+#ifdef _COSMIC_
-+ void _stext(void); /* RESET startup routine */
-+ INTERRUPT void NonHandledInterrupt(void);
-+#endif /* _COSMIC_ */
-+
-+#if defined (_COSMIC_) || defined (_IAR_)
-+ INTERRUPT void TRAP_IRQHandler(void); /* TRAP */
-+ INTERRUPT void TLI_IRQHandler(void); /* TLI */
-+ INTERRUPT void AWU_IRQHandler(void); /* AWU */
-+ INTERRUPT void CLK_IRQHandler(void); /* CLOCK */
-+ INTERRUPT void EXTI_PORTA_IRQHandler(void); /* EXTI PORTA */
-+ INTERRUPT void EXTI_PORTB_IRQHandler(void); /* EXTI PORTB */
-+ INTERRUPT void EXTI_PORTC_IRQHandler(void); /* EXTI PORTC */
-+ INTERRUPT void EXTI_PORTD_IRQHandler(void); /* EXTI PORTD */
-+ INTERRUPT void EXTI_PORTE_IRQHandler(void); /* EXTI PORTE */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ INTERRUPT void EXTI_PORTF_IRQHandler(void); /* EXTI PORTF */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined (STM8AF52Ax)
-+ INTERRUPT void CAN_RX_IRQHandler(void); /* CAN RX */
-+ INTERRUPT void CAN_TX_IRQHandler(void); /* CAN TX/ER/SC */
-+#endif /* (STM8S208) || (STM8AF52Ax) */
-+
-+ INTERRUPT void SPI_IRQHandler(void); /* SPI */
-+ INTERRUPT void TIM1_CAP_COM_IRQHandler(void); /* TIM1 CAP/COM */
-+ INTERRUPT void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void); /* TIM1 UPD/OVF/TRG/BRK */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ INTERRUPT void TIM5_UPD_OVF_BRK_TRG_IRQHandler(void); /* TIM5 UPD/OVF/BRK/TRG */
-+ INTERRUPT void TIM5_CAP_COM_IRQHandler(void); /* TIM5 CAP/COM */
-+#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
-+ INTERRUPT void TIM2_UPD_OVF_BRK_IRQHandler(void); /* TIM2 UPD/OVF/BRK */
-+ INTERRUPT void TIM2_CAP_COM_IRQHandler(void); /* TIM2 CAP/COM */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
-+ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
-+ INTERRUPT void TIM3_UPD_OVF_BRK_IRQHandler(void); /* TIM3 UPD/OVF/BRK */
-+ INTERRUPT void TIM3_CAP_COM_IRQHandler(void); /* TIM3 CAP/COM */
-+#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
-+ defined(STM8S003) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8S903)
-+ INTERRUPT void UART1_TX_IRQHandler(void); /* UART1 TX */
-+ INTERRUPT void UART1_RX_IRQHandler(void); /* UART1 RX */
-+#endif /* (STM8S208) || (STM8S207) || (STM8S903) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) */
-+
-+#if defined (STM8AF622x)
-+ INTERRUPT void UART4_TX_IRQHandler(void); /* UART4 TX */
-+ INTERRUPT void UART4_RX_IRQHandler(void); /* UART4 RX */
-+#endif /* (STM8AF622x) */
-+
-+ INTERRUPT void I2C_IRQHandler(void); /* I2C */
-+
-+#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
-+ INTERRUPT void UART2_RX_IRQHandler(void); /* UART2 RX */
-+ INTERRUPT void UART2_TX_IRQHandler(void); /* UART2 TX */
-+#endif /* (STM8S105) || (STM8AF626x) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+ INTERRUPT void UART3_RX_IRQHandler(void); /* UART3 RX */
-+ INTERRUPT void UART3_TX_IRQHandler(void); /* UART3 TX */
-+#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+ INTERRUPT void ADC2_IRQHandler(void); /* ADC2 */
-+#else /* (STM8S105) || (STM8S103) || (STM8S903) || (STM8AF622x) */
-+ INTERRUPT void ADC1_IRQHandler(void); /* ADC1 */
-+#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ INTERRUPT void TIM6_UPD_OVF_TRG_IRQHandler(void); /* TIM6 UPD/OVF/TRG */
-+#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-+ INTERRUPT void TIM4_UPD_OVF_IRQHandler(void); /* TIM4 UPD/OVF */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+ INTERRUPT void EEPROM_EEC_IRQHandler(void); /* EEPROM ECC CORRECTION */
-+
-+
-+// SDCC patch: __interrupt keyword required after function name --> requires new block
-+#elif defined (_SDCC_)
-+
-+ #if (SKIP_TRAPS==0) // SDCC patch: trap handling requires SDCC >=v3.4.3
-+ void TRAP_IRQHandler(void) __trap; /* TRAP */
-+ #endif /* USE_TRAPS=1 */
-+
-+ void TLI_IRQHandler(void) __interrupt(0); /* TLI */
-+ void AWU_IRQHandler(void) __interrupt(1); /* AWU */
-+ void CLK_IRQHandler(void) INTERRUPT(2); /* CLOCK */
-+ void EXTI_PORTA_IRQHandler(void) INTERRUPT(3); /* EXTI PORTA */
-+ void EXTI_PORTB_IRQHandler(void) INTERRUPT(4); /* EXTI PORTB */
-+ void EXTI_PORTC_IRQHandler(void) INTERRUPT(5); /* EXTI PORTC */
-+ void EXTI_PORTD_IRQHandler(void) INTERRUPT(6); /* EXTI PORTD */
-+ void EXTI_PORTE_IRQHandler(void) INTERRUPT(7); /* EXTI PORTE */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ void EXTI_PORTF_IRQHandler(void) INTERRUPT(8); /* EXTI PORTF */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined (STM8AF52Ax)
-+ void CAN_RX_IRQHandler(void) INTERRUPT(8); /* CAN RX */
-+ void CAN_TX_IRQHandler(void) INTERRUPT(9); /* CAN TX/ER/SC */
-+#endif /* (STM8S208) || (STM8AF52Ax) */
-+
-+ void SPI_IRQHandler(void) INTERRUPT(10); /* SPI */
-+ void TIM1_UPD_OVF_TRG_BRK_IRQHandler(void) INTERRUPT(11); /* TIM1 UPD/OVF/TRG/BRK */
-+ void TIM1_CAP_COM_IRQHandler(void) INTERRUPT(12); /* TIM1 CAP/COM */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ void TIM5_UPD_OVF_BRK_TRG_IRQHandler(void) INTERRUPT(13); /* TIM5 UPD/OVF/BRK/TRG */
-+ void TIM5_CAP_COM_IRQHandler(void) INTERRUPT(14); /* TIM5 CAP/COM */
-+#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
-+ void TIM2_UPD_OVF_BRK_IRQHandler(void) INTERRUPT(13); /* TIM2 UPD/OVF/BRK */
-+ void TIM2_CAP_COM_IRQHandler(void) INTERRUPT(14); /* TIM2 CAP/COM */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S105) || \
-+ defined(STM8S005) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8AF626x)
-+ void TIM3_UPD_OVF_BRK_IRQHandler(void) INTERRUPT(15); /* TIM3 UPD/OVF/BRK */
-+ void TIM3_CAP_COM_IRQHandler(void) INTERRUPT(16); /* TIM3 CAP/COM */
-+#endif /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8AF52Ax) || (STM8AF62Ax) || (STM8A626x) */
-+
-+#if defined (STM8S208) || defined(STM8S207) || defined(STM8S007) || defined(STM8S103) || \
-+ defined(STM8S003) || defined (STM8AF52Ax) || defined (STM8AF62Ax) || defined (STM8S903)
-+ void UART1_TX_IRQHandler(void) INTERRUPT(17); /* UART1 TX */
-+ void UART1_RX_IRQHandler(void) INTERRUPT(18); /* UART1 RX */
-+#endif /* (STM8S208) || (STM8S207) || (STM8S903) || (STM8S103) || (STM8AF52Ax) || (STM8AF62Ax) */
-+
-+#if defined (STM8AF622x)
-+ void UART4_TX_IRQHandler(void) INTERRUPT(17); /* UART4 TX */
-+ void UART4_RX_IRQHandler(void) INTERRUPT(18); /* UART4 RX */
-+#endif /* (STM8AF622x) */
-+
-+ void I2C_IRQHandler(void) INTERRUPT(19); /* I2C */
-+
-+#if defined(STM8S105) || defined(STM8S005) || defined (STM8AF626x)
-+ void UART2_TX_IRQHandler(void) INTERRUPT(20); /* UART2 TX */
-+ void UART2_RX_IRQHandler(void) INTERRUPT(21); /* UART2 RX */
-+#endif /* (STM8S105) || (STM8AF626x) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+ void UART3_RX_IRQHandler(void) INTERRUPT(20); /* UART3 RX */
-+ void UART3_TX_IRQHandler(void) INTERRUPT(21); /* UART3 TX */
-+#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
-+
-+#if defined(STM8S207) || defined(STM8S007) || defined(STM8S208) || defined (STM8AF52Ax) || defined (STM8AF62Ax)
-+ void ADC2_IRQHandler(void) INTERRUPT(22); /* ADC2 */
-+#else /* (STM8S105) || (STM8S103) || (STM8S903) || (STM8AF622x) */
-+ void ADC1_IRQHandler(void) INTERRUPT(22); /* ADC1 */
-+#endif /* (STM8S207) || (STM8S208) || (STM8AF62Ax) || (STM8AF52Ax) */
-+
-+#if defined(STM8S903) || defined(STM8AF622x)
-+ void TIM6_UPD_OVF_TRG_IRQHandler(void) INTERRUPT(23); /* TIM6 UPD/OVF/TRG */
-+#else /* (STM8S208) || (STM8S207) || (STM8S105) || (STM8S103) || (STM8AF62Ax) || (STM8AF52Ax) || (STM8AF626x) */
-+ void TIM4_UPD_OVF_IRQHandler(void) INTERRUPT(23); /* TIM4 UPD/OVF */
-+#endif /* (STM8S903) || (STM8AF622x) */
-+ void EEPROM_EEC_IRQHandler(void) INTERRUPT(24); /* EEPROM ECC CORRECTION */
-+
-+#endif /* _COSMIC_ || _IAR_ */
-+
-+#endif /* __STM8S_IT_H */
-+
-+
-+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+\ Kein Zeilenumbruch am Dateiende.