Bladeren bron

Добавил LED и WDT.

TelenkovDmitry 11 maanden geleden
bovenliggende
commit
5dbc7e6c2e
10 gewijzigde bestanden met toevoegingen van 1037 en 965 verwijderingen
  1. BIN
      bin/drone.bin
  2. 138 121
      bin/drone.hex
  3. 322 322
      libs/stm32/cmsis/stm32f0xx_hal_conf.h
  4. 7 0
      modules/gpio.c
  5. 32 2
      modules/logic.c
  6. 3 0
      modules/logic.h
  7. 138 121
      output/drone.hex
  8. 392 396
      project/ewarm/drone.dep
  9. 3 3
      project/settings/drone.wsdt
  10. 2 0
      user/main.c

BIN
bin/drone.bin


+ 138 - 121
bin/drone.hex

@@ -1,15 +1,15 @@
 :020000040800F2
-:10000000780500204D1F00085D1F0008611F0008D3
+:100000008805002061200008712000087520000884
 :1000100000000000000000000000000000000000E0
-:10002000000000000000000000000000651F000844
-:100030000000000000000000671F0008C51C000849
-:10004000D31800080000000033190008EB1A00085C
-:10005000F31D0008831E0008FB1E0008071F000890
-:1000600000000000811F0008831F0008851F000892
-:10007000871F0008891F00088B1F00080000000070
-:100080005D0D000800000000000000008D1F00084A
-:10009000000000008F1F0008911F0008931F000838
-:1000A00000000000951F000800000000971F0008D6
+:10002000000000000000000000000000792000082F
+:1000300000000000000000007B200008D51D000823
+:10004000D31800080000000033190008FF1A000848
+:10005000071F0008971F00080F2000081B2000083A
+:100060000000000095200008972000089920000853
+:100070009B2000089D2000089F2000080000000031
+:100080005D0D00080000000000000000A120000835
+:1000900000000000A3200008A5200008A7200008F9
+:1000A00000000000A920000800000000AB200008AC
 :1000B00010B50400002C01D1012026E03D20205C79
 :1000C000002805D100203C216054200000F0DAFD1A
 :1000D00002203D216054211D206800F08BFB01208F
@@ -223,10 +223,10 @@
 :100DD00004E00020134908601349086031BD00B5E4
 :100DE00015480078002801D0012000E00020C0B2A2
 :100DF00000BD114908707047000000001410024047
-:100E00001C100240FFFF00006801002040420F005C
-:100E10008400002000040040440100203001002034
-:100E200054010020580100205C0100204106000010
-:100E300071010020700100206F0100207047704791
+:100E00001C100240FFFF00007801002040420F004C
+:100E10008400002000040040540100203001002024
+:100E200064010020680100206C01002041060000E0
+:100E300081010020800100207F0100207047704761
 :100E40007047704770477047F1B582B0002308685B
 :100E5000D840002800D1F3E00124086825009D4017
 :100E6000054001950198002800D1E7E00325486876
@@ -383,8 +383,8 @@
 :1017D0000090F80306D50F48009900F023F87043F5
 :1017E000050002E00E4870430500280000E00948AB
 :1017F000F2BD0648006870472C10024000200240ED
-:1018000089130000FFF8FFFF3C1F000804000020C0
-:101810000410024000127A001C1F00082C1F000850
+:1018000089130000FFF8FFFF5020000804000020AB
+:101810000410024000127A00302000084020000826
 :1018200000093D000022030A8B420BD203098B42C0
 :1018300019D243088B422ED2411A00D2014652419E
 :1018400010467047FF2209023FD012068B4205D393
@@ -396,114 +396,131 @@
 :1018A000524183088B4201D38B00C01A5241430836
 :1018B0008B4201D34B00C01A5241884200D3401AD8
 :1018C0005241CFD201461046704708B500F030F8BB
-:1018D00008BDFEE701480068704700BF60010020B6
+:1018D00008BDFEE701480068704700BF70010020A6
 :1018E00010B50400FA2080000E490978FFF79AFF2E
 :1018F00001000D480068FFF795FFFFF73DFC002849
 :1019000001D001200CE0042C09D20022210000208B
 :10191000C043FFF720FC05480460002000E00120E0
 :1019200010BD00BF080000200400002000000020BF
-:101930007047FEE770B586B01422002101A800F0C0
-:10194000A3F8802080024C490A6802430A600A68B2
-:101950001040009000988020C0020A6802430A608C
-:10196000096808400090009880256D0101950120CC
-:10197000029002200390032004909024E40501A922
-:101980002000FFF761FA019501A92000FFF75CFA3A
-:101990001A200190394E01A93000FFF755FA0022B4
-:1019A00029002000FFF74DFB00221A213000FFF72D
-:1019B00048FB06B070BD38B505002800C0B201284C
-:1019C00034D12F4C20782F4908702078002805D07A
-:1019D000022811D008D3032814D019E001220221D3
-:1019E0002648FFF72EFB13E00122802149019020B9
-:1019F000C005FFF726FB0BE0012210211F48FFF76F
-:101A000020FB05E0012208211C48FFF71AFBFFE735
-:101A10002800C0B201282DD12078032802D100204F
-:101A2000207027E02078401C207023E015480078C3
-:101A3000002805D0022811D008D3032814D019E0BB
-:101A4000002202210D48FFF7FCFA13E0002280215A
-:101A500049019020C005FFF7F4FA0BE000221021A5
-:101A60000648FFF7EEFA05E0002208210348FFF7D9
-:101A7000E8FAFFE731BD00001410024000040048FE
-:101A80006C0100206D01002010B504000800110059
-:101A90000200200000F002F8200010BD1206130A18
-:101AA0001A43130C1A4300BF094205D0830705D01F
-:101AB0000270401C491EF9D1704700001300103914
-:101AC00006D330B41400150010393CC0FCD230BC31
-:101AD000490700D30CC000D504C0890002D302809E
-:101AE000801C002900D502707047FEE7F8B586B06B
-:101AF0008020800239490A6802430A600968084068
-:101B0000009000988020000135490A6802430A606D
-:101B1000096808400090009802200290012103917A
-:101B2000032104910590C020C000019001A99020DC
-:101B3000C005FFF789F92B4DFFF75BFE2A49FFF738
-:101B400071FE401E2880294C29482060288860604A
-:101B50002848E06000262661A6606661A661200034
-:101B6000FEF7A6FA244D60202860AE602E61EE607C
-:101B7000AE616E612F1DC226F6003E600422290070
-:101B80002000FEF765FD3E60082229002000FEF7D8
-:101B90005FFD04212000FEF7B9FA08212000FEF7BE
-:101BA000B5FA07B0F0BD00B50200D2B2012A02D0EA
-:101BB000022A05D009E00A0092B2104B1A6004E034
-:101BC0000A0092B20E4B1A60FFE700BDC220C000AF
-:101BD0000A4908600A490860704700001410024072
-:101BE000181002406A01002040420F00CC00002083
-:101BF000002C0140204E000014010020382C014030
-:101C00003C2C014080B5FFF7EAF8002814D00120F1
-:101C1000FFF7D1FEFA20800000F03EF800F00DF84A
-:101C2000FA20400000F038F80020FFF7C4FEFFF76C
-:101C3000CDFF0020FFF7DDF801BD10B5134C207873
-:101C4000002805D002280DD007D303280FD013E0B9
-:101C50000F490120FFF7A7FF0EE00D490220FFF713
-:101C6000A2FF09E00B490120FFF79DFF04E00949AD
-:101C70000220FFF798FFFFE72078032802D1002019
-:101C8000207002E02078401C207010BD6E01002002
-:101C9000140500003A07000070B50400FFF71AFEB3
-:101CA000050026000020C043864202D00448007888
-:101CB0003618FFF70FFE401BB042FAD370BD00BFCD
-:101CC0000800002080B500F045F800F032F81E480A
-:101CD0000178491C017001780A2901D100210170A5
-:101CE00000200A2824DA19490C2242438A18127A61
-:101CF000002A1BD00C2242438A189288521E0C23C1
-:101D00004343CB189A800C2242438A189288002AB7
-:101D10000CD10C2242438A18D2880C234343CB189F
-:101D20009A8001220C234343C9184A72401CD8E709
-:101D300001BD00B506480168002902D00168491EAE
-:101D4000016000BD00000000720100200C000020B6
-:101D50006401002003480168034A12788918016071
-:101D6000704700BF600100200800002080B500F02F
-:101D700041F800F009F8FFF7DDFDFFF7B7FEFEF7C9
-:101D800083FFFFF73FFFFCE738B590B0302200211A
-:101D900004A8FFF779FE102200216846FFF774FEC1
-:101DA00012200490012007900990102008900A90BA
-:101DB00002240C9400250D95A02080030E900F9511
-:101DC00004A8FFF7EBF9002801D000F00FF8072076
-:101DD000009001940295039501216846FFF73EFCAF
-:101DE000002801D000F002F811B030BD00B572B685
-:101DF000FEE7FEE780B50648016810220A4302604C
-:101E00000020FFF76DFD00F005F8002002BD000086
-:101E100000200240704770B40123002413E00168E1
-:101E2000001D194202D04D466D1E49190C60091D56
-:101E3000121F042AFAD20D00960701D50C80AD1CA2
-:101E40001A4000D02C700268001D002AE7D170BC37
-:101E5000704730B401220EE00368C31844680830AC
-:101E6000144202D04D466D1E64191D6825601B1D6D
-:101E7000241D091FF9D10168001D0029ECD130BCD7
-:101E80007047FEE710B5074979441831064C7C4489
-:101E9000163404E0081D0A68891888470100A14229
-:101EA000F8D110BD08000000280000006BFFFFFF04
-:101EB000680100000C0000200000000097FFFFFFF9
-:101EC0000C000000B0000000000000200000000036
-:101ED00000F00DF8002801D0FFF7D4FF00BF00BFCD
-:101EE000002000BF00BFFFF741FF00F002F8012013
-:101EF000704780B500F002F801BDFEE7074638469E
-:101F000000F002F8FBE7FEE780B500BF00BF024A21
-:101F100011001820ABBEFBE72600020002030405F7
-:101F2000060708090A0B0C0D0E0F1010010203041E
-:101F300005060708090A0B0C0D0E0F100000000023
-:101F40000000000001020304060708090148804759
-:101F500001480047991F0008691F000800B5FEE707
-:101F600000B5FEE77047704700BF00BF00BF00BF6D
-:101F7000FFF7AEFF0400000000127A00010000002D
-:101F8000FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE729
-:0A1F9000FEE7FEE7FEE7FEE77047FC
-:0400000508001F6967
+:101930007047FEE770B586B014220021684600F0BB
+:10194000ADF88020800251490A6802430A600A68A3
+:101950001040059005988020C0020A6802430A6082
+:10196000096808400590059880256D0100950120C3
+:10197000019002200290032003909024E405694620
+:101980002000FFF761FA009569462000FFF75CFA36
+:101990001A2000903E4E69463000FFF755FA0420A9
+:1019A000009069462000FFF74FFA01220421200031
+:1019B000FFF747FB002229002000FFF742FB00222F
+:1019C0001A213000FFF73DFB06B070BD38B50500A9
+:1019D0002800C0B2012834D12E4C20782E4908703E
+:1019E0002078002805D0022811D008D3032814D06D
+:1019F00019E0012202212648FFF723FB13E0012210
+:101A0000802149019020C005FFF71BFB0BE001225C
+:101A100010211F48FFF715FB05E0012208211C4893
+:101A2000FFF70FFBFFE72800C0B201282DD1207877
+:101A3000032802D10020207027E02078401C20706D
+:101A400023E015480078002805D0022811D008D3DB
+:101A5000032814D019E0002202210D48FFF7F1FA03
+:101A600013E00022802149019020C005FFF7E9FA28
+:101A70000BE0002210210648FFF7E3FA05E0002200
+:101A800008210348FFF7DDFAFFE731BD14100240DB
+:101A9000000400487C0100207D01002010B50400F6
+:101AA000080011000200200000F002F8200010BD24
+:101AB0001206130A1A43130C1A4300BF094205D039
+:101AC000830705D00270401C491EF9D17047000001
+:101AD0001300103906D330B41400150010393CC07F
+:101AE000FCD230BC490700D30CC000D504C089002B
+:101AF00002D30280801C002900D502707047FEE7E7
+:101B0000F8B586B08020800239490A6802430A602D
+:101B100009680840009000988020000135490A6853
+:101B200002430A6009680840009000980220029071
+:101B300001210391032104910590C020C000019070
+:101B400001A99020C005FFF77FF92B4DFFF751FE4B
+:101B50002A49FFF767FE401E2880294C294820604B
+:101B6000288860602848E06000262661A6606661DB
+:101B7000A6612000FEF79CFA244D60202860AE602C
+:101B80002E61EE60AE616E612F1DC226F6003E60D2
+:101B9000042229002000FEF75BFD3E600822290098
+:101BA0002000FEF755FD04212000FEF7AFFA0821C2
+:101BB0002000FEF7ABFA07B0F0BD00B50200D2B2CC
+:101BC000012A02D0022A05D009E00A0092B2104B85
+:101BD0001A6004E00A0092B20E4B1A60FFE700BDE3
+:101BE000C220C0000A4908600A4908607047000026
+:101BF00014100240181002407A01002040420F00E9
+:101C0000CC000020002C0140204E000014010020D8
+:101C1000382C01403C2C014070B53C4C200000F0B9
+:101C2000B6F8FFF7DCF800282CD00120FFF7CEFE35
+:101C30009026F605002204213000FFF702FAFA256B
+:101C40006D00280000F0B0F8200000F0A0F801229C
+:101C500004213000FFF7F5F9280000F0A5F8200076
+:101C600000F095F800F00FF8280000F09DF8200033
+:101C700000F08DF80020FFF7A9FEFFF7B1FF00206C
+:101C8000FFF7B7F870BD10B5214C2078002805D0BB
+:101C900002280DD007D303280FD013E01D490120DF
+:101CA000FFF78BFF0EE01B490220FFF786FF09E0DC
+:101CB00019490120FFF781FF04E017490220FFF7CF
+:101CC0007CFFFFE72078032802D10020207002E08B
+:101CD0002078401C207010BD80B58CB0082000908A
+:101CE00000200890012007906846FFF757FA074840
+:101CF0000A49016020214160FA2189008160084978
+:101D0000C16000F00FF80DB000BD000044010020DC
+:101D10007E010020140500003A070000003000405A
+:101D2000FF0F000070B50400002C01D101202DE050
+:101D30001A48216808601A482168086060682168AC
+:101D40004860A06821688860FFF7C4FD0500072689
+:101D50002068C068304000280BD0FFF7BBFD401B57
+:101D60002828F4D32068C0680640002EEFD0032056
+:101D70000CE020680069E168884203D0E0682168CF
+:101D8000086102E0074821680860002070BD01007A
+:101D900004480A681060002070470000CCCC0000A6
+:101DA00055550000AAAA000070B50400FFF792FD87
+:101DB000050026000020C043864202D00448007877
+:101DC0003618FFF787FD401BB042FAD370BD00BF45
+:101DD0000800002080B500F045F800F032F81E48F9
+:101DE0000178491C017001780A2901D10021017094
+:101DF00000200A2824DA19490C2242438A18127A50
+:101E0000002A1BD00C2242438A189288521E0C23AF
+:101E10004343CB189A800C2242438A189288002AA6
+:101E20000CD10C2242438A18D2880C234343CB188E
+:101E30009A8001220C234343C9184A72401CD8E7F8
+:101E400001BD00B506480168002902D00168491E9D
+:101E5000016000BD00000000820100200C00002095
+:101E60007401002003480168034A12788918016050
+:101E7000704700BF700100200800002080B500F00E
+:101E800043F800F00BF8FFF755FDFFF739FEFEF7BA
+:101E9000FBFEFFF721FFFFF7BFFEFCE738B590B070
+:101EA0003022002104A8FFF7F9FD10220021684626
+:101EB000FFF7F4FD122004900120079009901020F4
+:101EC00008900A9002240C9400250D95A020800310
+:101ED0000E900F9504A8FFF761F9002801D000F0DB
+:101EE0000FF80720009001940295039501216846A0
+:101EF000FFF7B4FB002801D000F002F811B030BDAC
+:101F000000B572B6FEE7FEE780B50648016810220C
+:101F10000A4302600020FFF7E3FC00F005F8002010
+:101F200002BD000000200240704770B4012300246D
+:101F300013E00168001D194202D04D466D1E49197B
+:101F40000C60091D121F042AFAD20D00960701D554
+:101F50000C80AD1C1A4000D02C700268001D002AB5
+:101F6000E7D170BC704730B401220EE00368C3189B
+:101F700044680830144202D04D466D1E64191D6835
+:101F800025601B1D241D091FF9D10168001D0029B2
+:101F9000ECD130BC7047FEE710B5074979441831E1
+:101FA000064C7C44163404E0081D0A6889188847EA
+:101FB0000100A142F8D110BD080000002800000077
+:101FC0006BFFFFFF780100000C0000200000000004
+:101FD00097FFFFFF0C000000B00000000000002091
+:101FE0000000000000F00DF8002801D0FFF7D4FF3A
+:101FF00000BF00BF002000BF00BFFFF73FFF00F0A1
+:1020000002F80120704780B500F002F801BDFEE73C
+:102010000746384600F002F8FBE7FEE780B500BF50
+:1020200000BF024A11001820ABBEFBE726000200E9
+:1020300002030405060708090A0B0C0D0E0F101009
+:102040000102030405060708090A0B0C0D0E0F1008
+:102050000000000000000000010203040607080958
+:102060000148804701480047AD2000087D20000856
+:1020700000B5FEE700B5FEE77047704700BF00BF40
+:1020800000BF00BFFFF7AEFF0400000000127A009F
+:1020900001000000FEE7FEE7FEE7FEE7FEE7FEE7E1
+:0E20A000FEE7FEE7FEE7FEE7FEE7FEE770471D
+:040000050800207D52
 :00000001FF

+ 322 - 322
libs/stm32/cmsis/stm32f0xx_hal_conf.h

@@ -1,322 +1,322 @@
-/**
-  ******************************************************************************
-  * @file    stm32f0xx_hal_conf.h
-  * @brief   HAL configuration file.
-  ******************************************************************************
-  * @attention
-  *
-  * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
-  * All rights reserved.</center></h2>
-  *
-  * This software component is licensed by ST under BSD 3-Clause license,
-  * the "License"; You may not use this file except in compliance with the
-  * License. You may obtain a copy of the License at:
-  *                        opensource.org/licenses/BSD-3-Clause
-  *
-  ******************************************************************************
-  */
-
-/* Define to prevent recursive inclusion -------------------------------------*/
-#ifndef __STM32F0xx_HAL_CONF_H
-#define __STM32F0xx_HAL_CONF_H
-
-#ifdef __cplusplus
- extern "C" {
-#endif
-
-/* Exported types ------------------------------------------------------------*/
-/* Exported constants --------------------------------------------------------*/
-
-/* ########################## Module Selection ############################## */
-/**
-  * @brief This is the list of modules to be used in the HAL driver
-  */
-#define HAL_MODULE_ENABLED
-  #define HAL_ADC_MODULE_ENABLED
-/*#define HAL_CRYP_MODULE_ENABLED   */
-/*#define HAL_CAN_MODULE_ENABLED   */
-/*#define HAL_CEC_MODULE_ENABLED   */
-/*#define HAL_COMP_MODULE_ENABLED   */
-/*#define HAL_CRC_MODULE_ENABLED   */
-/*#define HAL_CRYP_MODULE_ENABLED   */
-/*#define HAL_TSC_MODULE_ENABLED   */
-/*#define HAL_DAC_MODULE_ENABLED   */
-/*#define HAL_I2S_MODULE_ENABLED   */
-/*#define HAL_IWDG_MODULE_ENABLED   */
-/*#define HAL_LCD_MODULE_ENABLED   */
-/*#define HAL_LPTIM_MODULE_ENABLED   */
-/*#define HAL_RNG_MODULE_ENABLED   */
-/*#define HAL_RTC_MODULE_ENABLED   */
-/*#define HAL_SPI_MODULE_ENABLED   */
-#define HAL_TIM_MODULE_ENABLED   
-#define HAL_UART_MODULE_ENABLED   
-#define HAL_USART_MODULE_ENABLED   
-/*#define HAL_IRDA_MODULE_ENABLED   */
-/*#define HAL_SMARTCARD_MODULE_ENABLED   */
-/*#define HAL_SMBUS_MODULE_ENABLED   */
-/*#define HAL_WWDG_MODULE_ENABLED   */
-/*#define HAL_PCD_MODULE_ENABLED   */
-#define HAL_CORTEX_MODULE_ENABLED
-#define HAL_DMA_MODULE_ENABLED   
-#define HAL_FLASH_MODULE_ENABLED
-#define HAL_GPIO_MODULE_ENABLED
-/*#define HAL_EXTI_MODULE_ENABLED   */
-#define HAL_PWR_MODULE_ENABLED
-#define HAL_RCC_MODULE_ENABLED
-/*#define HAL_I2C_MODULE_ENABLED    */
-
-/* ########################## HSE/HSI Values adaptation ##################### */
-/**
-  * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
-  *        This value is used by the RCC HAL module to compute the system frequency
-  *        (when HSE is used as system clock source, directly or through the PLL).
-  */
-#if !defined  (HSE_VALUE)
-  #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
-#endif /* HSE_VALUE */
-
-/**
-  * @brief In the following line adjust the External High Speed oscillator (HSE) Startup
-  *        Timeout value
-  */
-#if !defined  (HSE_STARTUP_TIMEOUT)
-  #define HSE_STARTUP_TIMEOUT    ((uint32_t)100)   /*!< Time out for HSE start up, in ms */
-#endif /* HSE_STARTUP_TIMEOUT */
-
-/**
-  * @brief Internal High Speed oscillator (HSI) value.
-  *        This value is used by the RCC HAL module to compute the system frequency
-  *        (when HSI is used as system clock source, directly or through the PLL).
-  */
-#if !defined  (HSI_VALUE)
-  #define HSI_VALUE    ((uint32_t)8000000) /*!< Value of the Internal oscillator in Hz*/
-#endif /* HSI_VALUE */
-
-/**
-  * @brief In the following line adjust the Internal High Speed oscillator (HSI) Startup
-  *        Timeout value
-  */
-#if !defined  (HSI_STARTUP_TIMEOUT)
- #define HSI_STARTUP_TIMEOUT   ((uint32_t)5000) /*!< Time out for HSI start up */
-#endif /* HSI_STARTUP_TIMEOUT */
-
-/**
-  * @brief Internal High Speed oscillator for ADC (HSI14) value.
-  */
-#if !defined  (HSI14_VALUE)
-#define HSI14_VALUE ((uint32_t)14000000) /*!< Value of the Internal High Speed oscillator for ADC in Hz.
-                                             The real value may vary depending on the variations
-                                             in voltage and temperature.  */
-#endif /* HSI14_VALUE */
-
-/**
-  * @brief Internal High Speed oscillator for USB (HSI48) value.
-  */
-#if !defined  (HSI48_VALUE)
-  #define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz.
-                                             The real value may vary depending on the variations
-                                             in voltage and temperature.  */
-#endif /* HSI48_VALUE */
-
-/**
-  * @brief Internal Low Speed oscillator (LSI) value.
-  */
-#if !defined  (LSI_VALUE)
-  #define LSI_VALUE  ((uint32_t)40000)
-#endif /* LSI_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
-                                             The real value may vary depending on the variations
-                                             in voltage and temperature.  */
-/**
-  * @brief External Low Speed oscillator (LSI) value.
-  */
-#if !defined  (LSE_VALUE)
-  #define LSE_VALUE  ((uint32_t)32768)    /*!< Value of the External Low Speed oscillator in Hz */
-#endif /* LSE_VALUE */
-
-/**
-  * @brief Time out for LSE start up value in ms.
-  */
-#if !defined  (LSE_STARTUP_TIMEOUT)
-  #define LSE_STARTUP_TIMEOUT    ((uint32_t)5000)   /*!< Time out for LSE start up, in ms */
-#endif /* LSE_STARTUP_TIMEOUT */
-
-/* Tip: To avoid modifying this file each time you need to use different HSE,
-   ===  you can define the HSE value in your toolchain compiler preprocessor. */
-
-/* ########################### System Configuration ######################### */
-/**
-  * @brief This is the HAL system configuration section
-  */
-#define  VDD_VALUE                    ((uint32_t)3300) /*!< Value of VDD in mv */
-#define  TICK_INT_PRIORITY            ((uint32_t)0)    /*!< tick interrupt priority (lowest by default)  */
-                                                                              /*  Warning: Must be set to higher priority for HAL_Delay()  */
-                                                                              /*  and HAL_GetTick() usage under interrupt context          */
-#define  USE_RTOS                     0
-#define  PREFETCH_ENABLE              1
-#define  INSTRUCTION_CACHE_ENABLE     0
-#define  DATA_CACHE_ENABLE            0
-#define  USE_SPI_CRC                     0U
-
-#define  USE_HAL_ADC_REGISTER_CALLBACKS         0U /* ADC register callback disabled       */
-#define  USE_HAL_CAN_REGISTER_CALLBACKS         0U /* CAN register callback disabled       */
-#define  USE_HAL_COMP_REGISTER_CALLBACKS        0U /* COMP register callback disabled      */
-#define  USE_HAL_CEC_REGISTER_CALLBACKS         0U /* CEC register callback disabled       */
-#define  USE_HAL_DAC_REGISTER_CALLBACKS         0U /* DAC register callback disabled       */
-#define  USE_HAL_I2C_REGISTER_CALLBACKS         0U /* I2C register callback disabled       */
-#define  USE_HAL_SMBUS_REGISTER_CALLBACKS       0U /* SMBUS register callback disabled     */
-#define  USE_HAL_UART_REGISTER_CALLBACKS        0U /* UART register callback disabled      */
-#define  USE_HAL_USART_REGISTER_CALLBACKS       0U /* USART register callback disabled     */
-#define  USE_HAL_IRDA_REGISTER_CALLBACKS        0U /* IRDA register callback disabled      */
-#define  USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0U /* SMARTCARD register callback disabled */
-#define  USE_HAL_WWDG_REGISTER_CALLBACKS        0U /* WWDG register callback disabled      */
-#define  USE_HAL_RTC_REGISTER_CALLBACKS         0U /* RTC register callback disabled       */
-#define  USE_HAL_SPI_REGISTER_CALLBACKS         0U /* SPI register callback disabled       */
-#define  USE_HAL_I2S_REGISTER_CALLBACKS         0U /* I2S register callback disabled       */
-#define  USE_HAL_TIM_REGISTER_CALLBACKS         0U /* TIM register callback disabled       */
-#define  USE_HAL_TSC_REGISTER_CALLBACKS         0U /* TSC register callback disabled       */
-#define  USE_HAL_PCD_REGISTER_CALLBACKS         0U /* PCD register callback disabled       */
-
-/* ########################## Assert Selection ############################## */
-/**
-  * @brief Uncomment the line below to expanse the "assert_param" macro in the
-  *        HAL drivers code
-  */
-/* #define USE_FULL_ASSERT   1U */
-
-/* Includes ------------------------------------------------------------------*/
-/**
-  * @brief Include module's header file
-  */
-
-#ifdef HAL_RCC_MODULE_ENABLED
- #include "stm32f0xx_hal_rcc.h"
-#endif /* HAL_RCC_MODULE_ENABLED */
-
-#ifdef HAL_GPIO_MODULE_ENABLED
- #include "stm32f0xx_hal_gpio.h"
-#endif /* HAL_GPIO_MODULE_ENABLED */
-
-#ifdef HAL_EXTI_MODULE_ENABLED
-  #include "stm32f0xx_hal_exti.h"
-#endif /* HAL_EXTI_MODULE_ENABLED */
-
-#ifdef HAL_DMA_MODULE_ENABLED
-  #include "stm32f0xx_hal_dma.h"
-#endif /* HAL_DMA_MODULE_ENABLED */
-
-#ifdef HAL_CORTEX_MODULE_ENABLED
- #include "stm32f0xx_hal_cortex.h"
-#endif /* HAL_CORTEX_MODULE_ENABLED */
-
-#ifdef HAL_ADC_MODULE_ENABLED
- #include "stm32f0xx_hal_adc.h"
-#endif /* HAL_ADC_MODULE_ENABLED */
-
-#ifdef HAL_CAN_MODULE_ENABLED
- #include "stm32f0xx_hal_can.h"
-#endif /* HAL_CAN_MODULE_ENABLED */
-
-#ifdef HAL_CEC_MODULE_ENABLED
- #include "stm32f0xx_hal_cec.h"
-#endif /* HAL_CEC_MODULE_ENABLED */
-
-#ifdef HAL_COMP_MODULE_ENABLED
- #include "stm32f0xx_hal_comp.h"
-#endif /* HAL_COMP_MODULE_ENABLED */
-
-#ifdef HAL_CRC_MODULE_ENABLED
- #include "stm32f0xx_hal_crc.h"
-#endif /* HAL_CRC_MODULE_ENABLED */
-
-#ifdef HAL_DAC_MODULE_ENABLED
- #include "stm32f0xx_hal_dac.h"
-#endif /* HAL_DAC_MODULE_ENABLED */
-
-#ifdef HAL_FLASH_MODULE_ENABLED
- #include "stm32f0xx_hal_flash.h"
-#endif /* HAL_FLASH_MODULE_ENABLED */
-
-#ifdef HAL_I2C_MODULE_ENABLED
- #include "stm32f0xx_hal_i2c.h"
-#endif /* HAL_I2C_MODULE_ENABLED */
-
-#ifdef HAL_I2S_MODULE_ENABLED
- #include "stm32f0xx_hal_i2s.h"
-#endif /* HAL_I2S_MODULE_ENABLED */
-
-#ifdef HAL_IRDA_MODULE_ENABLED
- #include "stm32f0xx_hal_irda.h"
-#endif /* HAL_IRDA_MODULE_ENABLED */
-
-#ifdef HAL_IWDG_MODULE_ENABLED
- #include "stm32f0xx_hal_iwdg.h"
-#endif /* HAL_IWDG_MODULE_ENABLED */
-
-#ifdef HAL_PCD_MODULE_ENABLED
- #include "stm32f0xx_hal_pcd.h"
-#endif /* HAL_PCD_MODULE_ENABLED */
-
-#ifdef HAL_PWR_MODULE_ENABLED
- #include "stm32f0xx_hal_pwr.h"
-#endif /* HAL_PWR_MODULE_ENABLED */
-
-#ifdef HAL_RTC_MODULE_ENABLED
- #include "stm32f0xx_hal_rtc.h"
-#endif /* HAL_RTC_MODULE_ENABLED */
-
-#ifdef HAL_SMARTCARD_MODULE_ENABLED
- #include "stm32f0xx_hal_smartcard.h"
-#endif /* HAL_SMARTCARD_MODULE_ENABLED */
-
-#ifdef HAL_SMBUS_MODULE_ENABLED
- #include "stm32f0xx_hal_smbus.h"
-#endif /* HAL_SMBUS_MODULE_ENABLED */
-
-#ifdef HAL_SPI_MODULE_ENABLED
- #include "stm32f0xx_hal_spi.h"
-#endif /* HAL_SPI_MODULE_ENABLED */
-
-#ifdef HAL_TIM_MODULE_ENABLED
- #include "stm32f0xx_hal_tim.h"
-#endif /* HAL_TIM_MODULE_ENABLED */
-
-#ifdef HAL_TSC_MODULE_ENABLED
- #include "stm32f0xx_hal_tsc.h"
-#endif /* HAL_TSC_MODULE_ENABLED */
-
-#ifdef HAL_UART_MODULE_ENABLED
- #include "stm32f0xx_hal_uart.h"
-#endif /* HAL_UART_MODULE_ENABLED */
-
-#ifdef HAL_USART_MODULE_ENABLED
- #include "stm32f0xx_hal_usart.h"
-#endif /* HAL_USART_MODULE_ENABLED */
-
-#ifdef HAL_WWDG_MODULE_ENABLED
- #include "stm32f0xx_hal_wwdg.h"
-#endif /* HAL_WWDG_MODULE_ENABLED */
-
-/* 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)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
-/* Exported functions ------------------------------------------------------- */
-  void assert_failed(uint8_t* file, uint32_t line);
-#else
-  #define assert_param(expr) ((void)0U)
-#endif /* USE_FULL_ASSERT */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* __STM32F0xx_HAL_CONF_H */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+/**
+  ******************************************************************************
+  * @file    stm32f0xx_hal_conf.h
+  * @brief   HAL configuration file.
+  ******************************************************************************
+  * @attention
+  *
+  * <h2><center>&copy; Copyright (c) 2016 STMicroelectronics.
+  * All rights reserved.</center></h2>
+  *
+  * This software component is licensed by ST under BSD 3-Clause license,
+  * the "License"; You may not use this file except in compliance with the
+  * License. You may obtain a copy of the License at:
+  *                        opensource.org/licenses/BSD-3-Clause
+  *
+  ******************************************************************************
+  */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __STM32F0xx_HAL_CONF_H
+#define __STM32F0xx_HAL_CONF_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/* Exported types ------------------------------------------------------------*/
+/* Exported constants --------------------------------------------------------*/
+
+/* ########################## Module Selection ############################## */
+/**
+  * @brief This is the list of modules to be used in the HAL driver
+  */
+#define HAL_MODULE_ENABLED
+  #define HAL_ADC_MODULE_ENABLED
+/*#define HAL_CRYP_MODULE_ENABLED   */
+/*#define HAL_CAN_MODULE_ENABLED   */
+/*#define HAL_CEC_MODULE_ENABLED   */
+/*#define HAL_COMP_MODULE_ENABLED   */
+/*#define HAL_CRC_MODULE_ENABLED   */
+/*#define HAL_CRYP_MODULE_ENABLED   */
+/*#define HAL_TSC_MODULE_ENABLED   */
+/*#define HAL_DAC_MODULE_ENABLED   */
+/*#define HAL_I2S_MODULE_ENABLED   */
+#define HAL_IWDG_MODULE_ENABLED   
+/*#define HAL_LCD_MODULE_ENABLED   */
+/*#define HAL_LPTIM_MODULE_ENABLED   */
+/*#define HAL_RNG_MODULE_ENABLED   */
+/*#define HAL_RTC_MODULE_ENABLED   */
+/*#define HAL_SPI_MODULE_ENABLED   */
+#define HAL_TIM_MODULE_ENABLED   
+#define HAL_UART_MODULE_ENABLED   
+#define HAL_USART_MODULE_ENABLED   
+/*#define HAL_IRDA_MODULE_ENABLED   */
+/*#define HAL_SMARTCARD_MODULE_ENABLED   */
+/*#define HAL_SMBUS_MODULE_ENABLED   */
+/*#define HAL_WWDG_MODULE_ENABLED   */
+/*#define HAL_PCD_MODULE_ENABLED   */
+#define HAL_CORTEX_MODULE_ENABLED
+#define HAL_DMA_MODULE_ENABLED   
+#define HAL_FLASH_MODULE_ENABLED
+#define HAL_GPIO_MODULE_ENABLED
+/*#define HAL_EXTI_MODULE_ENABLED   */
+#define HAL_PWR_MODULE_ENABLED
+#define HAL_RCC_MODULE_ENABLED
+/*#define HAL_I2C_MODULE_ENABLED    */
+
+/* ########################## HSE/HSI Values adaptation ##################### */
+/**
+  * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
+  *        This value is used by the RCC HAL module to compute the system frequency
+  *        (when HSE is used as system clock source, directly or through the PLL).
+  */
+#if !defined  (HSE_VALUE)
+  #define HSE_VALUE    ((uint32_t)8000000) /*!< Value of the External oscillator in Hz */
+#endif /* HSE_VALUE */
+
+/**
+  * @brief In the following line adjust the External High Speed oscillator (HSE) Startup
+  *        Timeout value
+  */
+#if !defined  (HSE_STARTUP_TIMEOUT)
+  #define HSE_STARTUP_TIMEOUT    ((uint32_t)100)   /*!< Time out for HSE start up, in ms */
+#endif /* HSE_STARTUP_TIMEOUT */
+
+/**
+  * @brief Internal High Speed oscillator (HSI) value.
+  *        This value is used by the RCC HAL module to compute the system frequency
+  *        (when HSI is used as system clock source, directly or through the PLL).
+  */
+#if !defined  (HSI_VALUE)
+  #define HSI_VALUE    ((uint32_t)8000000) /*!< Value of the Internal oscillator in Hz*/
+#endif /* HSI_VALUE */
+
+/**
+  * @brief In the following line adjust the Internal High Speed oscillator (HSI) Startup
+  *        Timeout value
+  */
+#if !defined  (HSI_STARTUP_TIMEOUT)
+ #define HSI_STARTUP_TIMEOUT   ((uint32_t)5000) /*!< Time out for HSI start up */
+#endif /* HSI_STARTUP_TIMEOUT */
+
+/**
+  * @brief Internal High Speed oscillator for ADC (HSI14) value.
+  */
+#if !defined  (HSI14_VALUE)
+#define HSI14_VALUE ((uint32_t)14000000) /*!< Value of the Internal High Speed oscillator for ADC in Hz.
+                                             The real value may vary depending on the variations
+                                             in voltage and temperature.  */
+#endif /* HSI14_VALUE */
+
+/**
+  * @brief Internal High Speed oscillator for USB (HSI48) value.
+  */
+#if !defined  (HSI48_VALUE)
+  #define HSI48_VALUE ((uint32_t)48000000) /*!< Value of the Internal High Speed oscillator for USB in Hz.
+                                             The real value may vary depending on the variations
+                                             in voltage and temperature.  */
+#endif /* HSI48_VALUE */
+
+/**
+  * @brief Internal Low Speed oscillator (LSI) value.
+  */
+#if !defined  (LSI_VALUE)
+  #define LSI_VALUE  ((uint32_t)40000)
+#endif /* LSI_VALUE */                      /*!< Value of the Internal Low Speed oscillator in Hz
+                                             The real value may vary depending on the variations
+                                             in voltage and temperature.  */
+/**
+  * @brief External Low Speed oscillator (LSI) value.
+  */
+#if !defined  (LSE_VALUE)
+  #define LSE_VALUE  ((uint32_t)32768)    /*!< Value of the External Low Speed oscillator in Hz */
+#endif /* LSE_VALUE */
+
+/**
+  * @brief Time out for LSE start up value in ms.
+  */
+#if !defined  (LSE_STARTUP_TIMEOUT)
+  #define LSE_STARTUP_TIMEOUT    ((uint32_t)5000)   /*!< Time out for LSE start up, in ms */
+#endif /* LSE_STARTUP_TIMEOUT */
+
+/* Tip: To avoid modifying this file each time you need to use different HSE,
+   ===  you can define the HSE value in your toolchain compiler preprocessor. */
+
+/* ########################### System Configuration ######################### */
+/**
+  * @brief This is the HAL system configuration section
+  */
+#define  VDD_VALUE                    ((uint32_t)3300) /*!< Value of VDD in mv */
+#define  TICK_INT_PRIORITY            ((uint32_t)0)    /*!< tick interrupt priority (lowest by default)  */
+                                                                              /*  Warning: Must be set to higher priority for HAL_Delay()  */
+                                                                              /*  and HAL_GetTick() usage under interrupt context          */
+#define  USE_RTOS                     0
+#define  PREFETCH_ENABLE              1
+#define  INSTRUCTION_CACHE_ENABLE     0
+#define  DATA_CACHE_ENABLE            0
+#define  USE_SPI_CRC                     0U
+
+#define  USE_HAL_ADC_REGISTER_CALLBACKS         0U /* ADC register callback disabled       */
+#define  USE_HAL_CAN_REGISTER_CALLBACKS         0U /* CAN register callback disabled       */
+#define  USE_HAL_COMP_REGISTER_CALLBACKS        0U /* COMP register callback disabled      */
+#define  USE_HAL_CEC_REGISTER_CALLBACKS         0U /* CEC register callback disabled       */
+#define  USE_HAL_DAC_REGISTER_CALLBACKS         0U /* DAC register callback disabled       */
+#define  USE_HAL_I2C_REGISTER_CALLBACKS         0U /* I2C register callback disabled       */
+#define  USE_HAL_SMBUS_REGISTER_CALLBACKS       0U /* SMBUS register callback disabled     */
+#define  USE_HAL_UART_REGISTER_CALLBACKS        0U /* UART register callback disabled      */
+#define  USE_HAL_USART_REGISTER_CALLBACKS       0U /* USART register callback disabled     */
+#define  USE_HAL_IRDA_REGISTER_CALLBACKS        0U /* IRDA register callback disabled      */
+#define  USE_HAL_SMARTCARD_REGISTER_CALLBACKS   0U /* SMARTCARD register callback disabled */
+#define  USE_HAL_WWDG_REGISTER_CALLBACKS        0U /* WWDG register callback disabled      */
+#define  USE_HAL_RTC_REGISTER_CALLBACKS         0U /* RTC register callback disabled       */
+#define  USE_HAL_SPI_REGISTER_CALLBACKS         0U /* SPI register callback disabled       */
+#define  USE_HAL_I2S_REGISTER_CALLBACKS         0U /* I2S register callback disabled       */
+#define  USE_HAL_TIM_REGISTER_CALLBACKS         0U /* TIM register callback disabled       */
+#define  USE_HAL_TSC_REGISTER_CALLBACKS         0U /* TSC register callback disabled       */
+#define  USE_HAL_PCD_REGISTER_CALLBACKS         0U /* PCD register callback disabled       */
+
+/* ########################## Assert Selection ############################## */
+/**
+  * @brief Uncomment the line below to expanse the "assert_param" macro in the
+  *        HAL drivers code
+  */
+/* #define USE_FULL_ASSERT   1U */
+
+/* Includes ------------------------------------------------------------------*/
+/**
+  * @brief Include module's header file
+  */
+
+#ifdef HAL_RCC_MODULE_ENABLED
+ #include "stm32f0xx_hal_rcc.h"
+#endif /* HAL_RCC_MODULE_ENABLED */
+
+#ifdef HAL_GPIO_MODULE_ENABLED
+ #include "stm32f0xx_hal_gpio.h"
+#endif /* HAL_GPIO_MODULE_ENABLED */
+
+#ifdef HAL_EXTI_MODULE_ENABLED
+  #include "stm32f0xx_hal_exti.h"
+#endif /* HAL_EXTI_MODULE_ENABLED */
+
+#ifdef HAL_DMA_MODULE_ENABLED
+  #include "stm32f0xx_hal_dma.h"
+#endif /* HAL_DMA_MODULE_ENABLED */
+
+#ifdef HAL_CORTEX_MODULE_ENABLED
+ #include "stm32f0xx_hal_cortex.h"
+#endif /* HAL_CORTEX_MODULE_ENABLED */
+
+#ifdef HAL_ADC_MODULE_ENABLED
+ #include "stm32f0xx_hal_adc.h"
+#endif /* HAL_ADC_MODULE_ENABLED */
+
+#ifdef HAL_CAN_MODULE_ENABLED
+ #include "stm32f0xx_hal_can.h"
+#endif /* HAL_CAN_MODULE_ENABLED */
+
+#ifdef HAL_CEC_MODULE_ENABLED
+ #include "stm32f0xx_hal_cec.h"
+#endif /* HAL_CEC_MODULE_ENABLED */
+
+#ifdef HAL_COMP_MODULE_ENABLED
+ #include "stm32f0xx_hal_comp.h"
+#endif /* HAL_COMP_MODULE_ENABLED */
+
+#ifdef HAL_CRC_MODULE_ENABLED
+ #include "stm32f0xx_hal_crc.h"
+#endif /* HAL_CRC_MODULE_ENABLED */
+
+#ifdef HAL_DAC_MODULE_ENABLED
+ #include "stm32f0xx_hal_dac.h"
+#endif /* HAL_DAC_MODULE_ENABLED */
+
+#ifdef HAL_FLASH_MODULE_ENABLED
+ #include "stm32f0xx_hal_flash.h"
+#endif /* HAL_FLASH_MODULE_ENABLED */
+
+#ifdef HAL_I2C_MODULE_ENABLED
+ #include "stm32f0xx_hal_i2c.h"
+#endif /* HAL_I2C_MODULE_ENABLED */
+
+#ifdef HAL_I2S_MODULE_ENABLED
+ #include "stm32f0xx_hal_i2s.h"
+#endif /* HAL_I2S_MODULE_ENABLED */
+
+#ifdef HAL_IRDA_MODULE_ENABLED
+ #include "stm32f0xx_hal_irda.h"
+#endif /* HAL_IRDA_MODULE_ENABLED */
+
+#ifdef HAL_IWDG_MODULE_ENABLED
+ #include "stm32f0xx_hal_iwdg.h"
+#endif /* HAL_IWDG_MODULE_ENABLED */
+
+#ifdef HAL_PCD_MODULE_ENABLED
+ #include "stm32f0xx_hal_pcd.h"
+#endif /* HAL_PCD_MODULE_ENABLED */
+
+#ifdef HAL_PWR_MODULE_ENABLED
+ #include "stm32f0xx_hal_pwr.h"
+#endif /* HAL_PWR_MODULE_ENABLED */
+
+#ifdef HAL_RTC_MODULE_ENABLED
+ #include "stm32f0xx_hal_rtc.h"
+#endif /* HAL_RTC_MODULE_ENABLED */
+
+#ifdef HAL_SMARTCARD_MODULE_ENABLED
+ #include "stm32f0xx_hal_smartcard.h"
+#endif /* HAL_SMARTCARD_MODULE_ENABLED */
+
+#ifdef HAL_SMBUS_MODULE_ENABLED
+ #include "stm32f0xx_hal_smbus.h"
+#endif /* HAL_SMBUS_MODULE_ENABLED */
+
+#ifdef HAL_SPI_MODULE_ENABLED
+ #include "stm32f0xx_hal_spi.h"
+#endif /* HAL_SPI_MODULE_ENABLED */
+
+#ifdef HAL_TIM_MODULE_ENABLED
+ #include "stm32f0xx_hal_tim.h"
+#endif /* HAL_TIM_MODULE_ENABLED */
+
+#ifdef HAL_TSC_MODULE_ENABLED
+ #include "stm32f0xx_hal_tsc.h"
+#endif /* HAL_TSC_MODULE_ENABLED */
+
+#ifdef HAL_UART_MODULE_ENABLED
+ #include "stm32f0xx_hal_uart.h"
+#endif /* HAL_UART_MODULE_ENABLED */
+
+#ifdef HAL_USART_MODULE_ENABLED
+ #include "stm32f0xx_hal_usart.h"
+#endif /* HAL_USART_MODULE_ENABLED */
+
+#ifdef HAL_WWDG_MODULE_ENABLED
+ #include "stm32f0xx_hal_wwdg.h"
+#endif /* HAL_WWDG_MODULE_ENABLED */
+
+/* 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)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
+/* Exported functions ------------------------------------------------------- */
+  void assert_failed(uint8_t* file, uint32_t line);
+#else
+  #define assert_param(expr) ((void)0U)
+#endif /* USE_FULL_ASSERT */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __STM32F0xx_HAL_CONF_H */
+
+/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/

+ 7 - 0
modules/gpio.c

@@ -13,6 +13,7 @@
 #define RESET_OUT_4   HAL_GPIO_WritePin(GPIOB, GPIO_PIN_3, GPIO_PIN_RESET)
 
 
+
 static uint8_t next_out_number = 0;
 static uint8_t current_out_number = 0;
 
@@ -39,6 +40,12 @@ void gpio_init(void)
     GPIO_InitStruct.Pin = GPIO_PIN_1 | GPIO_PIN_3 | GPIO_PIN_4;
     HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
     
+    // LED - индикация входного сигнала
+    GPIO_InitStruct.Pin = GPIO_PIN_2; 
+    HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+    
+    HAL_GPIO_WritePin(GPIOA, GPIO_PIN_2, GPIO_PIN_SET);
+    
     HAL_GPIO_WritePin(GPIOA, GPIO_PIN_12, GPIO_PIN_RESET);
     HAL_GPIO_WritePin(GPIOB, GPIO_PIN_1 | GPIO_PIN_3 | GPIO_PIN_4, GPIO_PIN_RESET);
 }

+ 32 - 2
modules/logic.c

@@ -5,18 +5,31 @@
 #include "pwm_out.h"
 
 
+#define LED_ON      HAL_GPIO_WritePin(GPIOA, GPIO_PIN_2, GPIO_PIN_RESET);
+#define LED_OFF     HAL_GPIO_WritePin(GPIOA, GPIO_PIN_2, GPIO_PIN_SET);
+
 static uint8_t step_number = 0;
 
+static IWDG_HandleTypeDef   IwdgHandle;
+
 
 //
 void logic_main(void)
 {
+    HAL_IWDG_Refresh(&IwdgHandle);
+      
     if (get_button()) 
-    {   
+    {
         gpio_set_output(true);
-        HAL_Delay(1000);
+        LED_ON;
+        HAL_Delay(500);
+        HAL_IWDG_Refresh(&IwdgHandle);
+        LED_OFF;
+        HAL_Delay(500);
+        HAL_IWDG_Refresh(&IwdgHandle);
         logic_set_out_pwm();
         HAL_Delay(500);
+        HAL_IWDG_Refresh(&IwdgHandle);
         gpio_set_output(false);
         tim_pwm_pulse_idle();
         
@@ -52,3 +65,20 @@ void logic_set_out_pwm(void)
     step_number = step_number == 3 ? 0 : step_number + 1;
 }
 
+//
+void wdt_init(void)
+{
+    RCC_OscInitTypeDef RCC_OscInitStruct;
+  
+    RCC_OscInitStruct.OscillatorType =  RCC_OSCILLATORTYPE_LSI;
+    RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+    RCC_OscInitStruct.LSIState = RCC_LSI_ON;
+    HAL_RCC_OscConfig(&RCC_OscInitStruct);
+    
+    IwdgHandle.Instance = IWDG;
+    IwdgHandle.Init.Prescaler = 32;
+    IwdgHandle.Init.Reload = 1000;
+    IwdgHandle.Init.Window = IWDG_WINDOW_DISABLE;
+    
+    HAL_IWDG_Init(&IwdgHandle);
+}

+ 3 - 0
modules/logic.h

@@ -10,5 +10,8 @@ void logic_main(void);
 //
 void logic_set_out_pwm(void);
 
+//
+void wdt_init(void);
+
   
 #endif

+ 138 - 121
output/drone.hex

@@ -1,15 +1,15 @@
 :020000040800F2
-:10000000780500204D1F00085D1F0008611F0008D3
+:100000008805002061200008712000087520000884
 :1000100000000000000000000000000000000000E0
-:10002000000000000000000000000000651F000844
-:100030000000000000000000671F0008C51C000849
-:10004000D31800080000000033190008EB1A00085C
-:10005000F31D0008831E0008FB1E0008071F000890
-:1000600000000000811F0008831F0008851F000892
-:10007000871F0008891F00088B1F00080000000070
-:100080005D0D000800000000000000008D1F00084A
-:10009000000000008F1F0008911F0008931F000838
-:1000A00000000000951F000800000000971F0008D6
+:10002000000000000000000000000000792000082F
+:1000300000000000000000007B200008D51D000823
+:10004000D31800080000000033190008FF1A000848
+:10005000071F0008971F00080F2000081B2000083A
+:100060000000000095200008972000089920000853
+:100070009B2000089D2000089F2000080000000031
+:100080005D0D00080000000000000000A120000835
+:1000900000000000A3200008A5200008A7200008F9
+:1000A00000000000A920000800000000AB200008AC
 :1000B00010B50400002C01D1012026E03D20205C79
 :1000C000002805D100203C216054200000F0DAFD1A
 :1000D00002203D216054211D206800F08BFB01208F
@@ -223,10 +223,10 @@
 :100DD00004E00020134908601349086031BD00B5E4
 :100DE00015480078002801D0012000E00020C0B2A2
 :100DF00000BD114908707047000000001410024047
-:100E00001C100240FFFF00006801002040420F005C
-:100E10008400002000040040440100203001002034
-:100E200054010020580100205C0100204106000010
-:100E300071010020700100206F0100207047704791
+:100E00001C100240FFFF00007801002040420F004C
+:100E10008400002000040040540100203001002024
+:100E200064010020680100206C01002041060000E0
+:100E300081010020800100207F0100207047704761
 :100E40007047704770477047F1B582B0002308685B
 :100E5000D840002800D1F3E00124086825009D4017
 :100E6000054001950198002800D1E7E00325486876
@@ -383,8 +383,8 @@
 :1017D0000090F80306D50F48009900F023F87043F5
 :1017E000050002E00E4870430500280000E00948AB
 :1017F000F2BD0648006870472C10024000200240ED
-:1018000089130000FFF8FFFF3C1F000804000020C0
-:101810000410024000127A001C1F00082C1F000850
+:1018000089130000FFF8FFFF5020000804000020AB
+:101810000410024000127A00302000084020000826
 :1018200000093D000022030A8B420BD203098B42C0
 :1018300019D243088B422ED2411A00D2014652419E
 :1018400010467047FF2209023FD012068B4205D393
@@ -396,114 +396,131 @@
 :1018A000524183088B4201D38B00C01A5241430836
 :1018B0008B4201D34B00C01A5241884200D3401AD8
 :1018C0005241CFD201461046704708B500F030F8BB
-:1018D00008BDFEE701480068704700BF60010020B6
+:1018D00008BDFEE701480068704700BF70010020A6
 :1018E00010B50400FA2080000E490978FFF79AFF2E
 :1018F00001000D480068FFF795FFFFF73DFC002849
 :1019000001D001200CE0042C09D20022210000208B
 :10191000C043FFF720FC05480460002000E00120E0
 :1019200010BD00BF080000200400002000000020BF
-:101930007047FEE770B586B01422002101A800F0C0
-:10194000A3F8802080024C490A6802430A600A68B2
-:101950001040009000988020C0020A6802430A608C
-:10196000096808400090009880256D0101950120CC
-:10197000029002200390032004909024E40501A922
-:101980002000FFF761FA019501A92000FFF75CFA3A
-:101990001A200190394E01A93000FFF755FA0022B4
-:1019A00029002000FFF74DFB00221A213000FFF72D
-:1019B00048FB06B070BD38B505002800C0B201284C
-:1019C00034D12F4C20782F4908702078002805D07A
-:1019D000022811D008D3032814D019E001220221D3
-:1019E0002648FFF72EFB13E00122802149019020B9
-:1019F000C005FFF726FB0BE0012210211F48FFF76F
-:101A000020FB05E0012208211C48FFF71AFBFFE735
-:101A10002800C0B201282DD12078032802D100204F
-:101A2000207027E02078401C207023E015480078C3
-:101A3000002805D0022811D008D3032814D019E0BB
-:101A4000002202210D48FFF7FCFA13E0002280215A
-:101A500049019020C005FFF7F4FA0BE000221021A5
-:101A60000648FFF7EEFA05E0002208210348FFF7D9
-:101A7000E8FAFFE731BD00001410024000040048FE
-:101A80006C0100206D01002010B504000800110059
-:101A90000200200000F002F8200010BD1206130A18
-:101AA0001A43130C1A4300BF094205D0830705D01F
-:101AB0000270401C491EF9D1704700001300103914
-:101AC00006D330B41400150010393CC0FCD230BC31
-:101AD000490700D30CC000D504C0890002D302809E
-:101AE000801C002900D502707047FEE7F8B586B06B
-:101AF0008020800239490A6802430A600968084068
-:101B0000009000988020000135490A6802430A606D
-:101B1000096808400090009802200290012103917A
-:101B2000032104910590C020C000019001A99020DC
-:101B3000C005FFF789F92B4DFFF75BFE2A49FFF738
-:101B400071FE401E2880294C29482060288860604A
-:101B50002848E06000262661A6606661A661200034
-:101B6000FEF7A6FA244D60202860AE602E61EE607C
-:101B7000AE616E612F1DC226F6003E600422290070
-:101B80002000FEF765FD3E60082229002000FEF7D8
-:101B90005FFD04212000FEF7B9FA08212000FEF7BE
-:101BA000B5FA07B0F0BD00B50200D2B2012A02D0EA
-:101BB000022A05D009E00A0092B2104B1A6004E034
-:101BC0000A0092B20E4B1A60FFE700BDC220C000AF
-:101BD0000A4908600A490860704700001410024072
-:101BE000181002406A01002040420F00CC00002083
-:101BF000002C0140204E000014010020382C014030
-:101C00003C2C014080B5FFF7EAF8002814D00120F1
-:101C1000FFF7D1FEFA20800000F03EF800F00DF84A
-:101C2000FA20400000F038F80020FFF7C4FEFFF76C
-:101C3000CDFF0020FFF7DDF801BD10B5134C207873
-:101C4000002805D002280DD007D303280FD013E0B9
-:101C50000F490120FFF7A7FF0EE00D490220FFF713
-:101C6000A2FF09E00B490120FFF79DFF04E00949AD
-:101C70000220FFF798FFFFE72078032802D1002019
-:101C8000207002E02078401C207010BD6E01002002
-:101C9000140500003A07000070B50400FFF71AFEB3
-:101CA000050026000020C043864202D00448007888
-:101CB0003618FFF70FFE401BB042FAD370BD00BFCD
-:101CC0000800002080B500F045F800F032F81E480A
-:101CD0000178491C017001780A2901D100210170A5
-:101CE00000200A2824DA19490C2242438A18127A61
-:101CF000002A1BD00C2242438A189288521E0C23C1
-:101D00004343CB189A800C2242438A189288002AB7
-:101D10000CD10C2242438A18D2880C234343CB189F
-:101D20009A8001220C234343C9184A72401CD8E709
-:101D300001BD00B506480168002902D00168491EAE
-:101D4000016000BD00000000720100200C000020B6
-:101D50006401002003480168034A12788918016071
-:101D6000704700BF600100200800002080B500F02F
-:101D700041F800F009F8FFF7DDFDFFF7B7FEFEF7C9
-:101D800083FFFFF73FFFFCE738B590B0302200211A
-:101D900004A8FFF779FE102200216846FFF774FEC1
-:101DA00012200490012007900990102008900A90BA
-:101DB00002240C9400250D95A02080030E900F9511
-:101DC00004A8FFF7EBF9002801D000F00FF8072076
-:101DD000009001940295039501216846FFF73EFCAF
-:101DE000002801D000F002F811B030BD00B572B685
-:101DF000FEE7FEE780B50648016810220A4302604C
-:101E00000020FFF76DFD00F005F8002002BD000086
-:101E100000200240704770B40123002413E00168E1
-:101E2000001D194202D04D466D1E49190C60091D56
-:101E3000121F042AFAD20D00960701D50C80AD1CA2
-:101E40001A4000D02C700268001D002AE7D170BC37
-:101E5000704730B401220EE00368C31844680830AC
-:101E6000144202D04D466D1E64191D6825601B1D6D
-:101E7000241D091FF9D10168001D0029ECD130BCD7
-:101E80007047FEE710B5074979441831064C7C4489
-:101E9000163404E0081D0A68891888470100A14229
-:101EA000F8D110BD08000000280000006BFFFFFF04
-:101EB000680100000C0000200000000097FFFFFFF9
-:101EC0000C000000B0000000000000200000000036
-:101ED00000F00DF8002801D0FFF7D4FF00BF00BFCD
-:101EE000002000BF00BFFFF741FF00F002F8012013
-:101EF000704780B500F002F801BDFEE7074638469E
-:101F000000F002F8FBE7FEE780B500BF00BF024A21
-:101F100011001820ABBEFBE72600020002030405F7
-:101F2000060708090A0B0C0D0E0F1010010203041E
-:101F300005060708090A0B0C0D0E0F100000000023
-:101F40000000000001020304060708090148804759
-:101F500001480047991F0008691F000800B5FEE707
-:101F600000B5FEE77047704700BF00BF00BF00BF6D
-:101F7000FFF7AEFF0400000000127A00010000002D
-:101F8000FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE729
-:0A1F9000FEE7FEE7FEE7FEE77047FC
-:0400000508001F6967
+:101930007047FEE770B586B014220021684600F0BB
+:10194000ADF88020800251490A6802430A600A68A3
+:101950001040059005988020C0020A6802430A6082
+:10196000096808400590059880256D0100950120C3
+:10197000019002200290032003909024E405694620
+:101980002000FFF761FA009569462000FFF75CFA36
+:101990001A2000903E4E69463000FFF755FA0420A9
+:1019A000009069462000FFF74FFA01220421200031
+:1019B000FFF747FB002229002000FFF742FB00222F
+:1019C0001A213000FFF73DFB06B070BD38B50500A9
+:1019D0002800C0B2012834D12E4C20782E4908703E
+:1019E0002078002805D0022811D008D3032814D06D
+:1019F00019E0012202212648FFF723FB13E0012210
+:101A0000802149019020C005FFF71BFB0BE001225C
+:101A100010211F48FFF715FB05E0012208211C4893
+:101A2000FFF70FFBFFE72800C0B201282DD1207877
+:101A3000032802D10020207027E02078401C20706D
+:101A400023E015480078002805D0022811D008D3DB
+:101A5000032814D019E0002202210D48FFF7F1FA03
+:101A600013E00022802149019020C005FFF7E9FA28
+:101A70000BE0002210210648FFF7E3FA05E0002200
+:101A800008210348FFF7DDFAFFE731BD14100240DB
+:101A9000000400487C0100207D01002010B50400F6
+:101AA000080011000200200000F002F8200010BD24
+:101AB0001206130A1A43130C1A4300BF094205D039
+:101AC000830705D00270401C491EF9D17047000001
+:101AD0001300103906D330B41400150010393CC07F
+:101AE000FCD230BC490700D30CC000D504C089002B
+:101AF00002D30280801C002900D502707047FEE7E7
+:101B0000F8B586B08020800239490A6802430A602D
+:101B100009680840009000988020000135490A6853
+:101B200002430A6009680840009000980220029071
+:101B300001210391032104910590C020C000019070
+:101B400001A99020C005FFF77FF92B4DFFF751FE4B
+:101B50002A49FFF767FE401E2880294C294820604B
+:101B6000288860602848E06000262661A6606661DB
+:101B7000A6612000FEF79CFA244D60202860AE602C
+:101B80002E61EE60AE616E612F1DC226F6003E60D2
+:101B9000042229002000FEF75BFD3E600822290098
+:101BA0002000FEF755FD04212000FEF7AFFA0821C2
+:101BB0002000FEF7ABFA07B0F0BD00B50200D2B2CC
+:101BC000012A02D0022A05D009E00A0092B2104B85
+:101BD0001A6004E00A0092B20E4B1A60FFE700BDE3
+:101BE000C220C0000A4908600A4908607047000026
+:101BF00014100240181002407A01002040420F00E9
+:101C0000CC000020002C0140204E000014010020D8
+:101C1000382C01403C2C014070B53C4C200000F0B9
+:101C2000B6F8FFF7DCF800282CD00120FFF7CEFE35
+:101C30009026F605002204213000FFF702FAFA256B
+:101C40006D00280000F0B0F8200000F0A0F801229C
+:101C500004213000FFF7F5F9280000F0A5F8200076
+:101C600000F095F800F00FF8280000F09DF8200033
+:101C700000F08DF80020FFF7A9FEFFF7B1FF00206C
+:101C8000FFF7B7F870BD10B5214C2078002805D0BB
+:101C900002280DD007D303280FD013E01D490120DF
+:101CA000FFF78BFF0EE01B490220FFF786FF09E0DC
+:101CB00019490120FFF781FF04E017490220FFF7CF
+:101CC0007CFFFFE72078032802D10020207002E08B
+:101CD0002078401C207010BD80B58CB0082000908A
+:101CE00000200890012007906846FFF757FA074840
+:101CF0000A49016020214160FA2189008160084978
+:101D0000C16000F00FF80DB000BD000044010020DC
+:101D10007E010020140500003A070000003000405A
+:101D2000FF0F000070B50400002C01D101202DE050
+:101D30001A48216808601A482168086060682168AC
+:101D40004860A06821688860FFF7C4FD0500072689
+:101D50002068C068304000280BD0FFF7BBFD401B57
+:101D60002828F4D32068C0680640002EEFD0032056
+:101D70000CE020680069E168884203D0E0682168CF
+:101D8000086102E0074821680860002070BD01007A
+:101D900004480A681060002070470000CCCC0000A6
+:101DA00055550000AAAA000070B50400FFF792FD87
+:101DB000050026000020C043864202D00448007877
+:101DC0003618FFF787FD401BB042FAD370BD00BF45
+:101DD0000800002080B500F045F800F032F81E48F9
+:101DE0000178491C017001780A2901D10021017094
+:101DF00000200A2824DA19490C2242438A18127A50
+:101E0000002A1BD00C2242438A189288521E0C23AF
+:101E10004343CB189A800C2242438A189288002AA6
+:101E20000CD10C2242438A18D2880C234343CB188E
+:101E30009A8001220C234343C9184A72401CD8E7F8
+:101E400001BD00B506480168002902D00168491E9D
+:101E5000016000BD00000000820100200C00002095
+:101E60007401002003480168034A12788918016050
+:101E7000704700BF700100200800002080B500F00E
+:101E800043F800F00BF8FFF755FDFFF739FEFEF7BA
+:101E9000FBFEFFF721FFFFF7BFFEFCE738B590B070
+:101EA0003022002104A8FFF7F9FD10220021684626
+:101EB000FFF7F4FD122004900120079009901020F4
+:101EC00008900A9002240C9400250D95A020800310
+:101ED0000E900F9504A8FFF761F9002801D000F0DB
+:101EE0000FF80720009001940295039501216846A0
+:101EF000FFF7B4FB002801D000F002F811B030BDAC
+:101F000000B572B6FEE7FEE780B50648016810220C
+:101F10000A4302600020FFF7E3FC00F005F8002010
+:101F200002BD000000200240704770B4012300246D
+:101F300013E00168001D194202D04D466D1E49197B
+:101F40000C60091D121F042AFAD20D00960701D554
+:101F50000C80AD1C1A4000D02C700268001D002AB5
+:101F6000E7D170BC704730B401220EE00368C3189B
+:101F700044680830144202D04D466D1E64191D6835
+:101F800025601B1D241D091FF9D10168001D0029B2
+:101F9000ECD130BC7047FEE710B5074979441831E1
+:101FA000064C7C44163404E0081D0A6889188847EA
+:101FB0000100A142F8D110BD080000002800000077
+:101FC0006BFFFFFF780100000C0000200000000004
+:101FD00097FFFFFF0C000000B00000000000002091
+:101FE0000000000000F00DF8002801D0FFF7D4FF3A
+:101FF00000BF00BF002000BF00BFFFF73FFF00F0A1
+:1020000002F80120704780B500F002F801BDFEE73C
+:102010000746384600F002F8FBE7FEE780B500BF50
+:1020200000BF024A11001820ABBEFBE726000200E9
+:1020300002030405060708090A0B0C0D0E0F101009
+:102040000102030405060708090A0B0C0D0E0F1008
+:102050000000000000000000010203040607080958
+:102060000148804701480047AD2000087D20000856
+:1020700000B5FEE700B5FEE77047704700BF00BF40
+:1020800000BF00BFFFF7AEFF0400000000127A009F
+:1020900001000000FEE7FEE7FEE7FEE7FEE7FEE7E1
+:0E20A000FEE7FEE7FEE7FEE7FEE7FEE770471D
+:040000050800207D52
 :00000001FF

+ 392 - 396
project/ewarm/drone.dep

@@ -5,1234 +5,1230 @@
     <configuration>
         <name>Debug</name>
         <outputs>
-            <file>$PROJ_DIR$\..\..\output\drone.bin</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smartcard.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac.o</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\cmsis_compiler.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_iwdg.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_comp.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cortex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\stm32f0xx_hal_conf.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_can.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cec.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_exti.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_irda.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dma.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_gpio.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_iwdg.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2s.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_wwdg.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\system\stm32f030x6.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tsc.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smbus.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.h</file>
+            <file>$PROJ_DIR$\..\..\modules\adc.c</file>
+            <file>$PROJ_DIR$\..\..\modules\button.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc.c</file>
+            <file>$PROJ_DIR$\..\..\modules\gpio.c</file>
+            <file>$PROJ_DIR$\..\..\modules\led.c</file>
+            <file>$PROJ_DIR$\..\..\modules\logic.c</file>
+            <file>$PROJ_DIR$\..\..\modules\misc.c</file>
+            <file>$PROJ_DIR$\..\..\modules\pwm_in.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard_ex.c</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc_ex.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_iwdg.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_i2c.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smbus.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc_ex.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rtc_ex.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\cmsis_compiler.h</file>
+            <file>$PROJ_DIR$\..\..\modules\pwm_out.c</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_gpio.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_it.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash.o</file>
+            <file>$PROJ_DIR$\..\..\user\stm32f0xx_it.c</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_usart_ex.h</file>
-            <file>$TOOLKIT_DIR$\lib\m6M_tl.a</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cec.o</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_tim_ex.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_i2c.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc_ex.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rtc_ex.xcl</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\cmsis_version.h</file>
+            <file>$PROJ_DIR$\..\..\user\main.c</file>
+            <file>$PROJ_DIR$\..\..\modules\usart.c</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rtc_ex.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_gpio.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart.xcl</file>
+            <file>$PROJ_DIR$\..\..\modules\tim.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product.h</file>
+            <file>$PROJ_DIR$\..\..\modules\systick.c</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_rcc.h</file>
+            <file>$PROJ_DIR$\..\startup_stm32f030x6.s</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc_ex.xcl</file>
+            <file>$TOOLKIT_DIR$\lib\m6M_tl.a</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cec.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\cmsis_version.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_tim_ex.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_iwdg.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi_ex.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dma.xcl</file>
-            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\system_stm32f0xx.o</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_gpio_ex.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_can.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\usart.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smartcard.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\usart.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smbus.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\pwm_out.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\pwm_in.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cec.xcl</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_dma.h</file>
             <file>$TOOLKIT_DIR$\inc\c\stdio.h</file>
             <file>$PROJ_DIR$\..\..\modules\systick.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tsc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\usart.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\drone.pbd</file>
             <file>$TOOLKIT_DIR$\inc\c\iccarm_builtin.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_dma_ex.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dma.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_dma.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_wwdg.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smartcard_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\usart.xcl</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_adc.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi_ex.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\drone.pbd</file>
+            <file>$PROJ_DIR$\Debug\Obj\pwm_out.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dma.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\system_stm32f0xx.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cec.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_gpio_ex.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\ysizet.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\pwm_in.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_can.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dma.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd.o</file>
+            <file>$TOOLKIT_DIR$\lib\dl6M_tlf.a</file>
             <file>$TOOLKIT_DIR$\inc\c\stdbool.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc_ex.o</file>
             <file>$PROJ_DIR$\..\..\modules\misc.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_can.xcl</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\Legacy\stm32_hal_legacy.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_exti.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_cortex.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr_ex.o</file>
             <file>$PROJ_DIR$\Debug\Obj\main.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc_ex.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\Legacy\stm32_hal_legacy.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc_ex.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_cortex.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
+            <file>$PROJ_DIR$\..\..\user\stm32f0xx_it.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_rcc_ex.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_i2c_ex.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smartcard.xcl</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_uart_ex.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_uart.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\stm32f0xx_hal_conf.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_comp.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_gpio.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_irda.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_exti.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_iwdg.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dma.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cec.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2s.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_can.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cortex.c</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_can.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_irda.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc_ex.o</file>
             <file>$TOOLKIT_DIR$\inc\c\yvals.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc_ex.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_uart_ex.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cortex.o</file>
-            <file>$PROJ_DIR$\..\..\modules\tim.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\core_cm0.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_flash_ex.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd_ex.xcl</file>
-            <file>$PROJ_DIR$\..\..\user\stm32f0xx_it.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_rcc_ex.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_i2c_ex.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\stddef.h</file>
+            <file>$PROJ_DIR$\..\..\modules\tim.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_irda.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\core_cm0.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_def.h</file>
             <file>$PROJ_DIR$\..\..\user\stm32f0xx_hal_conf.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\cmsis\cmsis_iccarm.h</file>
-            <file>$TOOLKIT_DIR$\lib\dl6M_tlf.a</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Product_string.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal.h</file>
             <file>$TOOLKIT_DIR$\inc\c\stdint.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\systick.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rcc.o</file>
             <file>$PROJ_DIR$\..\..\modules\gpio.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\systick.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\logic.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_iwdg.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_wwdg.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart_ex.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\pwm_out.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\systick.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\gpio.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_comp.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac_ex.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\gpio.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\systick.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr_ex.xcl</file>
-            <file>$PROJ_DIR$\..\..\modules\logic.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\string.h</file>
             <file>$PROJ_DIR$\Debug\Obj\logic.o</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.h</file>
-            <file>$PROJ_DIR$\..\..\modules\adc.c</file>
-            <file>$PROJ_DIR$\..\..\modules\gpio.c</file>
-            <file>$PROJ_DIR$\..\..\modules\led.c</file>
-            <file>$PROJ_DIR$\..\..\modules\misc.c</file>
-            <file>$PROJ_DIR$\..\..\modules\pwm_in.c</file>
-            <file>$PROJ_DIR$\..\..\modules\button.c</file>
-            <file>$PROJ_DIR$\..\..\modules\pwm_out.c</file>
-            <file>$PROJ_DIR$\..\..\modules\tim.c</file>
-            <file>$PROJ_DIR$\..\..\modules\usart.c</file>
-            <file>$PROJ_DIR$\..\..\modules\systick.c</file>
-            <file>$PROJ_DIR$\..\..\user\main.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\system\stm32f030x6.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart_ex.c</file>
-            <file>$PROJ_DIR$\..\..\modules\logic.c</file>
-            <file>$PROJ_DIR$\..\..\user\stm32f0xx_it.c</file>
-            <file>$PROJ_DIR$\..\startup_stm32f030x6.s</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smbus.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim_ex.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tsc.c</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_wwdg.c</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_wwdg.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart_ex.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\gpio.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\system_stm32f0xx.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_iwdg.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_exti.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2s.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_comp.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr_ex.xcl</file>
+            <file>$PROJ_DIR$\..\..\modules\logic.h</file>
+            <file>$TOOLKIT_DIR$\inc\c\string.h</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_pwr.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_crc.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart.xcl</file>
             <file>$PROJ_DIR$\..\..\modules\adc.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\logic.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\gpio.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_spi.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\startup_stm32f030x6.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart_ex.o</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_pwr_ex.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_comp.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_usart_ex.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_tim.h</file>
+            <file>$PROJ_DIR$\..\..\modules\button.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd_ex.o</file>
+            <file>$PROJ_DIR$\Debug\Obj\pwm_in.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr.o</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rtc.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc_ex.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_it.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash_ex.xcl</file>
-            <file>$PROJ_DIR$\..\stm32f030x6_flash.icf</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc.xcl</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_flash.h</file>
-            <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_adc_ex.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_pwr_ex.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_gpio.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_comp.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_it.xcl</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pwr.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_cortex.xcl</file>
             <file>$PROJ_DIR$\..\..\output\drone.hex</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim.xcl</file>
+            <file>$PROJ_DIR$\..\stm32f030x6_flash.icf</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_gpio.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_adc_ex.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_flash_ex.o</file>
+            <file>$TOOLKIT_DIR$\inc\c\DLib_Defaults.h</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_smartcard_ex.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_rtc.xcl</file>
-            <file>$TOOLKIT_DIR$\lib\rt6M_tl.a</file>
-            <file>$PROJ_DIR$\Debug\Obj\main.o</file>
             <file>$TOOLKIT_DIR$\inc\c\DLib_Config_Full.h</file>
-            <file>$PROJ_DIR$\..\..\modules\usart.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_tim.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\pwm_in.xcl</file>
+            <file>$PROJ_DIR$\..\..\modules\usart.h</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_adc_ex.h</file>
+            <file>$TOOLKIT_DIR$\lib\rt6M_tl.a</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tsc.xcl</file>
             <file>$PROJ_DIR$\..\..\libs\stm32\system\stm32f0xx.h</file>
-            <file>$PROJ_DIR$\..\..\modules\button.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd_ex.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac_ex.o</file>
-            <file>$PROJ_DIR$\..\..\modules\led.h</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim_ex.xcl</file>
-            <file>$PROJ_DIR$\Debug\Exe\drone.out</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_uart.o</file>
-            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c_ex.xcl</file>
+            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_usart.h</file>
+            <file>$PROJ_DIR$\Debug\List\drone.map</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_pcd.xcl</file>
+            <file>$PROJ_DIR$\..\..\modules\pwm_out.h</file>
+            <file>$PROJ_DIR$\..\..\modules\pwm_in.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2c_ex.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_irda.o</file>
-            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_exti.xcl</file>
-            <file>$PROJ_DIR$\Debug\List\drone.map</file>
             <file>$TOOLKIT_DIR$\inc\c\ycheck.h</file>
-            <file>$PROJ_DIR$\..\..\libs\stm32\drivers\inc\stm32f0xx_hal_usart.h</file>
-            <file>$PROJ_DIR$\..\..\modules\pwm_out.h</file>
-            <file>$PROJ_DIR$\..\..\modules\pwm_in.h</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_tim_ex.xcl</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_i2s.xcl</file>
+            <file>$PROJ_DIR$\..\..\modules\led.h</file>
+            <file>$TOOLKIT_DIR$\lib\shb_l.a</file>
+            <file>$PROJ_DIR$\Debug\Exe\drone.out</file>
             <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal.xcl</file>
+            <file>$PROJ_DIR$\Debug\Obj\stm32f0xx_hal_dac_ex.o</file>
         </outputs>
         <file>
-            <name>[ROOT_NODE]</name>
-            <outputs>
-                <tool>
-                    <name>ILINK</name>
-                    <file> 215 222</file>
-                </tool>
-            </outputs>
-        </file>
-        <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_comp.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 28</file>
+                    <file> 181</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 218</file>
+                    <file> 166</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 211</file>
+                    <file> 83</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 106</file>
+                    <file> 194</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cortex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 58</file>
+                    <file> 139</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 134</file>
+                    <file> 196</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 133</file>
+                    <file> 135</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 217</file>
+                    <file> 171</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 182</file>
+                    <file> 137</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 201</file>
+                    <file> 77</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 118</file>
+                    <file> 105</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 24</file>
+                    <file> 227</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 59</file>
+                    <file> 124</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 5</file>
+                    <file> 201</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_can.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 199</file>
+                    <file> 113</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 186</file>
+                    <file> 134</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_comp.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cec.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 193</file>
+                    <file> 79</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 129</file>
+                    <file> 109</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_exti.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 212</file>
+                    <file> 164</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 130</file>
+                    <file> 220</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_gpio.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 19</file>
+                    <file> 72</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 192</file>
+                    <file> 154</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_irda.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 219</file>
+                    <file> 228</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 99</file>
+                    <file> 157</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_exti.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 174</file>
+                    <file> 183</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 221</file>
+                    <file> 193</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 56</file>
+                    <file> 202</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 15</file>
+                    <file> 106</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 180</file>
+                    <file> 159</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 195</file>
+                    <file> 218</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_iwdg.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_irda.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 125</file>
+                    <file> 219</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 23</file>
+                    <file> 143</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dma.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 22</file>
+                    <file> 107</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 185</file>
+                    <file> 114</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dac.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 2</file>
+                    <file> 81</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 170</file>
+                    <file> 85</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_dma.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 51</file>
+                    <file> 69</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 26</file>
+                    <file> 200</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_iwdg.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 40</file>
+                    <file> 163</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 228</file>
+                    <file> 55</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_adc_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2s.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 100</file>
+                    <file> 165</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 184</file>
+                    <file> 223</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cec.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 11</file>
+                    <file> 87</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 41</file>
+                    <file> 177</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_crc.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 98</file>
+                    <file> 188</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 121</file>
+                    <file> 141</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2c.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 198</file>
+                    <file> 102</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 47</file>
+                    <file> 222</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_i2s.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 175</file>
+                    <file> 122</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 227</file>
+                    <file> 54</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_flash.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 8</file>
+                    <file> 149</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 34</file>
+                    <file> 182</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_can.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_wwdg.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 31</file>
+                    <file> 96</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 61</file>
+                    <file> 153</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_cortex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rcc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 102</file>
+                    <file> 151</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 196</file>
+                    <file> 57</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tsc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 1</file>
+                    <file> 91</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 66</file>
+                    <file> 210</file>
                 </tool>
             </outputs>
+            <inputs>
+                <tool>
+                    <name>ICCARM</name>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
+                </tool>
+            </inputs>
         </file>
         <file>
             <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 123</file>
+                    <file> 175</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 183</file>
+                    <file> 198</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 131</file>
+                    <file> 212</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 171</file>
+                    <file> 70</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 29</file>
+                    <file> 179</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 172</file>
+                    <file> 155</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 209 156 104 117 223 101 189 204 14 17 3 113 49 142 116 76 21 111 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\gpio.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\system\system_stm32f0xx.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 128</file>
+                    <file> 108</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 132</file>
+                    <file> 162</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 119 57</file>
+                    <file> 211 30 144 148 221 136 203 206 73 80 60 147 92 38 126 6 75 145 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\pwm_in.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pcd.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 39</file>
+                    <file> 115</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 207</file>
+                    <file> 215</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 226 57 43</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\pwm_out.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smbus.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 37</file>
+                    <file> 88</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 126</file>
+                    <file> 58</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 225 43</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\usart.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 33</file>
+                    <file> 191</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 46</file>
+                    <file> 205</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 205 43 136 115</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\systick.c</name>
+            <name>$PROJ_DIR$\..\..\modules\gpio.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 120</file>
+                    <file> 176</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 127</file>
+                    <file> 161</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 44 57</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 152 117</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\user\main.c</name>
+            <name>$PROJ_DIR$\..\..\modules\logic.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 203</file>
+                    <file> 160</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 65</file>
+                    <file> 174</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 112 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 63 42 50 64 54 190 188 105 13 109 176 191 213 210 178 103 60 44 205 225 226 57 119 135 43</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 168 117 217 152 216</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard_ex.c</name>
+            <name>$PROJ_DIR$\..\..\modules\pwm_in.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 53</file>
+                    <file> 112</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 200</file>
+                    <file> 189</file>
                 </tool>
             </outputs>
+            <inputs>
+                <tool>
+                    <name>ICCARM</name>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 217 117 89</file>
+                </tool>
+            </inputs>
         </file>
         <file>
             <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 55</file>
+                    <file> 100</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 25</file>
+                    <file> 101</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 124</file>
+                    <file> 84</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 181</file>
+                    <file> 132</file>
                 </tool>
             </outputs>
-            <inputs>
-                <tool>
-                    <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
-                </tool>
-            </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\modules\logic.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 137</file>
+                    <file> 120</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 122</file>
+                    <file> 167</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9 135 57 226 119 225</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\user\stm32f0xx_it.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_pwr.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 7</file>
+                    <file> 190</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 194</file>
+                    <file> 185</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 107 116 112 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 63 42 50 64 54 190 188 105 13 109 176 191</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\startup_stm32f030x6.s</name>
-            <outputs>
-                <tool>
-                    <name>AARM</name>
-                    <file> 179</file>
-                </tool>
-            </outputs>
-        </file>
-        <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smbus.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 36</file>
+                    <file> 68</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 4</file>
+                    <file> 59</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_rtc_ex.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_smartcard_ex.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 18</file>
+                    <file> 97</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 16</file>
+                    <file> 204</file>
                 </tool>
             </outputs>
-            <inputs>
-                <tool>
-                    <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
-                </tool>
-            </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_spi.c</name>
+            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 35</file>
+                    <file> 95</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 173</file>
+                    <file> 172</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_uart.c</name>
+            <name>$PROJ_DIR$\..\..\modules\pwm_out.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 216</file>
+                    <file> 104</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 20</file>
+                    <file> 156</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 216 89</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_usart.c</name>
+            <name>$PROJ_DIR$\..\..\user\stm32f0xx_it.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 38</file>
+                    <file> 63</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 177</file>
+                    <file> 192</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 129 126 146 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 119 94 93 127 99 208 195 140 56 131 170 180</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tim_ex.c</name>
+            <name>$PROJ_DIR$\..\..\user\main.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 32</file>
+                    <file> 184</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 214</file>
+                    <file> 121</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 146 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 119 94 93 127 99 208 195 140 56 131 170 180 224 187 173 142 118 90 207 216 217 117 152 168 89</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_tsc.c</name>
+            <name>$PROJ_DIR$\..\..\modules\usart.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 45</file>
+                    <file> 86</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 208</file>
+                    <file> 98</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 207 89 169 125</file>
                 </tool>
             </inputs>
         </file>
         <file>
-            <name>$PROJ_DIR$\..\..\libs\stm32\drivers\src\stm32f0xx_hal_wwdg.c</name>
+            <name>$PROJ_DIR$\..\..\modules\systick.c</name>
             <outputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 52</file>
+                    <file> 150</file>
                 </tool>
                 <tool>
                     <name>BICOMP</name>
-                    <file> 169</file>
+                    <file> 158</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ICCARM</name>
-                    <file> 116 76 21 111 209 156 104 117 223 101 189 204 14 17 3 113 49 142 62 110 27 108 6 30 42 50 64 54 190 188 105 176 191 206 12 68 67 224 9</file>
+                    <file> 126 6 75 145 211 30 144 148 221 136 203 206 73 80 60 147 92 38 123 128 111 130 62 110 94 93 127 99 208 195 140 0 170 180 186 82 133 138 213 65 90 117</file>
                 </tool>
             </inputs>
         </file>
+        <file>
+            <name>$PROJ_DIR$\..\startup_stm32f030x6.s</name>
+            <outputs>
+                <tool>
+                    <name>AARM</name>
+                    <file> 178</file>
+                </tool>
+            </outputs>
+        </file>
         <file>
             <name>$PROJ_DIR$\Debug\Exe\drone.out</name>
             <outputs>
                 <tool>
                     <name>OBJCOPY</name>
-                    <file> 0 197</file>
+                    <file> 197</file>
                 </tool>
                 <tool>
                     <name>ILINK</name>
-                    <file> 222</file>
+                    <file> 214</file>
                 </tool>
             </outputs>
             <inputs>
                 <tool>
                     <name>ILINK</name>
-                    <file> 187 128 137 203 39 37 179 40 22 100 31 11 193 102 98 59 2 212 51 174 8 199 19 198 133 175 219 125 28 211 180 58 118 56 182 18 1 53 36 35 55 123 32 45 216 131 38 124 52 7 29 120 33 220 202 10 114</file>
+                    <file> 199 176 160 184 112 104 178 105 83 124 113 79 181 139 135 137 72 228 107 164 81 183 69 202 159 165 219 163 115 188 190 120 151 122 191 68 84 97 88 87 100 175 102 91 212 179 95 149 96 63 108 150 86 225 209 78 116</file>
                 </tool>
             </inputs>
         </file>
-        <forcedrebuild>
-            <name>$PROJ_DIR$\Debug\Exe\drone.out</name>
-            <tool>OBJCOPY</tool>
-        </forcedrebuild>
+        <file>
+            <name>[ROOT_NODE]</name>
+            <outputs>
+                <tool>
+                    <name>ILINK</name>
+                    <file> 226 214</file>
+                </tool>
+            </outputs>
+        </file>
     </configuration>
     <configuration>
         <name>Release</name>

File diff suppressed because it is too large
+ 3 - 3
project/settings/drone.wsdt


+ 2 - 0
user/main.c

@@ -28,6 +28,8 @@ int main()
     tim_pwm_out_init();
     tim_pwm_in_init();
 
+    wdt_init();
+    
 #if 0    
     usart_init();
     printf("FW started...\r\n");

Some files were not shown because too many files changed in this diff