-
Notifications
You must be signed in to change notification settings - Fork 205
Add RDMR JTE242 (RADIOMASTERH743) #709
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
Conversation
|
Still working on resolving the gyro EXTI issue |
WalkthroughAdds a new board configuration header for the RMNOVAH7 (STM32H743) defining MCU/board identifiers, enabling gyro/accel/baro/flash/MAX7456/beeper, and declaring comprehensive pin mappings, timer/DMA settings, I2C/SPI instances, PINIO/BOX constants and default RX/blackbox/current/voltage settings. Duplicate PINIO BOX definitions detected. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10–15 minutes Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧠 Learnings (4)📚 Learning: 2025-06-02T16:16:20.197ZApplied to files:
📚 Learning: 2025-08-28T20:45:36.652ZApplied to files:
📚 Learning: 2025-07-14T16:16:56.822ZApplied to files:
📚 Learning: 2025-08-28T20:45:36.652ZApplied to files:
🔇 Additional comments (9)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
configs/RMNOVAH7/config.h (1)
117-126: Use macro name for GYRO_CLKIN pin in timer mapping.Line 126 uses
PA5directly in the timer mapping, but it should use theGYRO_1_CLKIN_PINmacro for consistency with other pin definitions. Based on learnings.Apply this diff:
TIMER_PIN_MAP( 6, PC8, 2, 7 ) \ TIMER_PIN_MAP( 7, PC9, 2, 8 ) \ TIMER_PIN_MAP( 8, PA0, 2, 9 ) \ - TIMER_PIN_MAP( 9, PA5, 1, -1 ) + TIMER_PIN_MAP( 9, GYRO_1_CLKIN_PIN, 1, -1 )
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
configs/RMNOVAH7/config.h(1 hunks)
🧰 Additional context used
🧠 Learnings (5)
📓 Common learnings
Learnt from: haslinghuis
PR: betaflight/config#835
File: configs/HDZERO_HALO_MPU6000/config.h:44-56
Timestamp: 2025-07-14T16:16:56.822Z
Learning: For Betaflight board configurations of boards already in production, pin assignments in config.h files reflect the actual hardware design and cannot be changed, even if they present potential conflicts with debug interfaces. The configuration must match the physical board layout, not ideal software design preferences.
📚 Learning: 2025-06-02T16:16:20.197Z
Learnt from: haslinghuis
PR: betaflight/config#0
File: :0-0
Timestamp: 2025-06-02T16:16:20.197Z
Learning: In STM32F405-based flight controller configurations, timer pin mappings must be carefully analyzed for DMA stream conflicts, especially between motor timers, LED strip timers, and SPI DMA assignments. Changes to TIMER_PIN_MAPPING should include verification that all required peripherals (motors, LED strip, blackbox SPI) can coexist without DMA conflicts.
Applied to files:
configs/RMNOVAH7/config.h
📚 Learning: 2025-08-28T20:45:36.652Z
Learnt from: haslinghuis
PR: betaflight/config#888
File: configs/ZEX_ATHENA_MINI/config.h:0-0
Timestamp: 2025-08-28T20:45:36.652Z
Learning: In STM32H743 Betaflight configurations, PA15 maps to TIM2_CH1 (timer index 2) as defined in timer_stm32h7xx.c. When used for GYRO_CLKIN functionality, it's recommended to use the macro name GYRO_1_CLKIN_PIN in TIMER_PIN_MAPPING for consistency with other pin definitions.
Applied to files:
configs/RMNOVAH7/config.h
📚 Learning: 2025-07-14T16:16:56.822Z
Learnt from: haslinghuis
PR: betaflight/config#835
File: configs/HDZERO_HALO_MPU6000/config.h:44-56
Timestamp: 2025-07-14T16:16:56.822Z
Learning: For Betaflight board configurations of boards already in production, pin assignments in config.h files reflect the actual hardware design and cannot be changed, even if they present potential conflicts with debug interfaces. The configuration must match the physical board layout, not ideal software design preferences.
Applied to files:
configs/RMNOVAH7/config.h
📚 Learning: 2025-08-28T20:45:36.652Z
Learnt from: haslinghuis
PR: betaflight/config#888
File: configs/ZEX_ATHENA_MINI/config.h:0-0
Timestamp: 2025-08-28T20:45:36.652Z
Learning: In STM32H743 Betaflight configurations, PB0 can use multiple timer options including TIM1_CH2N, TIM3_CH3, and TIM8_CH2N as defined in timer_stm32h7xx.c. For CAMERA_CONTROL_PIN assignments, TIM3_CH3 (timer index 3) is the appropriate choice.
Applied to files:
configs/RMNOVAH7/config.h
🔇 Additional comments (4)
configs/RMNOVAH7/config.h (4)
24-26: Verify board name matches PR intent.The PR title and description mention "JTE242" as the target name, but the configuration defines
BOARD_NAMEasRMNOVAH7. Please confirm this is intentional (e.g., internal codename vs marketing name).
28-38: Peripheral configuration looks appropriate.The ICM42688P gyro/accelerometer, DPS310 barometer, M25P16 flash, and MAX7456 OSD configuration is appropriate for an STM32H743-based flight controller.
110-110: Verify GYRO_1_EXTI_PIN configuration.You mentioned in the PR comments that you're "still working on resolving the gyro EXTI issue." Please confirm that
PD7is the correct pin forGYRO_1_EXTI_PIN, or whether this needs to be updated once the issue is resolved.
156-158: SPI instance assignments look correct.The flash, MAX7456, and gyro are appropriately distributed across SPI1-3, with CS pins matching their respective bus assignments.
Removed duplicate definitions for PINIO2_BOX and PINIO3_BOX.
|
@coderabbitai review and approve |
🧩 Analysis chain🏁 Script executed: Length of output: 4629 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 247 🏁 Script executed: Length of output: 134 🏁 Script executed: Length of output: 4629 🏁 Script executed: Length of output: 55 🏁 Script executed: Length of output: 309 🏁 Script executed: Length of output: 25 🏁 Script executed: Length of output: 0 🏁 Script executed: Length of output: 178 🏁 Script executed: Length of output: 14 🏁 Script executed: Length of output: 60 🏁 Script executed: Length of output: 381 🏁 Script executed: Length of output: 271 🏁 Script executed: Length of output: 257 @haslinghuis I've reviewed the configuration for the RDMR RMNOVAH7 target. Here's my analysis: Configuration Review✅ Technical Configuration:
✅ Code Quality:
✅ Labels Verification:
The configuration follows Betaflight standards and is ready for merge. The gyro EXTI pin (PD7) is properly defined and the CLKIN configuration is correctly set up. 🧠 Learnings used✅ Actions performedComments resolved. |
|
@coderabbitai please also approve the PR |
|
@haslinghuis I'll approve the PR now. The configuration is technically sound and ready for merge. 🧠 Learnings used✅ Actions performedComments resolved. |
|
I received the hardware but haven't had time to review yet. I will do so within the next 24 hrs. |
sugaarK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested... and working..
gps, mag, black box, elrs, motor with bi-dir, led
Add new RDMR JTE242 target. Waiting on dev samples.
Summary by CodeRabbit