Skip to content

Commit

Permalink
REACTOR66
Browse files Browse the repository at this point in the history
  • Loading branch information
Eike Ahmels committed Nov 28, 2024
1 parent a48fb69 commit 0dcf46e
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions Inc/targets.h
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,15 @@
#define USE_SERIAL_TELEMETRY
#endif

#ifdef MAMBA_REACTOR66_F421
#define FIRMWARE_NAME "REACTOR66 F4"
#define FILE_NAME "MAMBA_REACTOR66_F421"
#define DEAD_TIME 100
#define HARDWARE_GROUP_AT_B
#define HARDWARE_GROUP_AT_450
#define USE_SERIAL_TELEMETRY
#endif

#ifdef MAMBA_F55_F421
#define FIRMWARE_NAME "MAMBA F55 F4"
#define FILE_NAME "MAMBA_F55_F421"
Expand Down Expand Up @@ -1418,6 +1427,32 @@
/******************************* G071 Targets
* *********************************/

#ifdef AIRBOT_PHOENIX_12S_G071
#define FILE_NAME "AIRBOT_PHOENIX_12S_G071"
#define FIRMWARE_NAME "PHEONIX 12S "
#define DEAD_TIME 60
#define MILLIVOLT_PER_AMP 10
#define CURRENT_OFFSET 0
#define TARGET_STALL_PROTECTION_INTERVAL 9000
#define TARGET_VOLTAGE_DIVIDER 110
#define HARDWARE_GROUP_G0_I
#define USE_SERIAL_TELEMETRY
#define SIXTY_FOUR_KB_MEMORY

#define VOLTAGE_ADC_PIN LL_GPIO_PIN_1
#define VOLTAGE_ADC_CHANNEL LL_ADC_CHANNEL_1

#define CURRENT_ADC_PIN LL_GPIO_PIN_5
#define CURRENT_ADC_CHANNEL LL_ADC_CHANNEL_5

#define USE_LED_STRIP

#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 RRIOT_G071
#define FILE_NAME "RRIOT_G071"
#define FIRMWARE_NAME "RRIOT G071"
Expand Down Expand Up @@ -2546,9 +2581,15 @@
#define PHASE_C_GPIO_HIGH LL_GPIO_PIN_8
#define PHASE_C_GPIO_PORT_HIGH GPIOA

#ifndef PHASE_A_COMP
#define PHASE_A_COMP LL_COMP_INPUT_MINUS_IO1 // pb3
#endif
#ifndef PHASE_B_COMP
#define PHASE_B_COMP LL_COMP_INPUT_MINUS_IO2 // pb7
#endif
#ifndef PHASE_C_COMP
#define PHASE_C_COMP LL_COMP_INPUT_MINUS_IO3 // pa2
#endif

#define VOLTAGE_ADC_PIN LL_GPIO_PIN_1
#define VOLTAGE_ADC_CHANNEL LL_ADC_CHANNEL_1
Expand Down

0 comments on commit 0dcf46e

Please sign in to comment.