mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-24 03:33:08 +00:00
8073992925
* RFID: pull antenna down when emulating * Rfid: fixed HID emulation by adding zero pulse every 4 bits * Rfid: HID emulation fixed with DSP based FSK oscillator. * Rfid: receive 125KHz clock for emulation timer from antenna and comparator * Rfid: commented unused variable * Firmware: rollback changes in f6. * Add F7 target based on F6. * F7/F6: update cube projects, apply changes to the targets, update linker scripts with correct RAM start values. * FuriHal: RFID init routine. * Scripts: update OTP tool for v11 board Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
52 lines
1 KiB
C
52 lines
1 KiB
C
#include "main.h"
|
|
#include "stm32wbxx_it.h"
|
|
#include "FreeRTOS.h"
|
|
#include "task.h"
|
|
|
|
extern PCD_HandleTypeDef hpcd_USB_FS;
|
|
extern COMP_HandleTypeDef hcomp1;
|
|
extern RTC_HandleTypeDef hrtc;
|
|
extern TIM_HandleTypeDef htim1;
|
|
extern TIM_HandleTypeDef htim2;
|
|
extern TIM_HandleTypeDef htim16;
|
|
extern TIM_HandleTypeDef htim17;
|
|
|
|
extern void HW_TS_RTC_Wakeup_Handler();
|
|
extern void HW_IPCC_Tx_Handler();
|
|
extern void HW_IPCC_Rx_Handler();
|
|
|
|
void SysTick_Handler(void) {
|
|
HAL_IncTick();
|
|
}
|
|
|
|
void USB_LP_IRQHandler(void) {
|
|
HAL_PCD_IRQHandler(&hpcd_USB_FS);
|
|
}
|
|
|
|
void COMP_IRQHandler(void) {
|
|
HAL_COMP_IRQHandler(&hcomp1);
|
|
}
|
|
|
|
void TIM1_TRG_COM_TIM17_IRQHandler(void) {
|
|
HAL_TIM_IRQHandler(&htim1);
|
|
}
|
|
|
|
void TIM1_CC_IRQHandler(void) {
|
|
HAL_TIM_IRQHandler(&htim1);
|
|
}
|
|
|
|
void HSEM_IRQHandler(void) {
|
|
HAL_HSEM_IRQHandler();
|
|
}
|
|
|
|
void RTC_WKUP_IRQHandler(void){
|
|
HW_TS_RTC_Wakeup_Handler();
|
|
}
|
|
|
|
void IPCC_C1_TX_IRQHandler(void){
|
|
HW_IPCC_Tx_Handler();
|
|
}
|
|
|
|
void IPCC_C1_RX_IRQHandler(void){
|
|
HW_IPCC_Rx_Handler();
|
|
}
|