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

AT32: Add AIRBOTF435 REV1.0 #12510

Merged
merged 1 commit into from Mar 24, 2023
Merged

Conversation

haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Mar 11, 2023

Revision 1.0

For testing.

image

# status
MCU AT32F435 Clock=288MHz, Vref=3.30V, Core temp=55degC
Stack size: 2048, Stack address: 0x2002fff0
Configuration: CONFIGURED, size: 3260, max available: 16384
Devices detected: SPI:1, I2C:1
Gyros detected: gyro 1, gyro 2 locked dma
GYRO=ICM42688P, ACC=ICM42688P, BARO=DPS310
OSD: MSP (30 x 13)
System Uptime: 170 seconds, Current Time: 2023-03-15T23:23:17.646+00:00
CPU:11%, cycle time: 125, GYRO rate: 8000, RX rate: 15, System rate: 10
Voltage: 23 * 0.01V (0S battery - NOT PRESENT)
I2C Errors: 0
FLASH: JEDEC ID=0x00ef4018 16M
Arming disable flags: RXLOSS BOOTGRACE CLI MSP
# timer show

Currently active Timers:
-----------------------
TIM1: FREE
TIM2: FREE
TIM3: FREE
TIM4: FREE
TIM5: FREE
TIM8:
    CH2 : MOTOR 1
TIM20: FREE

# dma show

Currently active DMA:
--------------------
DMA1 Channel 1: ADC 1
DMA1 Channel 2: MOTOR 2
DMA1 Channel 3: MOTOR 4
DMA1 Channel 4: MOTOR 1
DMA1 Channel 5: MOTOR 3
DMA1 Channel 6: SPI_SDO 1
DMA1 Channel 7: SPI_SDI 1
DMA2 Channel 1: SPI_SDO 2
DMA2 Channel 2: SPI_SDI 2
DMA2 Channel 3: SPI_SDI 3
DMA2 Channel 4: FREE
DMA2 Channel 5: FREE
DMA2 Channel 6: FREE
DMA2 Channel 7: FREE
#define LED_STRIP_PIN                       PB10 // 2
#define MOTOR1_PIN                          PC9  // 3, 8
#define MOTOR2_PIN                          PC8  // 3, 8
#define MOTOR3_PIN                          PB7  // 4
#define MOTOR4_PIN                          PB6  // 4
#define MOTOR5_PIN                          PB0  // 1, 3, 8
#define MOTOR6_PIN                          PB1  // 1, 3, 8
#define MOTOR7_PIN                          PC7  // 3, 8
#define MOTOR8_PIN                          PC6  // 3, 8

With Octo X8 configuration:

# dma show

Currently active DMA:
--------------------
DMA1 Channel 1: ADC 1
DMA1 Channel 2: MOTOR 2
DMA1 Channel 3: MOTOR 4
DMA1 Channel 4: MOTOR 1
DMA1 Channel 5: MOTOR 3
DMA1 Channel 6: SPI_SDO 1
DMA1 Channel 7: SPI_SDI 1
DMA2 Channel 1: MOTOR 5
DMA2 Channel 2: MOTOR 6
DMA2 Channel 3: MOTOR 8
DMA2 Channel 4: MOTOR 7
DMA2 Channel 5: SPI_SDO 2
DMA2 Channel 6: SPI_SDI 2
DMA2 Channel 7: SPI_SDI 3

@haslinghuis haslinghuis added this to the 4.5 milestone Mar 11, 2023
@haslinghuis haslinghuis self-assigned this Mar 11, 2023
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@haslinghuis haslinghuis force-pushed the airbotf435 branch 2 times, most recently from 8675617 to defb467 Compare March 12, 2023 01:17
@github-actions

This comment has been minimized.

@blckmn
Copy link
Member

blckmn commented Mar 12, 2023

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> FAIL
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> PASS
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> FAIL
  • assigned to an approver -> PASS
  • approver count at least three -> FAIL

@haslinghuis haslinghuis force-pushed the airbotf435 branch 2 times, most recently from b92af09 to b02d9f2 Compare March 15, 2023 02:13
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@haslinghuis haslinghuis removed the Development Instrumentation To be removed before a release label Mar 17, 2023
@github-actions

This comment has been minimized.

@haslinghuis haslinghuis added the Development Instrumentation To be removed before a release label Mar 18, 2023

#pragma once

#define FC_TARGET_MCU AT32F435
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will need updating to be eithe M or G variant.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

As this is revision 1.0, we are on 1.1 now and 1.2 is coming.
Should we name it AIRBOTF435DEV1 as resources are changed on follow-ups.

@github-actions
Copy link

Do you want to test this code? Here you have an automated build:
Assets
WARNING: It may be unstable. Use only for testing! See: https://www.youtube.com/watch?v=I1uN9CN30gw for instructions for unified targets!

@haslinghuis haslinghuis changed the title CONFIG: Add AIRBOTF435 AT32: Add AIRBOTF435 Mar 21, 2023
@haslinghuis haslinghuis changed the title AT32: Add AIRBOTF435 AT32: Add AIRBOTF435 REV1.0 Mar 21, 2023
@blckmn blckmn merged commit 1cd34b4 into betaflight:master Mar 24, 2023
19 checks passed
@haslinghuis haslinghuis deleted the airbotf435 branch March 24, 2023 10:07
davidbitton pushed a commit to davidbitton/betaflight that referenced this pull request Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development Instrumentation To be removed before a release RN: NEW TARGET
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

None yet

2 participants