mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-25 12:13: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>
19 lines
305 B
C
19 lines
305 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "usbd_def.h"
|
|
|
|
#define DEVICE_ID1 (UID_BASE)
|
|
#define DEVICE_ID2 (UID_BASE + 0x4)
|
|
#define DEVICE_ID3 (UID_BASE + 0x8)
|
|
|
|
#define USB_SIZ_STRING_SERIAL 0x1E
|
|
|
|
extern USBD_DescriptorsTypeDef CDC_Desc;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|