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

HAL_ChibiOS: Added support for GreenSight's UltraBlue flight controller #28995

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sionv
Copy link
Contributor

@sionv sionv commented Jan 3, 2025

No description provided.

@sionv sionv marked this pull request as draft January 3, 2025 03:41
# PWM AUX channels
# NOTE: PWM outputs on the same channel must all have
# the same output protocol (DShot, PWM, etc)
PH10 TIM5_CH1 TIM5 PWM(1) GPIO(50)
Copy link
Collaborator

Choose a reason for hiding this comment

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

You will want BIDIR for at least the first for channels, so put it on PWM1 and PWM3

OSCILLATOR_HZ 16000000

# Board ID for firmware load
APJ_BOARD_ID 1071
Copy link
Collaborator

Choose a reason for hiding this comment

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

You need to allocate your own number in board_types.txt

Copy link
Collaborator

@andyp1per andyp1per left a comment

Choose a reason for hiding this comment

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

Looking good.

@Hwurzburg Hwurzburg self-requested a review January 4, 2025 12:51
Copy link
Collaborator

@Hwurzburg Hwurzburg left a comment

Choose a reason for hiding this comment

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

A few things upon cursory review that need answers before I do a thorough review:

  1. The photo does not indicate the "mezzanine" connector, or its type
  2. The defaults.param file should only have the SERVOx_FUNCTION items, all others belong in the hwdef
  3. Once you get a board id assigned in a separate PR, use its text description in the .dat files
  4. Need bootloader file added
  5. No SD card slot shown in photo...consider adding SD in bootloader for firmware load from SD
  6. Boot switch is not indicated in photo....what is the initial firmware? ArduPilot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants