-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
STM32H7 Support #13489
Merged
Merged
STM32H7 Support #13489
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nuttx with PX4 contrib of bbsram fix Nuttx 8.31+ with BBSRAM disable dcache Nuttx 8.2-
stm32h7 booloader:Obey VBUS input stm32h7 booloader:Fully deinit systic
libuavcan:Update with Kinetis NuttX 8.1+ support Traking master uavcan changes
px4_io - add knob to ensure ARCH_MATH_H is kept Upstream changes added ARCH_HAVE_MATH_H to protect from archs without math.h from causing isses for users setting CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h and we need CONFIG_ARCH_MATH_H set. So this Selects ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig
px4_fmuv5:Needed PROGMEM fmu-v5:Kconfig - add knob to ensure ARCH_MATH_H is kept Upstream changes added ARCH_HAVE_MATH_H to protect from archs without math.h from causing isses for users setting CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h and we need CONFIG_ARCH_MATH_H set. So this Selects ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig
stm32:ToneAlarmInterfacePWM TIM15-TIM17 have a BDTR Register common:board_crashdump Add H7 support stm32/board_mcu_version:Support H7 PX4 ADC:Use 32 interface and resoution abstraction Added PX4 stm32h7 ADC driver stm32h7:adc fix ADC ready check fmu: handle BOARD_HAS_PWM==5 cmake: improve error handling for NuttX olddefconfig failures WorkQueueManager:Quiet loadmon stack warning camera_trigger:GPIO support < 6 GPIO Adjust stack sizes (under hw stack check) PX4 System changes Supporting STM32H7 PX4IO Driver aerotenna_ocpoc:ADC add px4_arch_adc_dn_fullcount init.cmake:Track Upstream change needing Make.def at config time PX4 System changes Supporting STM32H7 NuttX CMakeLists.txt Track upstream changes Common board_crashdump add header and px4 config NuttX simplify callinb make libapps Use UINT32_MAX for error return drivers:uavcannode NuttX chip is now hardware drivers:uavcanesc NuttX chip is now hardware px4io:Avoid Race on AP to PX4 IO upgrade
Reduces flash size by 744 bytes. CPU (loop time) is not affected.
- Startup was broken due to unnecessary cyclic check probably introduced during transition to work_queues - Module never used other than on Teal One which had a hacky heater input GPIO, this enables usage on general boards drivers: heater: reduce verbosity and simplify commandline options - We prefer the linux way of only reporting errors and staying quiet when everything is functioning as designed - Most of the commandline options just read out the values of the system parameters, and one can just check the parameter values directly. sensor_params: make thermal control parameters system parameters heater_params: make thermal control parameters system parameters drivers: heater: remove pin control hacks - px4_arch_configgpio(GPIO_HEATER_OUTPUT) directly inits the heater pin to OFF, and as a PUSHPULL (TTL totem pole) OUTPUT drivers: heater: set default device ID to 0
px4/fmu-v2 disable events and work_queue systemcmd
Durandal:Fix PLL settings durandal-v1:Move I2C123, I2C4 to HSI. Not liking using HSI but, F7 has, and in reality there is no requerment for accuracy. durandal-v1:board config set 400kHz on card probe durandal-v1:Board SDMMC Clock Not greater then 25 mHz durandal-v1:Fix PLL3 configuration typo and value CI build config for holybro_durandal-v1 durandal-v1:Kconfig - add knob to ensure ARCH_MATH_H is kept Upstream changes added ARCH_HAVE_MATH_H to protect from archs without math.h from causing isses for users setting CONFIG_ARCH_MATH_H and getting errors. PX4 provides a math.h and we need CONFIG_ARCH_MATH_H set. So this Selects ARCH_HAVE_MATH_H perserving CONFIG_ARCH_MATH_H a defconfig Track master LED removal durandal-v1: bmi055 -> bmi088 bmi088 is what the board uses durandal-v1:add PX4IO support durandal-v1 rc.board_sensors: start baro durandal-v1: remove segway module durandal:Run at 480 Mhz durandal-v1: build thermal control module durandal-v1: enable IMU thermal control by default durandal-v1:Track upstream adc start moved to rc.board_sensors durandal-v1:Track upstream mavlink start moved to rc.board_mavlink
durandal bootloader:Run at 480 Mhz durandal-v1:bootloader use VBUS detection Add Durandal bootloader to build
The Addition of PX4_ARCH_DCACHE_LINESIZE is fundamentally wrong. It asserst that an STM32F4 has a cache and it does not. This should be #if defined() on CONFIG_ARMV7M_DCACHE
@LorenzMeier were you able to resolve the source of the problem? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the same branch as in: #13065
However, Github shows there the last heater commit, which is non-existent on the branch. I'm suspecting this to be a Github bug (or I'm missing something important).