Skip to content

Commit

Permalink
[targets] proper ID and fixes for IFLIGHT targets
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Mar 28, 2024
1 parent 18202fc commit 103256e
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 199 deletions.
8 changes: 5 additions & 3 deletions src/main/target/IFLIGHT_BLITZ_F405/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@

//#define USE_TARGET_CONFIG

#define TARGET_BOARD_IDENTIFIER "IBF4"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_BLITZ_F405"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_BLITZ_F405"

#define FC_TARGET_MCU STM32F405 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S405" // generic ID

#define LED0_PIN PC15

Expand Down
5 changes: 4 additions & 1 deletion src/main/target/IFLIGHT_F411_AIO32/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "S411"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_F411_AIO32"

#define FC_TARGET_MCU STM32F411 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S411" // generic ID

#define LED0_PIN PB5

#define USE_BEEPER
Expand Down
8 changes: 6 additions & 2 deletions src/main/target/IFLIGHT_F411_PRO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
*/

#pragma once
#define TARGET_BOARD_IDENTIFIER "S411"
#define USBD_PRODUCT_STRING "IFLIGHT_F411_PRO"

#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_F411_PRO"

#define FC_TARGET_MCU STM32F411 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S411" // generic ID

#define ENABLE_DSHOT_DMAR true

Expand Down
6 changes: 4 additions & 2 deletions src/main/target/IFLIGHT_F722_TWING/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "S7X2"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_F722_TWING"

#define USBD_PRODUCT_STRING "IFLIGHT F7 TWIN G"
#define FC_TARGET_MCU STM32F7X2 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S7X2" // generic ID

#define USE_DUAL_GYRO

Expand Down
6 changes: 4 additions & 2 deletions src/main/target/IFLIGHT_F745_AIO/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "IFRC"

#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_F745_AIO"

#define FC_TARGET_MCU STM32F745 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S745" // generic ID

#define LED0_PIN PC13

#define USE_BEEPER
Expand Down
6 changes: 4 additions & 2 deletions src/main/target/IFLIGHT_F745_AIO_V2/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "IFRC"

#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_F745_AIO_V2"

#define FC_TARGET_MCU STM32F745 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S745" // generic ID

#define ENABLE_DSHOT_DMAR true

#define LED0_PIN PC13
Expand Down
41 changes: 0 additions & 41 deletions src/main/target/IFLIGHT_SUCCEX_E_F4/IFF4_E/target.c

This file was deleted.

135 changes: 0 additions & 135 deletions src/main/target/IFLIGHT_SUCCEX_E_F4/IFF4_E/target.h

This file was deleted.

7 changes: 0 additions & 7 deletions src/main/target/IFLIGHT_SUCCEX_E_F4/IFF4_E/target.mk

This file was deleted.

7 changes: 5 additions & 2 deletions src/main/target/IFLIGHT_SUCCEX_E_F4/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_SUCCEX_E_F4"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_SUCCEX_E_F4"

#define FC_TARGET_MCU STM32F405 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S405" // generic ID

#define LED0_PIN PB5

Expand Down
6 changes: 4 additions & 2 deletions src/main/target/IFLIGHT_SUCCEX_E_F7/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@

#pragma once

#define TARGET_BOARD_IDENTIFIER "S7X2"
#define TARGET_MANUFACTURER_IDENTIFIER "IFRC"
#define USBD_PRODUCT_STRING "IFLIGHT_SUCCEX_E_F7"

#define USBD_PRODUCT_STRING "IFLIGHT_SUCCEX_E_F7"
#define FC_TARGET_MCU STM32F7X2 // not used in EmuF
#define TARGET_BOARD_IDENTIFIER "S7X2" // generic ID

#define ENABLE_DSHOT_DMAR true

Expand Down

0 comments on commit 103256e

Please sign in to comment.