mirror of
https://github.com/apache/nuttx.git
synced 2026-10-12 00:30:23 +00:00
Replace the divergent board conventions for the timer input clock frequency with a single uniform convention provided by every board: - STM32_APBx_TIMn_CLKIN and BOARD_TIMn_FREQUENCY -> STM32_TIMn_CLKIN - STM32_APBx_LPTIMn_CLKIN, BOARD_LPTIMn_FREQUENCY and STM32_LPTIMn_FREQUENCY -> STM32_LPTIMn_CLKIN - STM32_APB1_THRTIM1_CLKIN and BOARD_HRTIM1_FREQUENCY -> STM32_HRTIM1_CLKIN All STM32 consumers (tim/lptim/pwm/adc/dac/capture/sdadc/dfsdm/ pulsecount) updated to match; the timer input clock is now bus-agnostic in the drivers. Boards that carried the same timer clock in more than one convention now define STM32_TIMn_CLKIN exactly once, derived from the APB bus clock (PCLKx with the x2 doubler when the APB prescaler is greater than 1), instead of redefining it with a second, sometimes different, value. BREAKING CHANGE: The timer input-clock board macros STM32_APBx_TIMn_CLKIN, BOARD_TIMn_FREQUENCY, STM32_APBx_LPTIMn_CLKIN, BOARD_LPTIMn_FREQUENCY, STM32_LPTIMn_FREQUENCY, STM32_APB1_THRTIM1_CLKIN and BOARD_HRTIM1_FREQUENCY are removed in favor of STM32_TIMn_CLKIN, STM32_LPTIMn_CLKIN and STM32_HRTIM1_CLKIN. Out-of-tree boards must define the new macros (drop the APB bus from the name, keep the value), and out-of-tree drivers referencing the old names must be updated. Signed-off-by: raiden00pl <raiden00@railab.me> |
||
|---|---|---|
| .. | ||
| image | ||
| porting-case-studies | ||
| armv7m_runtimestackcheck.rst | ||
| automounter.rst | ||
| building_nuttx_with_app_out_of_src_tree.rst | ||
| building_uclibcpp.rst | ||
| changing_systemclockconfig.rst | ||
| cpp_cmake.rst | ||
| custom_app_directories.rst | ||
| customapps.rst | ||
| customboards.rst | ||
| devicetree.rst | ||
| drivers.rst | ||
| etcromfs.rst | ||
| fortify.rst | ||
| fully_linked_elf.rst | ||
| include_files_board_h.rst | ||
| index.rst | ||
| integrate_newlib.rst | ||
| ipv6.rst | ||
| kernel_threads_with_custom_stacks.rst | ||
| logging_rambuffer.rst | ||
| lwl.rst | ||
| multiple_nsh_sessions.rst | ||
| nestedinterrupts.rst | ||
| nfs.rst | ||
| nix_flake.rst | ||
| nsh_network_link_management.rst | ||
| ofloader.rst | ||
| optee.rst | ||
| partially_linked_elf.rst | ||
| platform_directories.rst | ||
| port.rst | ||
| port_bootsequence.rst | ||
| port_drivers_to_stm32f7.rst | ||
| port_relatedkernelconfigrations.rst | ||
| protected_build.rst | ||
| pysimcoder.rst | ||
| qemu_tips.rst | ||
| ram_rom_disks.rst | ||
| reading_can_msgs.rst | ||
| remove_device_drivers_nsh.rst | ||
| renode.rst | ||
| rndis.rst | ||
| rust.rst | ||
| semihosting.rst | ||
| signal_events_interrupt_handlers.rst | ||
| signaling_sem_priority_inheritance.rst | ||
| simulator.rst | ||
| smaller_vector_tables.rst | ||
| specialstuff_in_nuttxheaderfiles.rst | ||
| stm32_ports.rst | ||
| stm32ccm.rst | ||
| stm32nullpointer.rst | ||
| testingtcpip.rst | ||
| thread_local_storage.rst | ||
| updating_release_system_elf.rst | ||
| usbtrace.rst | ||
| usingkernelthreads.rst | ||
| versioning_and_task_names.rst | ||
| zerolatencyinterrupts.rst | ||