Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flywoo F745 Goku Nano #18340

Merged
merged 3 commits into from Aug 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions Tools/AP_Bootloader/board_types.txt
Expand Up @@ -128,6 +128,7 @@ AP_HW_MAMBABASICF4 1038
AP_HW_ARGOSDYNE_DP1000 1039
AP_HW_Nucleo491 1040
AP_HW_mRoM10095 1041
AP_HW_FlywooF745Nano 1042

AP_HW_CUBEORANGE_PERIPH 1400
AP_HW_CUBEBLACK_PERIPH 1401
Expand Down
Binary file added Tools/bootloaders/FlywooF745Nano_bl.bin
Binary file not shown.
1,024 changes: 1,024 additions & 0 deletions Tools/bootloaders/FlywooF745Nano_bl.hex

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions Tools/scripts/board_list.py
Expand Up @@ -88,6 +88,7 @@
"BeastH7",
"BeastF7",
"FlywooF745",
"FlywooF745Nano",
"luminousbee5",
"MambaF405US-I2C",
"Swan-K1",
Expand Down
2 changes: 2 additions & 0 deletions Tools/scripts/generate_manifest.py
Expand Up @@ -74,6 +74,8 @@
'BeastH7' : ('Beast H7 55A AIO', 'iFlight'),
'BeastF7' : ('Beast F7 45A AIO', 'iFlight'),
'MambaF405US-I2C' : ('Diatone Mamba Basic F405 MK3/MK3.5', 'Diatone'),
"FlywooF745" : ('Flywoo Goku GN 745 AIO', 'Flywoo'),
"FlywooF745Nano" : ('Flywoo Goku Hex F745', 'Flywoo'),
}

class Firmware():
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FlywooF745Nano/defaults.parm
@@ -0,0 +1,13 @@
# setup the four built-in Neopixel LEDs on chan 9
SERVO9_FUNCTION 120
NTF_LED_TYPES 257
NTF_LED_LEN 4

# setup SERIAL3 for RCIN
SERIAL3_PROTOCOL 23

# disable GPS on Serial 4
SERIAL4_PROTOCOL -1

# setup SERIAL6 for GPS
SERIAL6_PROTOCOL 5
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FlywooF745Nano/hwdef-bl.dat
@@ -0,0 +1,3 @@
include ../FlywooF745/hwdef-bl.dat

APJ_BOARD_ID 1042
29 changes: 29 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/FlywooF745Nano/hwdef.dat
@@ -0,0 +1,29 @@
# for FLYWOO Goku GN F745 Nano
# thanks to betaflight for pin information

include ../FlywooF745/hwdef.dat

APJ_BOARD_ID 1042

undef PB10 PB11 PB0 PB1
undef DMA_PRIORITY
undef I2C_ORDER
undef HAL_I2C_INTERNAL_MASK

I2C_ORDER I2C1 I2C2

# I2C2
PB10 I2C2_SCL I2C2
PB11 I2C2_SDA I2C2

PD8 USART3_TX USART3
PD9 USART3_RX USART3

PB0 TIM3_CH3 TIM3 PWM(1) GPIO(50) # Motor 1
PB1 TIM3_CH4 TIM3 PWM(2) GPIO(51) BIDIR # Motor 2

DMA_PRIORITY USART1* I2C2* TIM1* TIM3*

define HAL_PROBE_EXTERNAL_I2C_BAROS
define HAL_I2C_INTERNAL_MASK 1
define HAL_FRAME_TYPE_DEFAULT 12