diff --git a/Inc/targets.h b/Inc/targets.h index 66485ae1..4fd0acf3 100644 --- a/Inc/targets.h +++ b/Inc/targets.h @@ -129,7 +129,7 @@ #endif /// #ifdef REF_G431 -#define FIRMWARE_NAME "Ref G431 " +#define FIRMWARE_NAME "Ref G431" #define FILE_NAME "REF_G431" #define DEAD_TIME 80 #define HARDWARE_GROUP_G4_A @@ -138,8 +138,18 @@ // #define USE_SERIAL_TELEMETRY #endif +#ifdef PROTONDRIVE_G431 +#define FIRMWARE_NAME "PROTONDRIVE " +#define FILE_NAME "PROTONDRIVE_G431" +#define DEAD_TIME 100 +#define HARDWARE_GROUP_G4_B +#define TARGET_STALL_PROTECTION_INTERVAL 20000 +// #define PA6_VOLTAGE +// #define USE_SERIAL_TELEMETRY +#endif + #ifdef GD32DEV_A_E230 -#define FIRMWARE_NAME "GD32 Dev A " +#define FIRMWARE_NAME "GD32 Dev A" #define FILE_NAME "GD32DEV_A_E230" #define DEAD_TIME 40 #define HARDWARE_GROUP_GD_A @@ -216,7 +226,7 @@ #endif #ifdef AIRBEE_F421 -#define FIRMWARE_NAME "AIRBEE F4 " +#define FIRMWARE_NAME "AIRBEE F4" #define FILE_NAME "AIRBEE_F421" #define DEAD_TIME 22 #define HARDWARE_GROUP_AT_045 @@ -246,6 +256,28 @@ // #define PA6_NTC_ONLY #endif +#ifdef FLYWOO_F4A_F421 +#define FIRMWARE_NAME "FLYWOO_F4A " +#define FILE_NAME "FLYWOO_F4A_F421" +#define DEAD_TIME 75 +#define HARDWARE_GROUP_AT_540 +#define HARDWARE_GROUP_AT_E +#define USE_SERIAL_TELEMETRY +#define USE_PA14_TELEMETRY +#define PA6_NTC_ONLY +#endif + +#ifdef FLYWOO_F421 +#define FIRMWARE_NAME "FLYWOO_F421 " +#define FILE_NAME "FLYWOO_F421" +#define DEAD_TIME 60 +#define HARDWARE_GROUP_AT_B +#define HARDWARE_GROUP_AT_045 +#define USE_SERIAL_TELEMETRY +#define ADC_CHANNEL_CURRENT ADC_CHANNEL_3 +#define ADC_CHANNEL_VOLTAGE ADC_CHANNEL_6 +#endif + #ifdef F4A_4IN1_F421 #define FIRMWARE_NAME "F4A 4in1 " #define FILE_NAME "F4A_4IN1_F421" @@ -541,7 +573,7 @@ #endif #ifdef AT32DEV_F415 -#define FIRMWARE_NAME "AT32F415 " +#define FIRMWARE_NAME "AT32F415" #define FILE_NAME "AT32DEV_F415" #define DEAD_TIME 100 #define HARDWARE_GROUP_AT_D @@ -550,7 +582,7 @@ #endif #ifdef DAKEFPV_35A_F415 -#define FIRMWARE_NAME "DakeFPV 35A " +#define FIRMWARE_NAME "DakeFPV 35A" #define FILE_NAME "DAKEFPV_35A_F415" // DISABLE_BUILD #define DEAD_TIME 20 #define HARDWARE_GROUP_AT_D @@ -648,6 +680,15 @@ #define USE_SERIAL_TELEMETRY #endif +#ifdef SKYSTARS_KM55_V2_F421 +#define FIRMWARE_NAME "KM55 F4 " +#define FILE_NAME "SKYSTARS_KM55_V2_F421" +#define DEAD_TIME 60 +#define HARDWARE_GROUP_AT_B +#define HARDWARE_GROUP_AT_045 +#define USE_SERIAL_TELEMETRY +#endif + #ifdef SKYSTARS_AM60_THRUSTER_F421 #define FIRMWARE_NAME "F421 ROV " #define FILE_NAME "SKYSTARS_AM60_THRUSTER_F421" @@ -709,6 +750,47 @@ #define USE_SERIAL_TELEMETRY #endif +#ifdef AORC_K_A_F421 +#define FIRMWARE_NAME "AORC_K_F421" +#define FILE_NAME "AORC_K_A_F421" +#define DEAD_TIME 80 +#define HARDWARE_GROUP_AT_B +#define HARDWARE_GROUP_AT_540 +#define USE_SERIAL_TELEMETRY +#define USE_LED_STRIP +#define WS2812_PIN GPIO_PINS_8 +#endif + +#ifdef AORC_G_A_F421 +#define FIRMWARE_NAME "AORC_G_F421" +#define FILE_NAME "AORC_G_A_F421" +#define DEAD_TIME 80 +#define HARDWARE_GROUP_AT_B +#define HARDWARE_GROUP_AT_450 +#define USE_SERIAL_TELEMETRY +#endif + +#ifdef BAYCKRC_S_55A_F421 +#define HARDWARE_GROUP_AT_C +#define FIRMWARE_NAME "BAYCKRC S55A" +#define FILE_NAME "BAYCKRC_S_55A_F421" +#define DEAD_TIME 60 +#define HARDWARE_GROUP_AT_540 +#define USE_SERIAL_TELEMETRY +#endif + +#ifdef F4A_ZERODRAG_F421 +#define FIRMWARE_NAME "F4A Zerodrag" +#define FILE_NAME "F4A_ZERODRAG_F421" +#define DEAD_TIME 75 +#define HARDWARE_GROUP_AT_540 +#define HARDWARE_GROUP_AT_B +#define USE_SERIAL_TELEMETRY +#define USE_PA14_TELEMETRY +#define PA6_NTC_ONLY +#endif + + /*****************************************************AT32F415 targets ************************************************/ #ifdef PB450_F051 @@ -738,6 +820,30 @@ #define HARDWARE_GROUP_F0_405 #endif +#ifdef ASCENT_TEST_F051 +#define FIRMWARE_NAME "Sequre F0 " +#define FILE_NAME "ASCENT_TEST_F051" +#define DEAD_TIME 80 +#define HARDWARE_GROUP_F0_C +#define USE_SERIAL_TELEMETRY +#define VOLTAGE_ADC_CHANNEL LL_ADC_CHANNEL_6 +#define VOLTAGE_ADC_PIN LL_GPIO_PIN_6 +#define CURRENT_ADC_CHANNEL LL_ADC_CHANNEL_3 +#define CURRENT_ADC_PIN LL_GPIO_PIN_3 +#define MILLIVOLT_PER_AMP 25 +#define RAMP_SPEED_LOW_RPM 1 +#define RAMP_SPEED_HIGH_RPM 1 +#endif + +#ifdef DM_VISHNU32_F051 +#define FILE_NAME "DM_VISHNU32_F051" +#define FIRMWARE_NAME "DM_VISHNU32 " +#define DEAD_TIME 45 +#define HARDWARE_GROUP_F0_A +#define TARGET_VOLTAGE_DIVIDER 65 +#define USE_SERIAL_TELEMETRY +#endif + #ifdef FD6288_F051 #define FILE_NAME "FD6288_F051" #define FIRMWARE_NAME "FD6288_PA2 " @@ -1058,6 +1164,18 @@ /******************************* G071 Targets * *********************************/ +#ifdef RRIOT_G071 +#define FILE_NAME "RRIOT_G071" +#define FIRMWARE_NAME "RRIOT G071" +#define DEAD_TIME 45 +#define MILLIVOLT_PER_AMP 15 +#define CURRENT_OFFSET 0 +#define HARDWARE_GROUP_G0_K +#define USE_SERIAL_TELEMETRY +#define SIXTY_FOUR_KB_MEMORY +#endif + + #ifdef GEN_64K_G071 #define FILE_NAME "GEN_64K_G071" #define FIRMWARE_NAME "G071 64kESC " @@ -2185,6 +2303,41 @@ #endif +#ifdef HARDWARE_GROUP_G0_K + +#define MCU_G071 +#define USE_TIMER_3_CHANNEL_1 +#define INPUT_PIN LL_GPIO_PIN_4 +#define INPUT_PIN_PORT GPIOB +#define IC_TIMER_CHANNEL LL_TIM_CHANNEL_CH1 +#define IC_TIMER_REGISTER TIM3 +#define IC_TIMER_POINTER htim3 + +#define INPUT_DMA_CHANNEL LL_DMA_CHANNEL_1 +#define DMA_HANDLE_TYPE_DEF hdma_tim3_ch1 +#define IC_DMA_IRQ_NAME DMA1_Channel1_IRQn + +#define PHASE_A_GPIO_LOW LL_GPIO_PIN_1 +#define PHASE_A_GPIO_PORT_LOW GPIOB +#define PHASE_A_GPIO_HIGH LL_GPIO_PIN_10 +#define PHASE_A_GPIO_PORT_HIGH GPIOA + +#define PHASE_B_GPIO_LOW LL_GPIO_PIN_0 +#define PHASE_B_GPIO_PORT_LOW GPIOB +#define PHASE_B_GPIO_HIGH LL_GPIO_PIN_9 +#define PHASE_B_GPIO_PORT_HIGH GPIOA + +#define PHASE_C_GPIO_LOW LL_GPIO_PIN_7 +#define PHASE_C_GPIO_PORT_LOW GPIOA +#define PHASE_C_GPIO_HIGH LL_GPIO_PIN_8 +#define PHASE_C_GPIO_PORT_HIGH GPIOA + +#define PHASE_A_COMP LL_COMP_INPUT_MINUS_IO3 // pa2 +#define PHASE_B_COMP LL_COMP_INPUT_MINUS_IO1 // pb3 +#define PHASE_C_COMP LL_COMP_INPUT_MINUS_IO2 // pb7 + +#endif + #ifdef HARDWARE_GROUP_G4_A #define MCU_G431 @@ -2235,6 +2388,56 @@ #endif +#ifdef HARDWARE_GROUP_G4_B + +#define MCU_G431 +#define USE_TIMER_15_CHANNEL_1 +#define INPUT_PIN LL_GPIO_PIN_2 +#define INPUT_PIN_PORT GPIOA +#define IC_TIMER_CHANNEL LL_TIM_CHANNEL_CH1 +#define IC_TIMER_REGISTER TIM15 +#define IC_TIMER_POINTER htim15 + +#define INPUT_DMA_CHANNEL LL_DMA_CHANNEL_1 +#define DMA_HANDLE_TYPE_DEF hdma_tim15_ch1 +#define IC_DMA_IRQ_NAME DMA1_Channel1_IRQn + +#define PHASE_A_GPIO_LOW LL_GPIO_PIN_1 +#define PHASE_A_GPIO_PORT_LOW GPIOB +#define PHASE_A_GPIO_HIGH LL_GPIO_PIN_10 +#define PHASE_A_GPIO_PORT_HIGH GPIOA + +#define PHASE_B_GPIO_LOW LL_GPIO_PIN_0 +#define PHASE_B_GPIO_PORT_LOW GPIOB +#define PHASE_B_GPIO_HIGH LL_GPIO_PIN_9 +#define PHASE_B_GPIO_PORT_HIGH GPIOA + +#define PHASE_C_GPIO_LOW LL_GPIO_PIN_7 +#define PHASE_C_GPIO_PORT_LOW GPIOA +#define PHASE_C_GPIO_HIGH LL_GPIO_PIN_8 +#define PHASE_C_GPIO_PORT_HIGH GPIOA + +#define PHASE_A_COMP LL_COMP_INPUT_MINUS_IO1 // +#define PHASE_B_COMP LL_COMP_INPUT_MINUS_IO1 // +#define PHASE_C_COMP LL_COMP_INPUT_MINUS_IO2 // + +#define PHASE_A_EXTI_LINE LL_EXTI_LINE_22 +#define PHASE_A_COMP_NUMBER COMP2 + +#define PHASE_B_EXTI_LINE LL_EXTI_LINE_21 +#define PHASE_B_COMP_NUMBER COMP1 + +#define PHASE_C_EXTI_LINE LL_EXTI_LINE_21 +#define PHASE_C_COMP_NUMBER COMP1 + +#define VOLTAGE_ADC_PIN LL_GPIO_PIN_5 +#define VOLTAGE_ADC_CHANNEL LL_ADC_CHANNEL_5 + +#define CURRENT_ADC_PIN LL_GPIO_PIN_4 +#define CURRENT_ADC_CHANNEL LL_ADC_CHANNEL_4 + +#endif + /************************************ G031 Hardware Groups * ************************************************/ diff --git a/Keil_Projects/AM32_MultiProject.uvmpw b/Keil_Projects/AM32_MultiProject.uvmpw index cea70728..cdef7b15 100644 --- a/Keil_Projects/AM32_MultiProject.uvmpw +++ b/Keil_Projects/AM32_MultiProject.uvmpw @@ -9,44 +9,36 @@ .\Am32e230.uvprojx - 1 .\Am32F031.uvprojx - 1 .\Am32F051.uvprojx - 1 .\Am32F415.uvprojx - 1 .\Am32F421.uvprojx - 1 - 1 + 1 .\Am32G071.uvprojx - 1 - 1 + 1 .\Am32G431.uvprojx - 1 .\Am32l431.uvprojx - 1 diff --git a/Keil_Projects/AM32_MultiProject.uvmpw.uvgui.alkaz b/Keil_Projects/AM32_MultiProject.uvmpw.uvgui.alkaz index 73e07713..d3d40e09 100644 --- a/Keil_Projects/AM32_MultiProject.uvmpw.uvgui.alkaz +++ b/Keil_Projects/AM32_MultiProject.uvmpw.uvgui.alkaz @@ -29,8 +29,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 @@ -1724,8 +1724,8 @@ 59392 File - 2844 - 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000004000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000004000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE80300000000000000000000000000000000000000000000000100000001000000960000000200205000000000035442539600000000000000120003544253077462735F313273046D696E69023630166C6F775F72706D5F7468726F74746C655F6C696D69740F646567726565735F63656C736975731D7374616C6C5F70726F746563745F7461726765745F696E74657276616C205441524745545F5354414C4C5F50524F54454354494F4E5F494E54455256414C055F663033310673657175726508636F6D705F70776D1348415244574152455F47524F55505F41545F451348415244574152455F47524F55505F41545F43036A6D69054D414D42411323646566696E65204C45445F4F4E5F504131350C204C45445F4F4E5F504131350470613135000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000400160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C6559010000 + 2833 + 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000400020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000004000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000004000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000004000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000004000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE8030000000004000000000000000000000000000000000000010000000100000096000000020020500000000015534B5953544152535F414D36305F56325F463432319600000000000000120015534B5953544152535F414D36305F56325F46343231046B6D3535036634611348415244574152455F47524F55505F47305F460673657175726509455854495F4C494E450474756E650561726D65640462656D660D7369676E616C74696D656F757404333333340C737465707065725F73696E650473696E651854494D315F55505F54494D31365F49525148616E646C65721345585449345F31355F49525148616E646C65720E4C4C5F434F4D505F456E61626C650D54494D365F4441435F4952516E077462735F313273000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000004001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000400160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C6559010000 1423 @@ -1740,8 +1740,8 @@ 59399 Build - 1389 - 00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000000001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000000000000100000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA00000000000000000000000000000000000000000000000001000000010000009600000003002050080000000F5345515552455F3132535F47303731960000000000000015000C47454E5F36344B5F473037310E44543132305F36344B5F473037310E4E455554524F4E52435F473037311249464C494748545F424C49545A5F473037310E41494B4F4E5F50524F5F473037310B544D4F544F525F473037310B5345515552455F473037310F48414B52435F323032335F473037310F5345515552455F3132535F4730373111464C59434F4C4F525F4856335F473037310C414F52435F47505F473037310C414F52435F50445F473037311049464C494748545F3132535F473037311449464C494748545F424C49545A5F4E5F47303731105345515552455F34494E315F47303731134E455554524F4E5F50554C4C55505F473037310D414D33325F4553435F473037311949464C494748545F3132535F53494E474C455F4E5F473037310F53545F47305F30335F4E5F473037310D53545F47305F30345F473037310C535552464245455F473037310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000000240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C642F010000 + 1813 + 00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000000001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000000000000100000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA000000000000000000000000000000000000000000000000010000000100000096000000030020502C00000015534B5953544152535F4B4D35355F56325F4634323196000000000000002D000C415433324445565F463432310C54454B4B4F33325F463432310C41494B4F4E5F53494E474C4506464F584545520941494B4F4E5F3535410857524149544833320848414B52435F4B420848414B52435F47420C535741505F50574D5F50494E1041543332463432315F5042345F3035341041543332463432315F5042345F3430351041543332463432315F5042345F353430074634415F41494F084634415F34494E3109534C4F544341525F470B4634415F455854434F4D500948414B52435F473233144E455554524F4E5F315F32535F4D494E4941494F114E455554524F4E5F325F36535F463432310F464C415348484F4242595F463432310C44414B454650565F463432310D5442535F4D494E495F46343231114E455554524F4E5F34494E315F463432311152525F524F424F545F4455414C5F4553430A47695053795F4634323115534B5953544152535F414D36305F56325F463432310C5442535F3132535F463432310D464C59524F544F525F31353041125350454544594245455F3635415F4634323113534B5953544152535F4D565036305F463432310B5350454449585F463432310B4753504143455F46343231114A4D49544553545F315F32535F46343231105345515552455F544553545F46343231105442535F36535F34494E315F463432310B4149524245455F463432311049464C494748545F544553545F4634410D41545F46345F30345F463432311B534B5953544152535F414D36305F54485255535445525F463432310D414F52435F4B5F415F463432310D414F52435F475F415F4634323112424159434B52435F535F3535415F463432310F464C59574F4F5F4634415F463432310B464C59574F4F5F4634323115534B5953544152535F4B4D35355F56325F463432310000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000000240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C642F010000 583 @@ -1776,166 +1776,4 @@ - - 1 - 0 - - 100 - 2 - - <6>..\Mcu\g071\Src\ADC.c - 0 - 38 - 39 - 1 - - 0 - - - <7>..\Mcu\g431\Src\ADC.c - 4 - 19 - 35 - 1 - - 0 - - - C:\Users\alkaz\OneDrive\Documents\AM32_MULTI_MCU\Inc\targets.h - 8 - 464 - 496 - 1 - - 0 - - - <7>..\Mcu\g431\Src\peripherals.c - 0 - 454 - 491 - 1 - - 0 - - - C:\Users\alkaz\OneDrive\Documents\AM32_MULTI_MCU\Mcu\g431\Inc\peripherals.h - 0 - 1 - 1 - 1 - - 0 - - - <1>..\Src\main.c - 0 - 1727 - 1738 - 1 - - 0 - - - <7>..\Mcu\g431\Src\system_stm32g4xx.c - 0 - 230 - 236 - 1 - - 0 - - - <7>..\Mcu\g431\Src\stm32g4xx_it.c - 5 - 108 - 145 - 1 - - 0 - - - <6>..\Mcu\g071\Src\stm32g0xx_it.c - 0 - 205 - 218 - 1 - - 0 - - - <8>..\Mcu\l431\Src\ADC.c - 0 - 96 - 97 - 1 - - 0 - - - <7>..\Mcu\g431\Src\serial_telemetry.c - 4 - 19 - 20 - 1 - - 0 - - - <4>..\Mcu\f415\Src\comparator.c - 0 - 13 - 50 - 1 - - 0 - - - <4>..\Mcu\f415\Src\at32f415_it.c - 0 - 1 - 1 - 1 - - 0 - - - <8>..\Mcu\l431\Src\comparator.c - 0 - 1 - 1 - 1 - - 0 - - - <8>..\Mcu\l431\Src\stm32l4xx_it.c - 0 - 1 - 1 - 1 - - 0 - - - <8>..\Mcu\l431\Src\peripherals.c - 0 - 1 - 1 - 1 - - 0 - - - <2>..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_utils.c - 0 - 151 - 162 - 1 - - 0 - - - - diff --git a/Keil_Projects/Am32F031.uvguix.alkaz b/Keil_Projects/Am32F031.uvguix.alkaz index 7723275d..e11f98a2 100644 --- a/Keil_Projects/Am32F031.uvguix.alkaz +++ b/Keil_Projects/Am32F031.uvguix.alkaz @@ -110,8 +110,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 diff --git a/Keil_Projects/Am32F031.uvprojx b/Keil_Projects/Am32F031.uvprojx index 7eb9a2fc..f6e854d2 100644 --- a/Keil_Projects/Am32F031.uvprojx +++ b/Keil_Projects/Am32F031.uvprojx @@ -89,7 +89,7 @@ 0 0 - 1 + 0 diff --git a/Keil_Projects/Am32F051.uvguix.alkaz b/Keil_Projects/Am32F051.uvguix.alkaz index b38ccc84..9e091b41 100644 --- a/Keil_Projects/Am32F051.uvguix.alkaz +++ b/Keil_Projects/Am32F051.uvguix.alkaz @@ -110,8 +110,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 diff --git a/Keil_Projects/Am32F051.uvoptx b/Keil_Projects/Am32F051.uvoptx index dd42cc65..b96cb838 100644 --- a/Keil_Projects/Am32F051.uvoptx +++ b/Keil_Projects/Am32F051.uvoptx @@ -75,7 +75,7 @@ 1 0 - 1 + 0 18 @@ -7592,6 +7592,261 @@ + + DM_VISHNU32 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 1 + + 18 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BB11477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8000 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD20000000 -FC1000 -FN1 -FF0STM32F0xx_32.FLM -FS08000000 -FL08000 -FP0($$Device:STM32F051K6Ux$CMSIS\Flash\STM32F0xx_32.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F0xx_32 -FL08000 -FS08000000 -FP0($$Device:STM32F051K6Ux$CMSIS\Flash\STM32F0xx_32.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,486,533,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_frametime_high,0x0A + + + 1 + 1 + dshot_frametime_low,0x0A + + + 2 + 1 + dshot_frametime,0x0A + + + 3 + 1 + duty_cycle,0x0A + + + 4 + 1 + minimum_duty_cycle,0x0A + + + 5 + 1 + smallestnumber,0x0A + + + 6 + 1 + zero_input_count + + + 7 + 1 + dma_buffer + + + 8 + 1 + servoPwm + + + 9 + 1 + dshot + + + 10 + 1 + signaltimeout,0x0A + + + 11 + 1 + dshot_goodcounts,0x0A + + + 12 + 1 + dshot_badcounts,0x0A + + + + + 1 + 0 + 40015804 + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + 1 + 0 + 0 + 2 + 10000000 + + + + startup 0 diff --git a/Keil_Projects/Am32F051.uvprojx b/Keil_Projects/Am32F051.uvprojx index e59a4094..200823fc 100644 --- a/Keil_Projects/Am32F051.uvprojx +++ b/Keil_Projects/Am32F051.uvprojx @@ -89,7 +89,7 @@ 0 0 - 1 + 0 @@ -622,7 +622,7 @@ 0 0 - 1 + 0 @@ -1224,7 +1224,7 @@ 0 0 - 1 + 0 @@ -1826,7 +1826,7 @@ 0 0 - 1 + 0 @@ -2428,7 +2428,7 @@ 0 0 - 1 + 0 @@ -3030,7 +3030,7 @@ 0 0 - 1 + 0 @@ -3632,7 +3632,7 @@ 0 0 - 1 + 0 @@ -4234,7 +4234,7 @@ 0 0 - 1 + 0 @@ -4836,7 +4836,7 @@ 0 0 - 1 + 0 @@ -5438,7 +5438,7 @@ 0 0 - 1 + 0 @@ -6040,7 +6040,7 @@ 0 0 - 1 + 0 @@ -6642,7 +6642,7 @@ 0 0 - 1 + 0 @@ -7244,7 +7244,7 @@ 0 0 - 1 + 0 @@ -7846,7 +7846,7 @@ 0 0 - 1 + 0 @@ -8448,7 +8448,7 @@ 0 0 - 1 + 0 @@ -9050,7 +9050,7 @@ 0 0 - 1 + 0 @@ -9652,7 +9652,7 @@ 0 0 - 1 + 0 @@ -10254,7 +10254,7 @@ 0 0 - 1 + 0 @@ -10856,7 +10856,7 @@ 0 0 - 1 + 0 @@ -11458,7 +11458,7 @@ 0 0 - 1 + 0 @@ -12060,7 +12060,7 @@ 0 0 - 1 + 0 @@ -12662,7 +12662,7 @@ 0 0 - 1 + 0 @@ -13264,7 +13264,7 @@ 0 0 - 1 + 0 @@ -13866,7 +13866,7 @@ 0 0 - 1 + 0 @@ -14468,7 +14468,7 @@ 0 0 - 1 + 0 @@ -15070,7 +15070,7 @@ 0 0 - 1 + 0 @@ -15603,7 +15603,7 @@ 0 0 - 1 + 0 @@ -16205,7 +16205,7 @@ 0 0 - 1 + 0 @@ -16738,7 +16738,7 @@ 0 0 - 1 + 0 @@ -17271,7 +17271,7 @@ 0 0 - 1 + 0 @@ -17804,7 +17804,7 @@ 0 0 - 1 + 0 @@ -18406,7 +18406,7 @@ 0 0 - 1 + 0 @@ -19008,7 +19008,7 @@ 0 0 - 1 + 0 @@ -19610,7 +19610,7 @@ 0 0 - 1 + 0 @@ -20212,7 +20212,7 @@ 0 0 - 1 + 0 @@ -20731,6 +20731,539 @@ + + DM_VISHNU32 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + STM32F051K6Ux + STMicroelectronics + Keil.STM32F0xx_DFP.2.1.1 + https://www.keil.com/pack/ + IRAM(0x20000000,0x00002000) IROM(0x08000000,0x00008000) CPUTYPE("Cortex-M0") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F0xx_32 -FS08000000 -FL08000 -FP0($$Device:STM32F051K6Ux$CMSIS\Flash\STM32F0xx_32.FLM)) + 0 + $$Device:STM32F051K6Ux$Drivers\CMSIS\Device\ST\STM32F0xx\Include\stm32f0xx.h + + + + + + + + + + $$Device:STM32F051K6Ux$CMSIS\SVD\STM32F0x1.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_DM_VISHNU32_F051 + 1 + 0 + 1 + 1 + 1 + + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 0 + + + SARMCM3.DLL + -REMAP + DARMCM1.DLL + -pCM0 + SARMCM3.DLL + + TARMCM1.DLL + -pCM0 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + "" () + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M0" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 1 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x2000 + + + 1 + 0x8000000 + 0x8000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x8000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x2000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 3 + 3 + 1 + 1 + 0 + 0 + 0 + + + STM32F051x8,USE_FULL_LL_DRIVER, DM_VISHNU32_F051 + + ..\mcu\f051\Drivers\CMSIS\Include;..\mcu\f051\Drivers\CMSIS\Device\ST\STM32F0xx\Include;..\mcu\f051\Drivers\STM32F0xx_HAL_Driver\Inc;..\mcu\f051\Inc;..\inc + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 4 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08000000 + 0x20000000 + + ..\Mcu\f051\Am32 32kb_f051.sct + + + + + + + + + + + startup + + + startup_stm32f051k8.s + 2 + ..\Mcu\f051\Startup\mdk\startup_stm32f051k8.s + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + f051 + + + ADC.c + 1 + ..\Mcu\f051\Src\ADC.c + + + comparator.c + 1 + ..\Mcu\f051\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f051\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f051\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f051\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f051\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f051\Src\serial_telemetry.c + + + stm32f0xx_it.c + 1 + ..\Mcu\f051\Src\stm32f0xx_it.c + + + system_stm32f0xx.c + 1 + ..\Mcu\f051\Src\system_stm32f0xx.c + + + + + Drivers/CMSIS + + + Drivers/STM32F0xx_LL_Driver + + + stm32f0xx_ll_adc.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_adc.c + + + stm32f0xx_ll_comp.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_comp.c + + + stm32f0xx_ll_dma.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_dma.c + + + stm32f0xx_ll_exti.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_exti.c + + + stm32f0xx_ll_gpio.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_gpio.c + + + stm32f0xx_ll_pwr.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_pwr.c + + + stm32f0xx_ll_rcc.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_rcc.c + + + stm32f0xx_ll_tim.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_tim.c + + + stm32f0xx_ll_usart.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_usart.c + + + stm32f0xx_ll_utils.c + 1 + ..\Mcu\f051\Drivers\STM32F0xx_HAL_Driver\Src\stm32f0xx_ll_utils.c + + + + + ::CMSIS + + + @@ -20740,6 +21273,7 @@ + diff --git a/Keil_Projects/Am32F415.uvguix.alkaz b/Keil_Projects/Am32F415.uvguix.alkaz index 6be9242f..491031c6 100644 --- a/Keil_Projects/Am32F415.uvguix.alkaz +++ b/Keil_Projects/Am32F415.uvguix.alkaz @@ -285,8 +285,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 diff --git a/Keil_Projects/Am32F415.uvprojx b/Keil_Projects/Am32F415.uvprojx index 4cf791a5..980c8238 100644 --- a/Keil_Projects/Am32F415.uvprojx +++ b/Keil_Projects/Am32F415.uvprojx @@ -88,7 +88,7 @@ 0 0 - 1 + 0 @@ -669,7 +669,7 @@ 0 0 - 1 + 0 @@ -1250,7 +1250,7 @@ 0 0 - 1 + 0 @@ -1831,7 +1831,7 @@ 0 0 - 1 + 0 diff --git a/Keil_Projects/Am32F421.uvguix.alkaz b/Keil_Projects/Am32F421.uvguix.alkaz index 6c58a218..7310e584 100644 --- a/Keil_Projects/Am32F421.uvguix.alkaz +++ b/Keil_Projects/Am32F421.uvguix.alkaz @@ -903,8 +903,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 diff --git a/Keil_Projects/Am32F421.uvoptx b/Keil_Projects/Am32F421.uvoptx index e76c26e1..f23ab30e 100644 --- a/Keil_Projects/Am32F421.uvoptx +++ b/Keil_Projects/Am32F421.uvoptx @@ -6462,7 +6462,7 @@ 1 0 - 1 + 0 255 @@ -9663,41 +9663,1686 @@ - - Src - 1 - 0 - 0 - 0 - - 1 - 1 - 1 - 0 - 0 - 0 - ..\Src\dshot.c - dshot.c - 0 - 0 - - - 1 - 2 - 1 - 0 - 0 - 0 - ..\Src\functions.c - functions.c - 0 - 0 - - - 1 - 3 - 1 - 0 + + AORC_K_A_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + AORC_G_A_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 1 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + BAYCKRC_S_55A_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + FLYWOO_F4A_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + FLYWOO_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + SKYSTARS_KM55_V2_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + F4A_ZERODRAG_F421 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 255 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0AT32F421_64 -FL010000 -FS08000000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + CMSIS_AGDI + -X"Any" -UAny -O206 -S0 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64.FLM -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM) + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=75,104,525,661,0)(1007=105,137,292,412,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + dshot_badcounts + + + 1 + 1 + dshot_goodcounts,0x0A + + + 2 + 1 + e_com_time,0x0A + + + 3 + 1 + degrees_celsius,0x0A + + + 4 + 1 + battery_voltage,0x0A + + + 5 + 1 + actual_current,0x0A + + + 6 + 1 + duty_cycle,0x0A + + + 7 + 1 + adjusted_duty_cycle,0x0A + + + + + 0 + 2 + cmd + + + + + 1 + 0 + newcount + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + + + Src + 1 + 0 + 0 + 0 + + 1 + 1 + 1 + 0 + 0 + 0 + ..\Src\dshot.c + dshot.c + 0 + 0 + + + 1 + 2 + 1 + 0 + 0 + 0 + ..\Src\functions.c + functions.c + 0 + 0 + + + 1 + 3 + 1 + 1 0 0 ..\Src\main.c diff --git a/Keil_Projects/Am32F421.uvprojx b/Keil_Projects/Am32F421.uvprojx index d87dc1b4..75f37175 100644 --- a/Keil_Projects/Am32F421.uvprojx +++ b/Keil_Projects/Am32F421.uvprojx @@ -88,7 +88,7 @@ 0 0 - 1 + 0 @@ -667,7 +667,7 @@ 0 0 - 1 + 0 @@ -1246,7 +1246,7 @@ 0 0 - 1 + 0 @@ -1825,7 +1825,7 @@ 0 0 - 1 + 0 @@ -2404,7 +2404,7 @@ 0 0 - 1 + 0 @@ -2983,7 +2983,7 @@ 0 0 - 1 + 0 @@ -3562,7 +3562,7 @@ 0 0 - 1 + 0 @@ -4141,7 +4141,7 @@ 0 0 - 1 + 0 @@ -4720,7 +4720,7 @@ 0 0 - 1 + 0 @@ -5299,7 +5299,7 @@ 0 0 - 1 + 0 @@ -5878,7 +5878,7 @@ 0 0 - 1 + 0 @@ -6457,7 +6457,7 @@ 0 0 - 1 + 0 @@ -7036,7 +7036,7 @@ 0 0 - 1 + 0 @@ -7615,7 +7615,7 @@ 0 0 - 1 + 0 @@ -8194,7 +8194,7 @@ 0 0 - 1 + 0 @@ -8773,7 +8773,7 @@ 0 0 - 1 + 0 @@ -9352,7 +9352,7 @@ 0 0 - 1 + 0 @@ -9931,7 +9931,7 @@ 0 0 - 1 + 0 @@ -10510,7 +10510,7 @@ 0 0 - 1 + 0 @@ -11089,7 +11089,7 @@ 0 0 - 1 + 0 @@ -11668,7 +11668,7 @@ 0 0 - 1 + 0 @@ -12247,7 +12247,7 @@ 0 0 - 1 + 0 @@ -12826,7 +12826,7 @@ 0 0 - 1 + 0 @@ -13405,7 +13405,7 @@ 0 0 - 1 + 0 @@ -13984,7 +13984,7 @@ 0 0 - 1 + 0 @@ -14563,7 +14563,7 @@ 0 0 - 1 + 0 @@ -15142,7 +15142,7 @@ 0 0 - 1 + 0 @@ -15721,7 +15721,7 @@ 0 0 - 1 + 0 @@ -16300,7 +16300,7 @@ 0 0 - 1 + 0 @@ -16879,7 +16879,7 @@ 0 0 - 1 + 0 @@ -17458,7 +17458,7 @@ 0 0 - 1 + 0 @@ -18037,7 +18037,7 @@ 0 0 - 1 + 0 @@ -18616,7 +18616,7 @@ 0 0 - 1 + 0 @@ -19195,7 +19195,7 @@ 0 0 - 1 + 0 @@ -19774,7 +19774,7 @@ 0 0 - 1 + 0 @@ -20353,7 +20353,7 @@ 0 0 - 1 + 0 @@ -20932,7 +20932,7 @@ 0 0 - 1 + 0 @@ -21511,7 +21511,7 @@ 0 0 - 1 + 0 @@ -22090,7 +22090,7 @@ 0 0 - 1 + 0 @@ -22587,6 +22587,4059 @@ + + AORC_K_A_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_AORC_K_A_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, AORC_K_A_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + AORC_G_A_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_AORC_G_A_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, AORC_G_A_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + BAYCKRC_S_55A_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_BAYCKRC_S_55A_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, BAYCKRC_S_55A_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + FLYWOO_F4A_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_FLYWOO_F4A_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, FLYWOO_F4A_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + FLYWOO_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_FLYWOO_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, FLYWOO_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + SKYSTARS_KM55_V2_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_SKYSTARS_KM55_V2_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, SKYSTARS_KM55_V2_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + + + F4A_ZERODRAG_F421 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + -AT32F421K8U7 + ArteryTek + ArteryTek.AT32F421_DFP.2.0.5 + IRAM(0x20000000,0x4000) IROM(0x08000000,0x10000) CPUTYPE("Cortex-M4") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0AT32F421_64 -FS08000000 -FL010000 -FP0($$Device:-AT32F421K8U7$Flash\AT32F421_64.FLM)) + 0 + $$Device:-AT32F421K8U7$Device\Include\at32f421.h + + + + + + + + + + $$Device:-AT32F421K8U7$SVD\AT32F421xx_v2.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_F4A_ZERODRAG_F421 + 1 + 0 + 1 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + fromelf.exe --text -a -c --output=@L_asm.txt + + 0 + 0 + 0 + 0 + + 1 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x4000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + + + AT32F421K8U7,USE_STDPERIPH_DRIVER, F4A_ZERODRAG_F421 + + ..\Inc;..\mcu\f421\Inc;..\Mcu\f421\Drivers\drivers\inc;..\Mcu\f421\Drivers\CMSIS\cm4\device_support;..\Mcu\f421\Drivers\CMSIS\cm4\core_support + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08001000 + 0x20000000 + + ..\Mcu\f421\Am32.sct + + + + + + + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + at32f421_adc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_adc.c + + + at32f421_cmp.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_cmp.c + + + at32f421_crc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crc.c + + + at32f421_crm.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_crm.c + + + at32f421_debug.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_debug.c + + + at32f421_dma.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_dma.c + + + at32f421_ertc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_ertc.c + + + at32f421_exint.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_exint.c + + + at32f421_flash.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_flash.c + + + at32f421_gpio.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_gpio.c + + + at32f421_i2c.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_i2c.c + + + at32f421_misc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_misc.c + + + at32f421_pwc.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_pwc.c + + + at32f421_scfg.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_scfg.c + + + at32f421_spi.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_spi.c + + + at32f421_tmr.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_tmr.c + + + at32f421_usart.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_usart.c + + + at32f421_wdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wdt.c + + + at32f421_wwdt.c + 1 + ..\Mcu\f421\Drivers\drivers\src\at32f421_wwdt.c + + + + + F421 + + + ADC.c + 1 + ..\Mcu\f421\Src\ADC.c + + + at32f421_it.c + 1 + ..\Mcu\f421\Src\at32f421_it.c + + + comparator.c + 1 + ..\Mcu\f421\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\f421\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\f421\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\f421\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\f421\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\f421\Src\serial_telemetry.c + + + system_at32f421.c + 1 + ..\Mcu\f421\Src\system_at32f421.c + + + WS2812.c + 1 + ..\Mcu\f421\Src\WS2812.c + + + + + Startup + + + startup_at32f421.s + 2 + ..\Mcu\f421\Startup\mdk\startup_at32f421.s + + + + + CMSIS + + + diff --git a/Keil_Projects/Am32G071.uvguix.alkaz b/Keil_Projects/Am32G071.uvguix.alkaz index 4335f863..8553f1e1 100644 --- a/Keil_Projects/Am32G071.uvguix.alkaz +++ b/Keil_Projects/Am32G071.uvguix.alkaz @@ -142,6 +142,18 @@ 127 + + System Viewer\COMP + 35905 + + 127 + + + System Viewer\TIM17 + 35904 + + 127 + @@ -226,8 +238,8 @@ 2 3 - -1 - -1 + -32000 + -32000 -1 @@ -243,8 +255,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 1063 + 0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000000A000000040000000100000033433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C7369676E616C2E6300000000087369676E616C2E6300000000C5D4F200FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C663432315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000FFDC7800FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000BECEA100FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C6D63755C663432315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000F0A0A100FFFFFFFF31433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C6D61696E2E6300000000066D61696E2E6300000000BCA8E100FFFFFFFF34433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C496E635C746172676574732E680000000009746172676574732E68000000009CC1B600FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F7B88600FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000D9ADC200FFFFFFFF40433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000A5C2D700FFFFFFFF38433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673037315C5372635C494F2E630000000004494F2E6300000000B3A6BE00FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 diff --git a/Keil_Projects/Am32G071.uvoptx b/Keil_Projects/Am32G071.uvoptx index fe1c8014..025b044f 100644 --- a/Keil_Projects/Am32G071.uvoptx +++ b/Keil_Projects/Am32G071.uvoptx @@ -1707,7 +1707,7 @@ 1 0 - 1 + 0 18 @@ -4353,6 +4353,223 @@ + + RRIOT_G071 + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 1 + + 18 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 ) -FN1 -FC8000 -FD20000000 -FF0STM32G0xx_64 -FL010000 -FS08000000 -FP0($$Device:STM32G071K8Ux$CMSIS\Flash\STM32G0xx_64.FLM) + + + 0 + ST-LINKIII-KEIL_SWO + -U066DFF313736504157094132 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(0BC11477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC8000 -FN1 -FF0STM32G0xx_64.FLM -FS08000000 -FL010000 -FP0($$Device:STM32G071K8Ux$CMSIS\Flash\STM32G0xx_64.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + + + + 0 + 1 + blank_time,0x0A + + + 1 + 1 + filter_level,0x0A + + + 2 + 1 + commutation_interval,0x0A + + + 3 + 1 + min_bemf_counts_up + + + 4 + 1 + min_bemf_counts_down + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + + System Viewer\COMP + 35905 + + + System Viewer\TIM17 + 35904 + + + + 1 + 0 + 0 + 2 + 10000000 + + + + startup 1 diff --git a/Keil_Projects/Am32G071.uvprojx b/Keil_Projects/Am32G071.uvprojx index 14213791..739a173e 100644 --- a/Keil_Projects/Am32G071.uvprojx +++ b/Keil_Projects/Am32G071.uvprojx @@ -89,7 +89,7 @@ 0 0 - 1 + 0 @@ -621,7 +621,7 @@ 0 0 - 1 + 0 @@ -1153,7 +1153,7 @@ 0 0 - 1 + 0 @@ -1685,7 +1685,7 @@ 0 0 - 1 + 0 @@ -2217,7 +2217,7 @@ 0 0 - 1 + 0 @@ -2749,7 +2749,7 @@ 0 0 - 1 + 0 @@ -3281,7 +3281,7 @@ 0 0 - 1 + 0 @@ -3813,7 +3813,7 @@ 0 0 - 1 + 0 @@ -4345,7 +4345,7 @@ 0 0 - 1 + 0 @@ -4877,7 +4877,7 @@ 0 0 - 1 + 0 @@ -5409,7 +5409,7 @@ 0 0 - 1 + 0 @@ -5941,7 +5941,7 @@ 0 0 - 1 + 0 @@ -6473,7 +6473,7 @@ 0 0 - 1 + 0 @@ -7005,7 +7005,7 @@ 0 0 - 1 + 0 @@ -7537,7 +7537,7 @@ 0 0 - 1 + 0 @@ -8069,7 +8069,7 @@ 0 0 - 1 + 0 @@ -8601,7 +8601,7 @@ 0 0 - 1 + 0 @@ -9133,7 +9133,7 @@ 0 0 - 1 + 0 @@ -9665,7 +9665,7 @@ 0 0 - 1 + 0 @@ -10197,7 +10197,7 @@ 0 0 - 1 + 0 @@ -10729,7 +10729,7 @@ 0 0 - 1 + 0 @@ -11178,6 +11178,538 @@ + + RRIOT_G071 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 1 + + + STM32G071K8Ux + STMicroelectronics + Keil.STM32G0xx_DFP.1.4.0 + http://www.keil.com/pack/ + IRAM(0x20000000,0x00009000) IROM(0x08000000,0x00010000) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE + + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC8000 -FN1 -FF0STM32G0xx_64 -FS08000000 -FL010000 -FP0($$Device:STM32G071K8Ux$CMSIS\Flash\STM32G0xx_64.FLM)) + 0 + $$Device:STM32G071K8Ux$Drivers\CMSIS\Device\ST\STM32G0xx\Include\stm32g0xx.h + + + + + + + + + + $$Device:STM32G071K8Ux$CMSIS\SVD\STM32G071.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_RRIOT_G071 + 1 + 0 + 1 + 1 + 1 + + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 0 + + + SARMCM3.DLL + -REMAP-MPU + DARMCM1.DLL + -pCM0+ + SARMCM3.DLL + -MPU + TARMCM1.DLL + -pCM0+ + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + "" () + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M0+" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 8 + 1 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x9000 + + + 1 + 0x8000000 + 0x10000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x10000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x9000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + 0 + 3 + 3 + 1 + 1 + 0 + 0 + 0 + + + RRIOT_G071,USE_FULL_LL_DRIVER,HSE_VALUE=8000000,HSE_STARTUP_TIMEOUT=100,LSE_STARTUP_TIMEOUT=5000,LSE_VALUE=32768,EXTERNAL_CLOCK_VALUE=12288000,HSI_VALUE=16000000,LSI_VALUE=32000,VDD_VALUE=3300,PREFETCH_ENABLE=0,INSTRUCTION_CACHE_ENABLE=1,DATA_CACHE_ENABLE=1,STM32G071xx, + + ..\Mcu\g071\Drivers\CMSIS\Include;..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Inc;..\Mcu\g071\Drivers\CMSIS\Device\ST\STM32G0xx\Include;..\Mcu\g071\Inc;..\Inc + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 4 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x08000000 + 0x20000000 + + ..\Mcu\g071\Am32_64kb_g071.sct + + + + + + + + + + + startup + + + startup_stm32g071xx.s + 2 + ..\Mcu\g071\Startup\mdk\startup_stm32g071xx.s + + + + + g071 + + + ADC.c + 1 + ..\Mcu\g071\Src\ADC.c + + + comparator.c + 1 + ..\Mcu\g071\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\g071\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\g071\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\g071\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\g071\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\g071\Src\serial_telemetry.c + + + stm32g0xx_it.c + 1 + ..\Mcu\g071\Src\stm32g0xx_it.c + + + system_stm32g0xx.c + 1 + ..\Mcu\g071\Src\system_stm32g0xx.c + + + WS2812.c + 1 + ..\Mcu\g071\Src\WS2812.c + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + + + Drivers + + + stm32g0xx_ll_adc.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_adc.c + + + stm32g0xx_ll_comp.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_comp.c + + + stm32g0xx_ll_dma.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_dma.c + + + stm32g0xx_ll_exti.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_exti.c + + + stm32g0xx_ll_gpio.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_gpio.c + + + stm32g0xx_ll_pwr.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_pwr.c + + + stm32g0xx_ll_rcc.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_rcc.c + + + stm32g0xx_ll_tim.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_tim.c + + + stm32g0xx_ll_usart.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_usart.c + + + stm32g0xx_ll_utils.c + 1 + ..\Mcu\g071\Drivers\STM32G0xx_HAL_Driver\Src\stm32g0xx_ll_utils.c + + + + + diff --git a/Keil_Projects/Am32G431.uvguix.alkaz b/Keil_Projects/Am32G431.uvguix.alkaz index 862f6e3f..9e556e46 100644 --- a/Keil_Projects/Am32G431.uvguix.alkaz +++ b/Keil_Projects/Am32G431.uvguix.alkaz @@ -93,8 +93,8 @@ 2 3 - -1 - -1 + -32000 + -32000 -1 @@ -110,8 +110,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 1063 + 0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000000A000000040000000100000033433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C7369676E616C2E6300000000087369676E616C2E6300000000C5D4F200FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C663432315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000FFDC7800FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000BECEA100FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C6D63755C663432315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000F0A0A100FFFFFFFF31433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C6D61696E2E6300000000066D61696E2E6300000000BCA8E100FFFFFFFF34433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C496E635C746172676574732E680000000009746172676574732E68000000009CC1B600FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F7B88600FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000D9ADC200FFFFFFFF40433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000A5C2D700FFFFFFFF38433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673037315C5372635C494F2E630000000004494F2E6300000000B3A6BE00FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 @@ -3546,8 +3546,8 @@ 59392 File - 2913 - 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000000000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE80300000000000000000000000000000000000000000000000100000001000000960000000200205000000000104C4C5F444D415F4348414E4E454C5F3196000000000000001400104C4C5F444D415F4348414E4E454C5F310B61637469766174654144430C61637469766174655F4144431373746D3332673478785F6C6C5F657874692E681573746D3332673478785F6C6C5F646D616D75782E680335354105656E64696604663431351453495854595F464F55525F4B425F4D454D4F52590E686967685F72706D5F6C6576656C187468726F74746C655F6D61785F61745F686967685F72706D177468726F74746C655F6D61785F61745F6C6F775F72706D0C73656E645F4C45445F5247420014636F6D6D75746174696F6E5F696E74657276616C0875696E7433325F740E616476616E636564697669736F720C737475636B636F756E74657209746F6E655F666C61670D7369676E616C74696D656F75740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000100150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C6559010000 + 2813 + 00200000010000002800FFFF01001100434D4643546F6F6C426172427574746F6E00E100000000000000000000000000000000000000000000000100000001000000018001E100000000000001000000000000000000000000000000000100000001000000018003E1000000000000020000000000000000000000000000000001000000010000000180CD7F0000000000000300000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018023E100000000040004000000000000000000000000000000000100000001000000018022E100000000040005000000000000000000000000000000000100000001000000018025E10000000000000600000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001802BE10000000004000700000000000000000000000000000000010000000100000001802CE10000000004000800000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001807A8A0000000000000900000000000000000000000000000000010000000100000001807B8A0000000004000A00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180D3B00000000000000B000000000000000000000000000000000100000001000000018015B10000000004000C0000000000000000000000000000000001000000010000000180F4B00000000004000D000000000000000000000000000000000100000001000000018036B10000000004000E00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FF88000000000400460000000000000000000000000000000001000000010000000180FE880000000004004500000000000000000000000000000000010000000100000001800B810000000004001300000000000000000000000000000000010000000100000001800C810000000004001400000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180F0880000020000000F000000000000000000000000000000000100000001000000FFFF0100120043555646696E64436F6D626F427574746F6EE80300000000000000000000000000000000000000000000000100000001000000960000000200205000000000046734333196000000000000001200046734333115534B5953544152535F414D36305F56325F46343231046B6D3535036634611348415244574152455F47524F55505F47305F460673657175726509455854495F4C494E450474756E650561726D65640462656D660D7369676E616C74696D656F757404333333340C737465707065725F73696E650473696E651854494D315F55505F54494D31365F49525148616E646C65721345585449345F31355F49525148616E646C65720E4C4C5F434F4D505F456E61626C650D54494D365F4441435F4952516E000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000018024E10000000000001100000000000000000000000000000000010000000100000001800A810000000000001200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E2280000002000100150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B46350000000000000000000000000100000001000000000000000000000001000000020021802280000000000000150000002153746172742F53746F70202644656275672053657373696F6E094374726C2B4635000000000000000000000000010000000100000000000000000000000100000000002180E0010000000000007500000021456E65726779204D6561737572656D656E742026776974686F75742044656275670000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C488000000000000160000000000000000000000000000000001000000010000000180C988000000000400180000000000000000000000000000000001000000010000000180C788000000000000190000000000000000000000000000000001000000010000002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000003002180C8880000000000001700000027264B696C6C20416C6C20427265616B706F696E747320696E2043757272656E7420546172676574000000000000000000000000010000000100000000000000000000000100000000002180E50100000000000078000000264B696C6C20416C6C20427265616B706F696E747320696E204163746976652050726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180E601000000000000790000002F4B696C6C20416C6C20427265616B706F696E747320696E204D756C74692D50726F6A65637420576F726B73706163650000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000021804C010000020001001A0000000F2650726F6A6563742057696E646F77000000000000000000000000010000000100000000000000000000000100000008002180DD880000000000001A0000000750726F6A656374000000000000000000000000010000000100000000000000000000000100000000002180DC8B0000000000003A00000005426F6F6B73000000000000000000000000010000000100000000000000000000000100000000002180E18B0000000000003B0000000946756E6374696F6E73000000000000000000000000010000000100000000000000000000000100000000002180E28B000000000000400000000954656D706C6174657300000000000000000000000001000000010000000000000000000000010000000000218018890000000000003D0000000E536F757263652042726F777365720000000000000000000000000100000001000000000000000000000001000000000021800000000000000400FFFFFFFF00000000000000000001000000000000000100000000000000000000000100000000002180D988000000000000390000000C4275696C64204F7574707574000000000000000000000000010000000100000000000000000000000100000000002180E38B000000000000410000000B46696E64204F75747075740000000000000000000000000100000001000000000000000000000001000000000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180FB7F0000000000001B000000000000000000000000000000000100000001000000000000000446696C6559010000 1423 @@ -3563,7 +3563,7 @@ Build 978 - 00200000000000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000004001D000000000000000000000000000000000100000001000000018030800000000004001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000004006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000010000000000000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000004002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA000000000004000000000000000000000000000000000000010000000100000096000000030020500000000009473433315F746573749600000000000000010009473433315F74657374000000000180EB880000000004002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000400230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000004004E00000000000000000000000000000000010000000100000001807202000000000400530000000000000000000000000000000001000000010000000180BE010000000004005000000000000000000000000000000000010000000100000000000000054275696C642F010000 + 00200000000000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000004001D000000000000000000000000000000000100000001000000018030800000000004001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000004006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0000000000000000010000000000000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000004002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA000000000004000000000000000000000000000000000000010000000100000096000000030020500000000009473433315F746573749600000000000000010009473433315F74657374000000000180EB880000000004002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000400230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000004004E00000000000000000000000000000000010000000100000001807202000000000400530000000000000000000000000000000001000000010000000180BE010000000004005000000000000000000000000000000000010000000100000000000000054275696C642F010000 583 @@ -3579,7 +3579,7 @@ Debug 2362 - 00200000010000001900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000002500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000002600000000000000000000000000000000010000000100000001801D800000000004002700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000002800000000000000000000000000000000010000000100000001801B80000000000000290000000000000000000000000000000001000000010000000180E57F0000000000002A00000000000000000000000000000000010000000100000001801C800000000000002B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000002C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B0000020001002D0000000000000000000000000000000001000000010000000180F07F0000020001002E0000000000000000000000000000000001000000010000000180E8880000020000003700000000000000000000000000000000010000000100000001803B010000020001002F0000000000000000000000000000000001000000010000000180BB8A00000200010030000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E0E01000002000100310000000D57617463682057696E646F7773000000000000000000000000010000000100000000000000000000000100000003001380D88B00000000000031000000085761746368202631000000000000000000000000010000000100000000000000000000000100000000001380D98B00000000000031000000085761746368202632000000000000000000000000010000000100000000000000000000000100000000001380CE01000000000000FFFFFFFF0C576174636820416E63686F720100000000000000010000000000000001000000000000000000000001000000000013800F0100000200010032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000004001380D28B00000000000032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000000001380D38B00000000000032000000094D656D6F7279202632000000000000000000000000010000000100000000000000000000000100000000001380D48B00000000000032000000094D656D6F7279202633000000000000000000000000010000000100000000000000000000000100000000001380D58B00000000000032000000094D656D6F72792026340000000000000000000000000100000001000000000000000000000001000000000013801001000002000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000040013809307000000000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000000013809407000000000000330000000855415254202326320000000000000000000000000100000001000000000000000000000001000000000013809507000000000000330000000855415254202326330000000000000000000000000100000001000000000000000000000001000000000013809607000000000000330000001626446562756720287072696E746629205669657765720000000000000000000000000100000001000000000000000000000001000000000013803C010000000000007200000010416E616C797369732057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380658A000000000000340000000F264C6F67696320416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380DC7F0000000000003E0000001526506572666F726D616E636520416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380E788000000000000380000000E26436F646520436F766572616765000000000000000000000000010000000100000000000000000000000100000000001380CD01000000000000FFFFFFFF0F416E616C7973697320416E63686F7201000000000000000100000000000000010000000000000000000000010000000000138053010000000000003F0000000D54726163652057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013805401000000000000FFFFFFFF115472616365204D656E7520416E63686F720100000000000000010000000000000001000000000000000000000001000000000013802901000000000000350000001553797374656D205669657765722057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013804B01000000000000FFFFFFFF1453797374656D2056696577657220416E63686F720100000000000000010000000000000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000013800189000002000000360000000F26546F6F6C626F782057696E646F7700000000000000000000000001000000010000000000000000000000010000000300138044C5000000000000FFFFFFFF0E5570646174652057696E646F77730100000000000000010000000000000001000000000000000000000001000000000013800000000000000400FFFFFFFF000000000000000000010000000000000001000000000000000000000001000000000013805B01000000000000FFFFFFFF12546F6F6C626F78204D656E75416E63686F720100000000000000010000000000000001000000000000000000000001000000000000000000054465627567D9000000 + 00200000010000001900FFFF01001100434D4643546F6F6C426172427574746F6ECC880000000000002500000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018017800000000000002600000000000000000000000000000000010000000100000001801D800000000004002700000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001801A800000000000002800000000000000000000000000000000010000000100000001801B80000000000000290000000000000000000000000000000001000000010000000180E57F0000000000002A00000000000000000000000000000000010000000100000001801C800000000000002B00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000018000890000000000002C00000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180E48B0000020001002D0000000000000000000000000000000001000000010000000180F07F0000020001002E0000000000000000000000000000000001000000010000000180E8880000020000003700000000000000000000000000000000010000000100000001803B010000020001002F0000000000000000000000000000000001000000010000000180BB8A00000200010030000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6E0E01000002000100310000000D57617463682057696E646F7773000000000000000000000000010000000100000000000000000000000100000003001380D88B00000000000031000000085761746368202631000000000000000000000000010000000100000000000000000000000100000000001380D98B00000000000031000000085761746368202632000000000000000000000000010000000100000000000000000000000100000000001380CE01000000000000FFFFFFFF0C576174636820416E63686F720000000000000000010000000000000001000000000000000000000001000000000013800F0100000200010032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000004001380D28B00000000000032000000094D656D6F7279202631000000000000000000000000010000000100000000000000000000000100000000001380D38B00000000000032000000094D656D6F7279202632000000000000000000000000010000000100000000000000000000000100000000001380D48B00000000000032000000094D656D6F7279202633000000000000000000000000010000000100000000000000000000000100000000001380D58B00000000000032000000094D656D6F72792026340000000000000000000000000100000001000000000000000000000001000000000013801001000002000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000040013809307000000000000330000000855415254202326310000000000000000000000000100000001000000000000000000000001000000000013809407000000000000330000000855415254202326320000000000000000000000000100000001000000000000000000000001000000000013809507000000000000330000000855415254202326330000000000000000000000000100000001000000000000000000000001000000000013809607000000000000330000001626446562756720287072696E746629205669657765720000000000000000000000000100000001000000000000000000000001000000000013803C010000000000007200000010416E616C797369732057696E646F7773000000000000000000000000010000000100000000000000000000000100000004001380658A000000000000340000000F264C6F67696320416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380DC7F0000000000003E0000001526506572666F726D616E636520416E616C797A6572000000000000000000000000010000000100000000000000000000000100000000001380E788000000000000380000000E26436F646520436F766572616765000000000000000000000000010000000100000000000000000000000100000000001380CD01000000000000FFFFFFFF0F416E616C7973697320416E63686F7200000000000000000100000000000000010000000000000000000000010000000000138053010000000000003F0000000D54726163652057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013805401000000000000FFFFFFFF115472616365204D656E7520416E63686F720000000000000000010000000000000001000000000000000000000001000000000013802901000000000000350000001553797374656D205669657765722057696E646F77730000000000000000000000000100000001000000000000000000000001000000010013804B01000000000000FFFFFFFF1453797374656D2056696577657220416E63686F720000000000000000010000000000000001000000000000000000000001000000000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000013800189000002000000360000000F26546F6F6C626F782057696E646F7700000000000000000000000001000000010000000000000000000000010000000300138044C5000000000000FFFFFFFF0E5570646174652057696E646F77730000000000000000010000000000000001000000000000000000000001000000000013800000000000000400FFFFFFFF000000000000000000010000000000000001000000000000000000000001000000000013805B01000000000000FFFFFFFF12546F6F6C626F78204D656E75416E63686F720000000000000000010000000000000001000000000000000000000001000000000000000000054465627567D9000000 898 diff --git a/Keil_Projects/Am32G431.uvoptx b/Keil_Projects/Am32G431.uvoptx index 4fdb786a..69ceeefa 100644 --- a/Keil_Projects/Am32G431.uvoptx +++ b/Keil_Projects/Am32G431.uvoptx @@ -25,6 +25,276 @@ G431_test 0x4 ARM-ADS + + 8000000 + + 1 + 1 + 0 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 0 + + 18 + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 6 + + + + + + + + + + + STLink\ST-LINKIII-KEIL_SWO.dll + + + + 0 + ARMRTXEVENTFLAGS + -L70 -Z18 -C0 -M0 -T1 + + + 0 + DLGTARM + (1010=157,189,753,874,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) + + + 0 + ARMDBGFLAGS + + + + 0 + DLGUARM + (105=-1,-1,-1,-1,0) + + + 0 + UL2CM3 + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC8000 -FN1 -FF0STM32G43x-4x_128 -FS08000000 -FL020000 -FP0($$Device:STM32G431KBUx$CMSIS\Flash\STM32G43x-4x_128.FLM)) + + + 0 + ST-LINKIII-KEIL_SWO + -U-O142 -O2254 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(2BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32G43x-4x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32G431KBUx$CMSIS\Flash\STM32G43x-4x_128.FLM) -WA0 -WE0 -WVCE4 -WS2710 -WM0 -WP2 + + + + + + 0 + 1 + signaltimeout + + + 1 + 1 + armed + + + 2 + 1 + smallestnumber,0x0A + + + 3 + 1 + dshot + + + 4 + 1 + input + + + 5 + 1 + newinput,0x0A + + + 6 + 1 + stepper_sine + + + 7 + 1 + use_sin_start + + + 8 + 1 + eepromBuffer + + + 9 + 1 + stall_protection,0x0A + + + 10 + 1 + commutation_interval,0x0A + + + 11 + 1 + interrupt + + + 12 + 1 + dma_buffer + + + 13 + 1 + ADCDataDMA,0x0A + + + 14 + 1 + degrees_celsius,0x0A + + + 15 + 1 + ADC_raw_temp + + + + + 1 + 0 + 40015804 + 0 + + + + 0 + + + 0 + 1 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + + + + 0 + 0 + 0 + + + + + + + + + + 1 + 0 + 0 + 2 + 10000000 + + + + + + PhotonDrive_G431 + 0x4 + ARM-ADS 8000000 @@ -653,7 +923,7 @@ 3 29 1 - 0 + 1 0 0 ..\Src\main.c diff --git a/Keil_Projects/Am32G431.uvprojx b/Keil_Projects/Am32G431.uvprojx index 9a90e578..3ee77d1b 100644 --- a/Keil_Projects/Am32G431.uvprojx +++ b/Keil_Projects/Am32G431.uvprojx @@ -90,7 +90,7 @@ 0 0 - 1 + 0 @@ -612,6 +612,612 @@ + + PhotonDrive_G431 + 0x4 + ARM-ADS + 6190000::V6.19::ARMCLANG + 6190000::V6.19::ARMCLANG + 1 + + + STM32G431KBUx + STMicroelectronics + Keil.STM32G4xx_DFP.1.5.0 + https://www.keil.com/pack/ + IRAM(0x20000000-0x20007FFF) IROM(0x8000000-0x801FFFF) CLOCK(8000000) FPU2 CPUTYPE("Cortex-M4") TZ + + + + 0 + + + + + + + + + + + $$Device:STM32G431KBUx$CMSIS\SVD\STM32G431xx.svd + 0 + 0 + + + + + + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + AM32_PROTONDRIVE_G431 + 1 + 0 + 1 + 1 + 1 + + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 0 + + + SARMCM3.DLL + -REMAP -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + + + 1 + 0 + 0 + 1 + 1 + 4101 + + 1 + BIN\UL2V8M.DLL + + + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + 0 + 8 + 0 + 0 + 0 + 0 + 3 + 4 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x8000 + + + 1 + 0x8000000 + 0x20000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x8000000 + 0x20000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x20000000 + 0x8000 + + + 0 + 0x0 + 0x0 + + + + + + 1 + 4 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 3 + 0 + 0 + 1 + 0 + 0 + 3 + 5 + 1 + 1 + 0 + 0 + 0 + + + PROTONDRIVE_G431, USE_FULL_LL_DRIVER,HSE_VALUE=8000000,HSE_STARTUP_TIMEOUT=100,LSE_STARTUP_TIMEOUT=5000,LSE_VALUE=32768,EXTERNAL_CLOCK_VALUE=12288000,HSI_VALUE=16000000,LSI_VALUE=32000,VDD_VALUE=3300,PREFETCH_ENABLE=0,INSTRUCTION_CACHE_ENABLE=1,DATA_CACHE_ENABLE=1,STM32G431xx + + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Inc;..\Mcu\g431\Drivers\CMSIS\Device\ST\STM32G4xx\Include;..\Inc;..\Mcu\g431\Inc + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + + + + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + + + + ..\Mcu\g431\Am32_64kb_g431.sct + + + + + + + + + + + startup + + + startup_stm32g431xx.s + 2 + ..\Mcu\g431\Startup\startup_stm32g431xx.s + + + + + Drivers + + + stm32g4xx_ll_adc.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_adc.c + + + stm32g4xx_ll_comp.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_comp.c + + + stm32g4xx_ll_cordic.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_cordic.c + + + stm32g4xx_ll_crc.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_crc.c + + + stm32g4xx_ll_crs.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_crs.c + + + stm32g4xx_ll_dac.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_dac.c + + + stm32g4xx_ll_dma.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_dma.c + + + stm32g4xx_ll_exti.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_exti.c + + + stm32g4xx_ll_fmac.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_fmac.c + + + stm32g4xx_ll_gpio.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_gpio.c + + + stm32g4xx_ll_hrtim.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_hrtim.c + + + stm32g4xx_ll_i2c.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_i2c.c + + + stm32g4xx_ll_lptim.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_lptim.c + + + stm32g4xx_ll_lpuart.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_lpuart.c + + + stm32g4xx_ll_opamp.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_opamp.c + + + stm32g4xx_ll_pwr.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_pwr.c + + + stm32g4xx_ll_rcc.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_rcc.c + + + stm32g4xx_ll_rng.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_rng.c + + + stm32g4xx_ll_rtc.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_rtc.c + + + stm32g4xx_ll_spi.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_spi.c + + + stm32g4xx_ll_tim.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_tim.c + + + stm32g4xx_ll_ucpd.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_ucpd.c + + + stm32g4xx_ll_usart.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_usart.c + + + stm32g4xx_ll_utils.c + 1 + ..\Mcu\g431\Drivers\STM32G4xx_HAL_Driver\Src\stm32g4xx_ll_utils.c + + + + + Src + + + dshot.c + 1 + ..\Src\dshot.c + + + firmwareversion.c + 1 + ..\Src\firmwareversion.c + + + functions.c + 1 + ..\Src\functions.c + + + main.c + 1 + ..\Src\main.c + + + signal.c + 1 + ..\Src\signal.c + + + sounds.c + 1 + ..\Src\sounds.c + + + + + Mcu + + + ADC.c + 1 + ..\Mcu\g431\Src\ADC.c + + + comparator.c + 1 + ..\Mcu\g431\Src\comparator.c + + + eeprom.c + 1 + ..\Mcu\g431\Src\eeprom.c + + + IO.c + 1 + ..\Mcu\g431\Src\IO.c + + + peripherals.c + 1 + ..\Mcu\g431\Src\peripherals.c + + + phaseouts.c + 1 + ..\Mcu\g431\Src\phaseouts.c + + + serial_telemetry.c + 1 + ..\Mcu\g431\Src\serial_telemetry.c + + + stm32g4xx_it.c + 1 + ..\Mcu\g431\Src\stm32g4xx_it.c + + + system_stm32g4xx.c + 1 + ..\Mcu\g431\Src\system_stm32g4xx.c + + + WS2812.c + 1 + ..\Mcu\g431\Src\WS2812.c + + + + + ::CMSIS + + + @@ -621,6 +1227,7 @@ + diff --git a/Keil_Projects/Am32e230.uvguix.alkaz b/Keil_Projects/Am32e230.uvguix.alkaz index d02ab33f..018c164e 100644 --- a/Keil_Projects/Am32e230.uvguix.alkaz +++ b/Keil_Projects/Am32e230.uvguix.alkaz @@ -177,8 +177,8 @@ 0 - 1951 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000011000000020000000100000043433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C4144432E6300000000054144432E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000BECEA100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BCA8E100FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000F7B88600FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73746D3332673478785F69742E63000000000E73746D3332673478785F69742E6300000000D9ADC200FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000A5C2D700FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000B3A6BE00FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000EAD6A300FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000F6FA7D00FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663431355C5372635C61743332663431355F69742E63000000000D61743332663431355F69742E6300000000B5E99D00FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E63000000005FC3CF00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E6300000000C1838300FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000CACAD500FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663035315C447269766572735C53544D3332463078785F48414C5F4472697665725C5372635C73746D3332663078785F6C6C5F7574696C732E63000000001473746D3332663078785F6C6C5F7574696C732E6300000000C5D4F200FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 60 + 010000000400000001000000010000000100000001000000000000000200000000000000010000000100000000000000280000002800000000000000 diff --git a/Keil_Projects/Am32e230.uvoptx b/Keil_Projects/Am32e230.uvoptx index 418ef1b8..22d5f01f 100644 --- a/Keil_Projects/Am32e230.uvoptx +++ b/Keil_Projects/Am32e230.uvoptx @@ -1271,7 +1271,7 @@ 0 - 0 + 1 0 1 diff --git a/Keil_Projects/Am32e230.uvprojx b/Keil_Projects/Am32e230.uvprojx index 3830a8e7..d01c3516 100644 --- a/Keil_Projects/Am32e230.uvprojx +++ b/Keil_Projects/Am32e230.uvprojx @@ -89,7 +89,7 @@ 0 0 - 1 + 0 @@ -733,7 +733,7 @@ 0 0 - 1 + 0 @@ -1377,7 +1377,7 @@ 0 0 - 1 + 0 @@ -2021,7 +2021,7 @@ 0 0 - 1 + 0 @@ -2596,7 +2596,7 @@ 0 0 - 1 + 0 @@ -3240,7 +3240,7 @@ 0 0 - 1 + 0 @@ -3815,7 +3815,7 @@ 0 0 - 1 + 0 @@ -4390,7 +4390,7 @@ 0 0 - 1 + 0 diff --git a/Keil_Projects/Am32l431.uvguix.alkaz b/Keil_Projects/Am32l431.uvguix.alkaz index 7215683e..9a1425bd 100644 --- a/Keil_Projects/Am32l431.uvguix.alkaz +++ b/Keil_Projects/Am32l431.uvguix.alkaz @@ -100,17 +100,17 @@ 38003 Registers - 130 100 + 211 212 346 Code Coverage - 669 203 + 669 160 204 Performance Analyzer - 829 124 124 100 + 829 @@ -195,8 +195,8 @@ 0 - 2508 - 01000000040000000100000001000000010000000100000000000000020000000000000001000000010000000000000028000000280000000100000016000000020000000100000042433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C494F2E630000000004494F2E6300000000C5D4F200FFFFFFFF42433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C494F2E630000000004494F2E6300000000FFDC7800FFFFFFFF3B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6D61696E2E6300000000066D61696E2E6300000000BECEA100FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73797374656D5F73746D33326C3478782E63000000001273797374656D5F73746D33326C3478782E6300000000F0A0A100FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000BCA8E100FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73746D33326C3478785F69742E63000000000E73746D33326C3478785F69742E63000000009CC1B600FFFFFFFF50433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C73657269616C5F74656C656D657472792E63000000001273657269616C5F74656C656D657472792E6300000000F7B88600FFFFFFFF3C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C5372635C6473686F742E6300000000076473686F742E6300000000D9ADC200FFFFFFFF3E433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C496E635C746172676574732E680000000009746172676574732E6800000000A5C2D700FFFFFFFF57433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C537461727475705C737461727475705F73746D33326C34333178782E730000000015737461727475705F73746D33326C34333178782E7300000000B3A6BE00FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C496E635C73746D33326C3478785F69742E68000000000E73746D33326C3478785F69742E6800000000EAD6A300FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C656570726F6D2E630000000008656570726F6D2E6300000000F6FA7D00FFFFFFFF6F433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C447269766572735C434D5349535C4465766963655C53545C53544D33324C3478785C496E636C7564655C73746D33326C3478782E68000000000B73746D33326C3478782E6800000000B5E99D00FFFFFFFF71433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C447269766572735C434D5349535C4465766963655C53545C53544D33324C3478785C496E636C7564655C73746D33326C34333178782E68000000000D73746D33326C34333178782E68000000005FC3CF00FFFFFFFF70433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C447269766572735C53544D33324C3478785F48414C5F4472697665725C496E635C73746D33326C3478785F6C6C5F73797374656D2E68000000001573746D33326C3478785F6C6C5F73797374656D2E6800000000C1838300FFFFFFFF44433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C496E635C6D61696E2E6800000000066D61696E2E6800000000CACAD500FFFFFFFF4A433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000C5D4F200FFFFFFFF43433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C5372635C4144432E6300000000054144432E6300000000FFDC7800FFFFFFFF4B433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C6C3433315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000BECEA100FFFFFFFF4C433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C73746D3332673078785F69742E63000000000E73746D3332673078785F69742E6300000000F0A0A100FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C673037315C5372635C5753323831322E6300000000085753323831322E6300000000BCA8E100FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325F4D554C54495F4D43555C4D63755C663432315C5372635C5753323831322E6300000000085753323831322E63000000009CC1B600FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 + 1063 + 0100000004000000010000000100000001000000010000000000000002000000000000000100000001000000000000002800000028000000010000000A000000040000000100000033433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C7369676E616C2E6300000000087369676E616C2E6300000000C5D4F200FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C663432315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000FFDC7800FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C6C3433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000BECEA100FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C6D63755C663432315C496E635C7065726970686572616C732E68000000000D7065726970686572616C732E6800000000F0A0A100FFFFFFFF31433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C5372635C6D61696E2E6300000000066D61696E2E6300000000BCA8E100FFFFFFFF34433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C496E635C746172676574732E680000000009746172676574732E68000000009CC1B600FFFFFFFF41433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C7065726970686572616C732E63000000000D7065726970686572616C732E6300000000F7B88600FFFFFFFF46433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C73797374656D5F73746D3332673478782E63000000001273797374656D5F73746D3332673478782E6300000000D9ADC200FFFFFFFF40433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673433315C5372635C636F6D70617261746F722E63000000000C636F6D70617261746F722E6300000000A5C2D700FFFFFFFF38433A5C55736572735C616C6B617A5C4F6E6544726976655C446F63756D656E74735C414D33325C4D63755C673037315C5372635C494F2E630000000004494F2E6300000000B3A6BE00FFFFFFFF0100000010000000C5D4F200FFDC7800BECEA100F0A0A100BCA8E1009CC1B600F7B88600D9ADC200A5C2D700B3A6BE00EAD6A300F6FA7D00B5E99D005FC3CF00C1838300CACAD500010000000000000002000000B50100007000000080070000C8030000 @@ -3699,7 +3699,7 @@ 0 - <8>..\Mcu\l431\Inc\stm32l4xx_it.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Inc\stm32l4xx_it.h 27 52 63 @@ -3735,7 +3735,7 @@ 0 - <1>..\Mcu\l431\Inc\main.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Inc\main.h 26 31 33 @@ -3807,7 +3807,7 @@ 0 - <1>..\Mcu\l431\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_exti.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_exti.h 12 364 379 @@ -3816,7 +3816,7 @@ 0 - <1>..\Mcu\l431\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_usart.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Drivers\STM32L4xx_HAL_Driver\Inc\stm32l4xx_ll_usart.h 0 361 3761 @@ -3888,7 +3888,7 @@ 0 - <1>..\Mcu\l431\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l4xx.h 0 209 1 @@ -3897,7 +3897,7 @@ 0 - <1>..\Mcu\l431\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l431xx.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Drivers\CMSIS\Device\ST\STM32L4xx\Include\stm32l431xx.h 11 118 127 @@ -3933,7 +3933,7 @@ 0 - <1>..\Mcu\l431\Inc\peripherals.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Inc\peripherals.h 11 23 41 @@ -3942,7 +3942,7 @@ 0 - <1>..\Mcu\l431\Inc\comparator.h + C:\Users\alkaz\OneDrive\Documents\AM32\Mcu\l431\Inc\comparator.h 0 4 21 diff --git a/Keil_Projects/Am32l431.uvprojx b/Keil_Projects/Am32l431.uvprojx index 215aab3d..8db531e2 100644 --- a/Keil_Projects/Am32l431.uvprojx +++ b/Keil_Projects/Am32l431.uvprojx @@ -89,7 +89,7 @@ 0 0 - 1 + 0 @@ -684,7 +684,7 @@ 0 0 - 1 + 0 @@ -1279,7 +1279,7 @@ 0 0 - 1 + 0 diff --git a/Keil_Projects/DebugConfig/DM_VISHNU32_STM32F051K6Ux.dbgconf b/Keil_Projects/DebugConfig/DM_VISHNU32_STM32F051K6Ux.dbgconf new file mode 100644 index 00000000..003699ff --- /dev/null +++ b/Keil_Projects/DebugConfig/DM_VISHNU32_STM32F051K6Ux.dbgconf @@ -0,0 +1,45 @@ +// File: STM32F0x1_0x2_0x8.dbgconf +// Version: 1.0.0 +// Note: refer to STM32F0x1/STM32F0x2/STM32F0x8 Reference manual (RM0091) +// refer to STM32F031x4/x6, STM32F051x4/x6/x8, STM32F071x8/xB datasheets +// STM32F091xB/xC, STM32F042x4/x6, STM32F072x8/xB, STM32F038x6 datasheets +// STM32F048x6, STM32F058x8, STM32F078xB, STM32F098xC datasheets + +// <<< Use Configuration Wizard in Context Menu >>> + +// Debug MCU configuration register (DBGMCU_CR) +// DBG_STANDBY Debug standby mode +// DBG_STOP Debug stop mode +// +DbgMCU_CR = 0x00000006; + +// Debug MCU APB1 freeze register (DBGMCU_APB1_FZ) +// Reserved bits must be kept at reset value +// DBG_CAN_STOP CAN stopped when core is halted +// DBG_I2C1_TIMEOUT I2C1 SMBUS timeout mode stopped when core is halted +// DBG_IWDG_STOP Independent watchdog stopped when core is halted +// DBG_WWDG_STOP Window watchdog stopped when core is halted +// DBG_RTC_STOP RTC stopped when core is halted +// DBG_TIM14_STOP TIM14 counter stopped when core is halted +// DBG_TIM7_STOP TIM7 counter stopped when core is halted +// DBG_TIM6_STOP TIM6 counter stopped when core is halted +// DBG_TIM3_STOP TIM3 counter stopped when core is halted +// DBG_TIM2_STOP TIM2 counter stopped when core is halted +// +DbgMCU_APB1_Fz = 0x00000000; + +// Debug MCU APB2 freeze register (DBGMCU_APB2_FZ) +// Reserved bits must be kept at reset value +// DBG_TIM17_STOP TIM17 counter stopped when core is halted +// DBG_TIM16_STOP TIM16 counter stopped when core is halted +// DBG_TIM15_STOP TIM15 counter stopped when core is halted +// DBG_TIM1_STOP TIM1 counter stopped when core is halted +// +DbgMCU_APB2_Fz = 0x00000000; + +// Flash Download Options +// Option Byte Loading Launch the Option Byte Loading after a Flash Download by setting the OBL_LAUNCH bit (causes a reset) +// +DoOptionByteLoading = 0x00000000; + +// <<< end of configuration section >>> diff --git a/Keil_Projects/DebugConfig/PhotonDrive_G431_STM32G431KBUx.dbgconf b/Keil_Projects/DebugConfig/PhotonDrive_G431_STM32G431KBUx.dbgconf new file mode 100644 index 00000000..08d5314d --- /dev/null +++ b/Keil_Projects/DebugConfig/PhotonDrive_G431_STM32G431KBUx.dbgconf @@ -0,0 +1,64 @@ +// File: STM32G4xx.dbgconf +// Version: 1.0.1 +// Note: refer to STM32G4xx Reference manual (RM0440) +// refer to STM32G4xx datasheets + +// <<< Use Configuration Wizard in Context Menu >>> + +// Debug MCU configuration register (DBGMCU_CR) +// DBG_STANDBY Debug Standby mode +// DBG_STOP Debug Stop mode +// DBG_SLEEP Debug Sleep mode +// +DbgMCU_CR = 0x00000007; + +// Debug MCU APB1 freeze register1 (DBGMCU_APB1FZR1) +// Reserved bits must be kept at reset value +// DBG_LPTIM1_STOP LPTIM1 counter stopped when core is halted +// DBG_I2C3_STOP I2C3 SMBUS timeout counter stopped when core is halted +// DBG_I2C2_STOP I2C2 SMBUS timeout counter stopped when core is halted +// DBG_I2C1_STOP I2C1 SMBUS timeout counter stopped when core is halted +// DBG_IWDG_STOP Independent watchdog counter stopped when core is halted +// DBG_WWDG_STOP Window watchdog counter stopped when core is halted +// DBG_RTC_STOP RTC counter stopped when core is halted +// DBG_TIM7_STOP TIM7 counter stopped when core is halted +// DBG_TIM6_STOP TIM6 counter stopped when core is halted +// DBG_TIM5_STOP TIM5 counter stopped when core is halted +// DBG_TIM4_STOP TIM4 counter stopped when core is halted +// DBG_TIM3_STOP TIM3 counter stopped when core is halted +// DBG_TIM2_STOP TIM2 counter stopped when core is halted +// +DbgMCU_APB1_Fz1 = 0x00000000; + +// Debug MCU APB1 freeze register 2 (DBGMCU_APB1FZR2) +// Reserved bits must be kept at reset value +// DBG_I2C4_STOP I2C4 SMBUS timeout counter stopped when core is halted +// +DbgMCU_APB1_Fz2 = 0x00000000; + +// Debug MCU APB2 freeze register (DBGMCU_APB2FZR) +// Reserved bits must be kept at reset value +// DBG_HRTIM_STOP HRTIM counter stopped when core is halted +// DBG_TIM20_STOP TIM20 counter stopped when core is halted +// DBG_TIM17_STOP TIM17 counter stopped when core is halted +// DBG_TIM16_STOP TIM16 counter stopped when core is halted +// DBG_TIM15_STOP TIM15 counter stopped when core is halted +// DBG_TIM8_STOP TIM8 counter stopped when core is halted +// DBG_TIM1_STOP TIM1 counter stopped when core is halted +// +DbgMCU_APB2_Fz = 0x00000000; + +// TPIU Pin Routing +// TRACECLK: Pin PE2 +// TRACED[0]: Pin PE3 +// TRACED[1]: Pin PE4 +// TRACED[2]: Pin PE5 +// TRACED[3]: Pin PE6 +// + +// Flash Download Options +// Option Byte Loading Launch the Option Byte Loading after a Flash Download by setting the OBL_LAUNCH bit (causes a reset) +// +DoOptionByteLoading = 0x00000000; + +// <<< end of configuration section >>> diff --git a/Keil_Projects/DebugConfig/RRIOT_G071_STM32G071K8Ux_1.0.0.dbgconf b/Keil_Projects/DebugConfig/RRIOT_G071_STM32G071K8Ux_1.0.0.dbgconf new file mode 100644 index 00000000..9c6303c8 --- /dev/null +++ b/Keil_Projects/DebugConfig/RRIOT_G071_STM32G071K8Ux_1.0.0.dbgconf @@ -0,0 +1,39 @@ +// File: STM32G0x1.dbgconf +// Version: 1.0.0 +// Note: refer to STM32G0x1 reference manual (RM0444) + +// <<< Use Configuration Wizard in Context Menu >>> + +// Debug MCU configuration register (DBGMCU_CR) +// Reserved bits must be kept at reset value +// DBG_STANDBY Debug Standby Mode +// DBG_STOP Debug Stop Mode +// +DbgMCU_CR = 0x00000006; + +// Debug MCU APB freeze register 1 (DBGMCU_APB_FZ1) +// Reserved bits must be kept at reset value +// DBG_LPTIM1_STOP LPTIMER1 counter stopped when core is halted +// DBG_LPTIM2_STOP LPTIMER2 counter stopped when core is halted +// DBG_I2C1_SMBUS_TIMEOUT I2C1 SMBUS timeout is frozen +// DBG_IWDG_STOP Debug independent watchdog stopped when core is halted +// DBG_WWDG_STOP Debug window watchdog stopped when core is halted +// DBG_RTC_STOP Debug RTC stopped when core is halted +// DBG_TIM7_STOP TIM7 counter stopped when core is halted +// DBG_TIM6_STOP TIM6 counter stopped when core is halted +// DBG_TIM3_STOP TIM3 counter stopped when core is halted +// DBG_TIM2_STOP TIM2 counter stopped when core is halted +// +DbgMCU_APB_Fz1 = 0x00000000; + +// Debug MCU APB freeze register 2 (DBGMCU_APB_FZ2) +// Reserved bits must be kept at reset value +// DBG_TIM17_STOP TIM17 counter stopped when core is halted +// DBG_TIM16_STOP TIM16 counter stopped when core is halted +// DBG_TIM15_STOP TIM15 counter stopped when core is halted +// DBG_TIM14_STOP TIM14 counter stopped when core is halted +// DBG_TIM1_STOP TIM1 counter stopped when core is halted +// +DbgMCU_APB_Fz2 = 0x00000000; + +// <<< end of configuration section >>> diff --git a/Keil_Projects/startup_stm32f051k8.lst b/Keil_Projects/startup_stm32f051k8.lst index f603957b..b9193f0d 100644 --- a/Keil_Projects/startup_stm32f051k8.lst +++ b/Keil_Projects/startup_stm32f051k8.lst @@ -362,12 +362,13 @@ ARM Macro Assembler Page 6 00000000 00000000 Command Line: --debug --xref --diag_suppress=9931,A1950W --cpu=Cortex-M0 --depe -nd=.\objects\startup_stm32f051k8.d -o.\objects\startup_stm32f051k8.o -I.\RTE\_L -UMINOUSBEES_F051 -IC:\KeilPacks\Keil\STM32F0xx_DFP\2.1.1\Drivers\CMSIS\Device\S -T\STM32F0xx\Include --predefine="__EVAL SETA 1" --predefine="__MICROLIB SETA 1" - --predefine="__UVISION_VERSION SETA 538" --predefine="_RTE_ SETA 1" --predefin -e="STM32F051x8 SETA 1" --predefine="_RTE_ SETA 1" --list=startup_stm32f051k8.ls -t ..\Mcu\f051\Startup\mdk\startup_stm32f051k8.s +nd=.\objects\startup_stm32f051k8.d -o.\objects\startup_stm32f051k8.o -I.\RTE\_D +M_VISHNU32 -IC:\KeilPacks\ARM\CMSIS\5.9.0\CMSIS\Core\Include -IC:\KeilPacks\Kei +l\STM32F0xx_DFP\2.1.1\Drivers\CMSIS\Device\ST\STM32F0xx\Include --predefine="__ +EVAL SETA 1" --predefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SET +A 538" --predefine="_RTE_ SETA 1" --predefine="STM32F051x8 SETA 1" --predefine= +"_RTE_ SETA 1" --list=startup_stm32f051k8.lst ..\Mcu\f051\Startup\mdk\startup_s +tm32f051k8.s diff --git a/Mcu/e230/Src/IO.c b/Mcu/e230/Src/IO.c index ad4ed79c..471f5d97 100644 --- a/Mcu/e230/Src/IO.c +++ b/Mcu/e230/Src/IO.c @@ -24,7 +24,7 @@ void receiveDshotDma() { RCU_REG_VAL(RCU_TIMER2RST) |= BIT(RCU_BIT_POS(RCU_TIMER2RST)); RCU_REG_VAL(RCU_TIMER2RST) &= ~BIT(RCU_BIT_POS(RCU_TIMER2RST)); - TIMER_CHCTL0(IC_TIMER_REGISTER) = 0x01; + TIMER_CHCTL0(IC_TIMER_REGISTER) = 0x41; TIMER_CHCTL2(IC_TIMER_REGISTER) = 0xa; TIMER_PSC(IC_TIMER_REGISTER) = ic_timer_prescaler; TIMER_CAR(IC_TIMER_REGISTER) = 0xFFFF; diff --git a/Mcu/f031/Src/IO.c b/Mcu/f031/Src/IO.c index 2a1e9332..d4a55fb8 100644 --- a/Mcu/f031/Src/IO.c +++ b/Mcu/f031/Src/IO.c @@ -71,7 +71,7 @@ void changeToInput() #ifdef USE_TIMER_2_CHANNEL_3 LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM2); // de-init timer 2 LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM2); - IC_TIMER_REGISTER->CCMR2 = 0x71; + IC_TIMER_REGISTER->CCMR2 = 0x41; IC_TIMER_REGISTER->CCER = 0xa00; #endif @@ -84,13 +84,13 @@ void changeToInput() #ifdef USE_TIMER_16 LL_APB1_GRP2_ForceReset(LL_APB1_GRP2_PERIPH_TIM16); LL_APB1_GRP2_ReleaseReset(LL_APB1_GRP2_PERIPH_TIM16); - IC_TIMER_REGISTER->CCMR1 = 0x71; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; #endif #ifdef USE_TIMER_2_CHANNEL_1 LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM2); // de-init timer 2 LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM2); - IC_TIMER_REGISTER->CCMR1 = 0x71; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; #endif IC_TIMER_REGISTER->PSC = ic_timer_prescaler; diff --git a/Mcu/f051/Src/IO.c b/Mcu/f051/Src/IO.c index 2ebad416..b60af71c 100644 --- a/Mcu/f051/Src/IO.c +++ b/Mcu/f051/Src/IO.c @@ -29,7 +29,7 @@ void receiveDshotDma() RCC->APB2RSTR |= LL_APB1_GRP2_PERIPH_TIM15; RCC->APB2RSTR &= ~LL_APB1_GRP2_PERIPH_TIM15; #endif - IC_TIMER_REGISTER->CCMR1 = 0x01; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; IC_TIMER_REGISTER->PSC = ic_timer_prescaler; IC_TIMER_REGISTER->ARR = 0xFFFF; diff --git a/Mcu/f415/Src/IO.c b/Mcu/f415/Src/IO.c index be53d252..c8d8af9c 100644 --- a/Mcu/f415/Src/IO.c +++ b/Mcu/f415/Src/IO.c @@ -14,77 +14,32 @@ #include "targets.h" char ic_timer_prescaler = CPU_FREQUENCY_MHZ / 6; -// char output_timer_prescaler; -// int buffersize = 32; -// int smallestnumber = 0; uint32_t dma_buffer[64] = { 0 }; char out_put = 0; uint8_t buffer_padding = 7; -// int dshot_runout_timer = 62500; -// uint32_t average_signal_pulse; + void changeToOutput() { - // LL_DMA_SetDataTransferDirection(DMA1, INPUT_DMA_CHANNEL, - // LL_DMA_DIRECTION_MEMORY_TO_PERIPH); - // dma_transfer_direction_config(INPUT_DMA_CHANNEL, - // DMA_MEMORY_TO_PERIPHERAL); - // INPUT_DMA_CHANNEL->CHCTRL |= DMA_DIR_PERIPHERALDST; INPUT_DMA_CHANNEL->ctrl |= DMA_DIR_MEMORY_TO_PERIPHERAL; - - // LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM3); // de-init - // timer 2 - // LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM3); - - // timer_deinit(IC_TIMER_REGISTER); tmr_reset(IC_TIMER_REGISTER); - // IC_TIMER_REGISTER->CCMR1 = 0x60; - // TIMER_CHCTL0(IC_TIMER_REGISTER) = 0x60; IC_TIMER_REGISTER->cm1 = 0x60; // oc mode pwm - - // IC_TIMER_REGISTER->CCER = 0x3; - // TIMER_CHCTL2(IC_TIMER_REGISTER) = 0x3; IC_TIMER_REGISTER->cctrl = 0x3; // - - // IC_TIMER_REGISTER->PSC = output_timer_prescaler; - // IC_TIMER_REGISTER->prR = 61; IC_TIMER_REGISTER->div = output_timer_prescaler; IC_TIMER_REGISTER->pr = 95; - out_put = 1; - // LL_TIM_GenerateEvent_UPDATE(IC_TIMER_REGISTER); - // timer_event_software_generate(IC_TIMER_REGISTER, TIMER_EVENT_SRC_UPG); IC_TIMER_REGISTER->swevt_bit.ovfswtr = TRUE; } void changeToInput() { gpio_mode_QUICK(GPIOB, GPIO_MODE_INPUT, GPIO_PULL_NONE, INPUT_PIN); - - // LL_DMA_SetDataTransferDirection(DMA1, INPUT_DMA_CHANNEL, - // LL_DMA_DIRECTION_PERIPH_TO_MEMORY); - // dma_transfer_direction_config(INPUT_DMA_CHANNEL, - // DMA_PERIPHERAL_TO_MEMORY); INPUT_DMA_CHANNEL->ctrl |= DMA_DIR_PERIPHERAL_TO_MEMORY; - GPIOB->scr = INPUT_PIN; - - // LL_APB1_GRP1_ForceReset(LL_APB1_GRP1_PERIPH_TIM3); // de-init - // timer 2 - // LL_APB1_GRP1_ReleaseReset(LL_APB1_GRP1_PERIPH_TIM3); - // timer_deinit(IC_TIMER_REGISTER); IC_TIMER_REGISTER->cval = 0; tmr_reset(IC_TIMER_REGISTER); - - // IC_TIMER_REGISTER->CCMR1 = 0x1; - // TIMER_CHCTL0(IC_TIMER_REGISTER) = 0x1; - IC_TIMER_REGISTER->cm1 = 0x71; - // IC_TIMER_REGISTER->CCER = 0xa; - // TIMER_CHCTL2(IC_TIMER_REGISTER) = 0xa; + IC_TIMER_REGISTER->cm1 = 0x41; IC_TIMER_REGISTER->cctrl = 0xB; - - // IC_TIMER_REGISTER->PSC = ic_timer_prescaler; - // IC_TIMER_REGISTER->prR = 0xFFFF; IC_TIMER_REGISTER->div = ic_timer_prescaler; IC_TIMER_REGISTER->pr = 0xFFFF; @@ -94,169 +49,29 @@ void changeToInput() void receiveDshotDma() { changeToInput(); - // IC_TIMER_REGISTER->CNT = 0; - - // LL_DMA_ConfigAddresses(DMA1, INPUT_DMA_CHANNEL, - // (uint32_t)&IC_TIMER_REGISTER->CCR1, (uint32_t)&dma_buffer, - // LL_DMA_GetDataTransferDirection(DMA1, INPUT_DMA_CHANNEL)); - // dma_periph_address_config(INPUT_DMA_CHANNEL, - // (uint32_t)&TIMER_CH0CV(IC_TIMER_REGISTER)); - INPUT_DMA_CHANNEL->paddr = (uint32_t)&IC_TIMER_REGISTER->c1dt; INPUT_DMA_CHANNEL->maddr = (uint32_t)&dma_buffer; - // dma_memory_address_config(INPUT_DMA_CHANNEL, (uint32_t)&dma_buffer); - // LL_DMA_SetDataLength(DMA1, INPUT_DMA_CHANNEL, buffersize); - // dma_transfer_number_config(INPUT_DMA_CHANNEL, buffersize); INPUT_DMA_CHANNEL->dtcnt = buffersize; - - // LL_DMA_EnableIT_TC(DMA1, INPUT_DMA_CHANNEL); - // dma_interrupt_enable(INPUT_DMA_CHANNEL, DMA_INT_FTF); - // LL_DMA_EnableIT_TE(DMA1, INPUT_DMA_CHANNEL); - // dma_interrupt_enable(INPUT_DMA_CHANNEL, DMA_INT_ERR); - - // LL_DMA_EnableChannel(DMA1, INPUT_DMA_CHANNEL); - // TMR_DMACmd(IC_TIMER_REGISTER, TMR_DMA_CC1, ENABLE); IC_TIMER_REGISTER->iden |= TMR_C1_DMA_REQUEST; - - // LL_TIM_EnableDMAReq_CC1(IC_TIMER_REGISTER); - // timer_dma_enable(IC_TIMER_REGISTER, TIMER_DMA_CH0D) ; - // TMR_DMAConfig(IC_TIMER_REGISTER, TMR_DMABase_CC1, - // TMR_DMABurstLength_1Transfer); - - // LL_TIM_CC_EnableChannel(IC_TIMER_REGISTER, IC_TIMER_CHANNEL); - // TIMER_CHCTL2(IC_TIMER_REGISTER) |= (uint32_t)TIMER_CCX_ENABLE; - - // LL_TIM_EnableCounter(IC_TIMER_REGISTER); - // TIMER_CTL0(IC_TIMER_REGISTER) |= (uint32_t)TIMER_CTL0_CEN; - - // IC_TIMER_REGISTER->CTRL1 |= TMR_CTRL1_CNTEN; IC_TIMER_REGISTER->ctrl1_bit.tmren = TRUE; - - // DMA_CHCTL(INPUT_DMA_CHANNEL) = 0x0000098b; // just set the whole reg in - // one g to enable - - // gpio_mode_QUICK(INPUT_PIN_PORT, GPIO_Mode_AF, GPIO_Pull_NOPULL, - // INPUT_PIN); - INPUT_DMA_CHANNEL->ctrl = 0x0000098b; } void sendDshotDma() { changeToOutput(); - - // LL_DMA_ConfigAddresses(DMA1, INPUT_DMA_CHANNEL, - //(uint32_t)&gcr, (uint32_t)&IC_TIMER_REGISTER->CCR1, - // LL_DMA_GetDataTransferDirection(DMA1, - // INPUT_DMA_CHANNEL)); - // dma_periph_address_config(INPUT_DMA_CHANNEL, - // (uint32_t)&TIMER_CH0CV(IC_TIMER_REGISTER)); - // dma_memory_address_config(INPUT_DMA_CHANNEL, (uint32_t)&gcr); - INPUT_DMA_CHANNEL->paddr = (uint32_t)&IC_TIMER_REGISTER->c1dt; INPUT_DMA_CHANNEL->maddr = (uint32_t)&gcr; - - // LL_DMA_SetDataLength(DMA1, INPUT_DMA_CHANNEL, 30); - // dma_transfer_number_config(INPUT_DMA_CHANNEL, 26); INPUT_DMA_CHANNEL->dtcnt = 23 + buffer_padding; - - // LL_DMA_EnableIT_TC(DMA1, INPUT_DMA_CHANNEL); - // dma_interrupt_enable(INPUT_DMA_CHANNEL, DMA_INT_FTF); INPUT_DMA_CHANNEL->ctrl |= DMA_FDT_INT; - // LL_DMA_EnableIT_TE(DMA1, INPUT_DMA_CHANNEL); - // dma_interrupt_enable(INPUT_DMA_CHANNEL, DMA_INT_ERR); INPUT_DMA_CHANNEL->ctrl |= DMA_DTERR_INT; - - // LL_DMA_EnableChannel(DMA1, INPUT_DMA_CHANNEL); - // dma_channel_enable(INPUT_DMA_CHANNEL); - INPUT_DMA_CHANNEL->ctrl_bit.chen = TRUE; - - // LL_TIM_EnableDMAReq_CC1(IC_TIMER_REGISTER); - // timer_dma_enable(IC_TIMER_REGISTER, TIMER_DMA_CH0D) ; - // TMR_DMAConfig(IC_TIMER_REGISTER, TMR_DMABase_CC1, - // TMR_DMABurstLength_1Transfer); - - // TMR_DMACmd(IC_TIMER_REGISTER, TMR_DMA_CC1, ENABLE); IC_TIMER_REGISTER->iden |= TMR_C1_DMA_REQUEST; - - // LL_TIM_CC_EnableChannel(IC_TIMER_REGISTER, IC_TIMER_CHANNEL); - // TIMER_CHCTL2(IC_TIMER_REGISTER) |= (uint32_t)TIMER_CCX_ENABLE; - - // LL_TIM_EnableAllOutputs(IC_TIMER_REGISTER); - // timer_primary_output_config(IC_TIMER_REGISTER, ENABLE); - - // IC_TIMER_REGISTER->BRKDT |= TMR_BRKDT_MOEN; IC_TIMER_REGISTER->brk_bit.oen = TRUE; - - // LL_TIM_EnableCounter(IC_TIMER_REGISTER); - // TIMER_CTL0(IC_TIMER_REGISTER) |= (uint32_t)TIMER_CTL0_CEN; - // IC_TIMER_REGISTER->CTRL1 |= TMR_CTRL1_CNTEN; IC_TIMER_REGISTER->ctrl1_bit.tmren = TRUE; gpio_mode_QUICK(INPUT_PIN_PORT, GPIO_MODE_MUX, GPIO_PULL_NONE, INPUT_PIN); - // gpio_mode_QUICK(GPIOB, GPIO_Mode_AF, GPIO_Pull_NOPULL, - // INPUT_PIN); } -// void detectInput(){ -// smallestnumber = 20000; -// average_signal_pulse = 0; -// dshot = 0; -// servoPwm = 0; -// int lastnumber = dma_buffer[0]; - -// for ( int j = 1 ; j < 31; j++){ -// if(dma_buffer[j] - lastnumber > 0 ){ -// if((dma_buffer[j] - lastnumber) < smallestnumber){ - -// smallestnumber = dma_buffer[j] - lastnumber; - -// } - -// average_signal_pulse += (dma_buffer[j] - lastnumber); -// } -// lastnumber = dma_buffer[j]; -// } -// average_signal_pulse = average_signal_pulse/32 ; - -// if ((smallestnumber > 1)&&(smallestnumber <= 5)&& (average_signal_pulse -// < 60)) { ic_timer_prescaler= 0; output_timer_prescaler=1; dshot -// = 1; buffer_padding = 12; dshot_runout_timer = -// 65000; armed_count_threshold = 10000; buffersize = 32; -// } -// if ((smallestnumber > 5 )&&(smallestnumber <= 10)&& -// (average_signal_pulse < 100)){ dshot = 1; -// ic_timer_prescaler=1; output_timer_prescaler=3; -// IC_TIMER_REGISTER->cval = 0xffff; -// // TIMER_CNT(IC_TIMER_REGISTER) = 0xffff; -// buffer_padding = 7; -// dshot_runout_timer = 65000; -// armed_count_threshold = 10000; -// buffersize = 32; -// } -// // if ((smallestnumber > 100 )&&(smallestnumber < 400)){ -// // multishot = 1; -// // armed_count_threshold = 1000; -// // buffersize = 4; -// // } -// // if ((smallestnumber > 2000 )&&(smallestnumber < 3000)){ -// // oneshot42 = 1; -// // } -// if (smallestnumber > 30 && smallestnumber < 20000){ -// servoPwm = 1; -// ic_timer_prescaler=143; -// armed_count_threshold = 35; -// buffersize = 2; -// } - -// if (smallestnumber == 0 || smallestnumber == 20000){ -// inputSet = 0; -// }else{ - -// inputSet = 1; -// } - -// } uint8_t getInputPinState() { return (INPUT_PIN_PORT->idt & INPUT_PIN); } diff --git a/Mcu/f421/Src/IO.c b/Mcu/f421/Src/IO.c index 485f62ce..84a59b65 100644 --- a/Mcu/f421/Src/IO.c +++ b/Mcu/f421/Src/IO.c @@ -35,7 +35,7 @@ void changeToInput() { INPUT_DMA_CHANNEL->ctrl |= DMA_DIR_PERIPHERAL_TO_MEMORY; tmr_reset(IC_TIMER_REGISTER); - IC_TIMER_REGISTER->cm1 = 0x01; + IC_TIMER_REGISTER->cm1 = 0x41; IC_TIMER_REGISTER->cctrl = 0xB; IC_TIMER_REGISTER->div = ic_timer_prescaler; IC_TIMER_REGISTER->pr = 0xFFFF; diff --git a/Mcu/g071/Src/IO.c b/Mcu/g071/Src/IO.c index 314e6e03..ca45765f 100644 --- a/Mcu/g071/Src/IO.c +++ b/Mcu/g071/Src/IO.c @@ -23,13 +23,13 @@ void receiveDshotDma() #ifdef USE_TIMER_3_CHANNEL_1 RCC->APBRSTR1 |= LL_APB1_GRP1_PERIPH_TIM3; RCC->APBRSTR1 &= ~LL_APB1_GRP1_PERIPH_TIM3; - IC_TIMER_REGISTER->CCMR1 = 0x01; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; #endif #ifdef USE_TIMER_16_CHANNEL_1 LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM16); // de-init timer 2 LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM16); - IC_TIMER_REGISTER->CCMR1 = 0x61; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; #endif diff --git a/Mcu/g431/Src/IO.c b/Mcu/g431/Src/IO.c index 5b06719e..45ac7ca5 100644 --- a/Mcu/g431/Src/IO.c +++ b/Mcu/g431/Src/IO.c @@ -23,15 +23,15 @@ void receiveDshotDma() #ifdef USE_TIMER_3_CHANNEL_1 RCC->APBRSTR1 |= LL_APB1_GRP1_PERIPH_TIM3; RCC->APBRSTR1 &= ~LL_APB1_GRP1_PERIPH_TIM3; - IC_TIMER_REGISTER->CCMR1 = 0x6001; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; -#endif +#else LL_APB2_GRP1_ForceReset(LL_APB2_GRP1_PERIPH_TIM15); // de-init timer 2 LL_APB2_GRP1_ReleaseReset(LL_APB2_GRP1_PERIPH_TIM15); - IC_TIMER_REGISTER->CCMR1 = 0x0601; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; - +#endif IC_TIMER_REGISTER->PSC = ic_timer_prescaler; IC_TIMER_REGISTER->ARR = 0xFFFF; IC_TIMER_REGISTER->EGR |= TIM_EGR_UG; diff --git a/Mcu/g431/Src/peripherals.c b/Mcu/g431/Src/peripherals.c index 60fd1c6b..a483904c 100644 --- a/Mcu/g431/Src/peripherals.c +++ b/Mcu/g431/Src/peripherals.c @@ -243,13 +243,13 @@ void MX_TIM1_Init(void) PA9 ------> TIM1_CH2 PA10 ------> TIM1_CH3 */ - GPIO_InitStruct.Pin = LL_GPIO_PIN_0; + GPIO_InitStruct.Pin = PHASE_A_GPIO_LOW; GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE; GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_LOW; GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL; GPIO_InitStruct.Pull = LL_GPIO_PULL_NO; GPIO_InitStruct.Alternate = LL_GPIO_AF_6; - LL_GPIO_Init(GPIOF, &GPIO_InitStruct); + LL_GPIO_Init(PHASE_A_GPIO_PORT_LOW, &GPIO_InitStruct); GPIO_InitStruct.Pin = LL_GPIO_PIN_7; GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE; diff --git a/Mcu/l431/Src/IO.c b/Mcu/l431/Src/IO.c index 99e57d89..6e349659 100644 --- a/Mcu/l431/Src/IO.c +++ b/Mcu/l431/Src/IO.c @@ -29,7 +29,7 @@ void receiveDshotDma() RCC->APB2RSTR |= LL_APB2_GRP1_PERIPH_TIM15; RCC->APB2RSTR &= ~LL_APB2_GRP1_PERIPH_TIM15; #endif - IC_TIMER_REGISTER->CCMR1 = 0x01; + IC_TIMER_REGISTER->CCMR1 = 0x41; IC_TIMER_REGISTER->CCER = 0xa; IC_TIMER_REGISTER->PSC = ic_timer_prescaler; IC_TIMER_REGISTER->ARR = 0xFFFF; diff --git a/Src/dshot.c b/Src/dshot.c index 0f1628e1..502ddb46 100644 --- a/Src/dshot.c +++ b/Src/dshot.c @@ -42,13 +42,12 @@ uint16_t halfpulsetime = 0; void computeDshotDMA() { - int j = 0; dshot_frametime = dma_buffer[31] - dma_buffer[0]; halfpulsetime = dshot_frametime >> 5; if ((dshot_frametime > dshot_frametime_low) && (dshot_frametime < dshot_frametime_high)) { signaltimeout = 0; for (int i = 0; i < 16; i++) { - dpulse[i] = ((dma_buffer[j + (i << 1) + 1] - dma_buffer[j + (i << 1)]) > (halfpulsetime)); + dpulse[i] = ((dma_buffer[(i << 1) + 1] - dma_buffer[(i << 1)]) > (halfpulsetime)); } uint8_t calcCRC = ((dpulse[0] ^ dpulse[4] ^ dpulse[8]) << 3 | (dpulse[1] ^ dpulse[5] ^ dpulse[9]) << 2 | (dpulse[2] ^ dpulse[6] ^ dpulse[10]) << 1 | (dpulse[3] ^ dpulse[7] ^ dpulse[11])); uint8_t checkCRC = (dpulse[12] << 3 | dpulse[13] << 2 | dpulse[14] << 1 | dpulse[15]); diff --git a/Src/main.c b/Src/main.c index 72c53d3b..c396da60 100644 --- a/Src/main.c +++ b/Src/main.c @@ -230,6 +230,8 @@ an settings option) #include "targets.h" #include #include +#include +#include #ifdef USE_LED_STRIP #include "WS2812.h" @@ -358,8 +360,7 @@ uint16_t low_cell_volt_cutoff = 330; // 3.3volts per cell //=========================== END EEPROM Defaults =========================== const char filename[30] __attribute__((section(".file_name"))) = FILE_NAME; - -char firmware_name[12] = FIRMWARE_NAME; +static_assert(sizeof(FIRMWARE_NAME) <=13,"Firmware name too long"); // max 12 character firmware name plus NULL uint8_t EEPROM_VERSION; // move these to targets folder or peripherals for each mcu