diff --git a/lib/lm4f/rcc.c b/lib/lm4f/rcc.c index ee16de6c..af4ac4f7 100644 --- a/lib/lm4f/rcc.c +++ b/lib/lm4f/rcc.c @@ -28,7 +28,7 @@ Alexandru Gagniuc * \brief libopencm3 LM4F Clock control API * - * The LM$F clock API provides functionaliity for manipulating the system clock, + * The LM$F clock API provides functionality for manipulating the system clock, * oscillator, and PLL. Functions are provided for fine-grained control of clock * control registers, while also providing higher level functionality to easily * configure the main system clock source. @@ -98,7 +98,7 @@ Alexandru Gagniuc * @endcode * * If write access is desired (i.e. when changing the system clock via the - * fine-grained mechanisms), then include the following line in your code: + * fine-grained mechanisms), then include the following line in your code: * @code * extern uint32_t lm4f_rcc_sysclk_freq; * @endcode @@ -419,7 +419,7 @@ static uint32_t xtal_to_freq(enum xtal_t xtal) * \brief Configure the system clock source * * Sets up the system clock, including configuring the oscillator source, and - * PLL to acheve the desired system clock frequency. Where applicable, The LM4F + * PLL to achieve the desired system clock frequency. Where applicable, The LM4F * clock API uses the new RCC2 register to configure clock parameters. * * Enables the main oscillator if the clock source is OSCSRC_MOSC. If the main diff --git a/lib/stm32/common/rcc_common_all.c b/lib/stm32/common/rcc_common_all.c index 91c8b41b..0b1f9370 100644 --- a/lib/stm32/common/rcc_common_all.c +++ b/lib/stm32/common/rcc_common_all.c @@ -271,7 +271,7 @@ void rcc_osc_bypass_disable(enum rcc_osc osc) } /* This is a helper to calculate dividers that go 2/4/8/16/64/128/256/512. - * These dividers also use the top bit as an "enable". This is tyipcally + * These dividers also use the top bit as an "enable". This is typically * used for AHB and other system clock prescaler. */ uint16_t rcc_get_div_from_hpre(uint8_t div_val) { if (div_val < 0x8) { diff --git a/mk/README b/mk/README index 87e37e01..11fc2e7d 100644 --- a/mk/README +++ b/mk/README @@ -67,7 +67,7 @@ Variables to tell gcc about project dependencies and input files ---------------------------------------------------------------- LDSCRIPT Linker script file name (can be generated or fixed) -LIBDEPS Array of library filenames that shoud be rebuilt if needed +LIBDEPS Array of library filenames that should be rebuilt if needed LDLIBS Array of libraries to be linked with (array of -l) OBJS Array of object files to be built