diff --git a/boards/common/atmega/doc.txt b/boards/common/atmega/doc.txt index 81e9a07db1..516698ecbb 100644 --- a/boards/common/atmega/doc.txt +++ b/boards/common/atmega/doc.txt @@ -13,5 +13,5 @@ To enable only a specific bank, simply add `USEMODULE += atmega_pcintN` to your Makefile. To enable all interrupts you can use `USEMODULE += atmega_pcint`. In case you want to add a new CPU, simply provide an `atmega_pcint.h` with your -CPU and adapt your Makefile.dep and Makefile.featues files. +CPU and adapt your Makefile.dep and Makefile.features files. */ \ No newline at end of file diff --git a/boards/common/atmega/include/periph_conf_atmega_common.h b/boards/common/atmega/include/periph_conf_atmega_common.h index a9928a9acc..1664f620e9 100644 --- a/boards/common/atmega/include/periph_conf_atmega_common.h +++ b/boards/common/atmega/include/periph_conf_atmega_common.h @@ -91,7 +91,7 @@ extern "C" { * ATmega2560 * ========== * The timer driver only supports the four 16-bit timers (Timer1, Timer3, - * Timer4, Timer5), so those are the only onces we can use here. + * Timer4, Timer5), so those are the only ones we can use here. * * * ATmega32U4 diff --git a/boards/common/esp32/include/board_common.h b/boards/common/esp32/include/board_common.h index fde0d30b25..3b5143eb59 100644 --- a/boards/common/esp32/include/board_common.h +++ b/boards/common/esp32/include/board_common.h @@ -108,7 +108,7 @@ /** * @brief MTD drive start address in SPI flash memory * - * Defines the start adress of the MTD system device in the SPI + * Defines the start address of the MTD system device in the SPI * flash memory. It can be overridden by \ref esp32_app_spec_conf * "application-specific board configuration" * diff --git a/boards/common/msb-430/board_init.c b/boards/common/msb-430/board_init.c index 8d2dc04b71..00d155592e 100644 --- a/boards/common/msb-430/board_init.c +++ b/boards/common/msb-430/board_init.c @@ -135,7 +135,7 @@ void msp430_init_dco(void) unsigned int oldcapture = 0; unsigned int i; - BCSCTL1 = 0xa4; /* ACLK is devided by 4. RSEL=6 no division for MCLK + BCSCTL1 = 0xa4; /* ACLK is divided by 4. RSEL=6 no division for MCLK and SSMCLK. XT2 is off. */ /* Init FLL to desired frequency using the 32762Hz crystal */ @@ -151,15 +151,15 @@ void msp430_init_dco(void) for (i = 0xffff; i > 0; i--); /* Delay for XTAL to settle */ CCTL2 = CCIS0 + CM0 + CAP; /* Define CCR2, CAP, ACLK */ - TACTL = TASSEL1 + TACLR + MC1; /* SMCLK, continous mode */ + TACTL = TASSEL1 + TACLR + MC1; /* SMCLK, continuous mode */ while (1) { unsigned int compare; - while ((CCTL2 & CCIFG) != CCIFG); /* Wait until capture occured! */ + while ((CCTL2 & CCIFG) != CCIFG); /* Wait until capture occurred! */ - CCTL2 &= ~CCIFG; /* Capture occured, clear flag */ + CCTL2 &= ~CCIFG; /* Capture occurred, clear flag */ compare = CCR2; /* Get current captured SMCLK */ compare = compare - oldcapture; /* SMCLK difference */ oldcapture = CCR2; /* Save current captured SMCLK */ diff --git a/boards/common/msba2/tools/src/download.c b/boards/common/msba2/tools/src/download.c index 3fa338d4e9..6371bc633d 100644 --- a/boards/common/msba2/tools/src/download.c +++ b/boards/common/msba2/tools/src/download.c @@ -369,7 +369,7 @@ static void download_main(int event) } if (strcmp(parsed_response_buf, "OK\r\n") == 0) { - printf("Baud sync sucessful\r\n"); + printf("Baud sync successful\r\n"); state = CHIP_ID; event = BEGIN; break; @@ -851,7 +851,7 @@ static void download_main(int event) // would be nice if we could simply jump to the user's code, but // Philips didn't think of that. The interrupt vector table stays // mapped to the bootloader, so jumping to zero only runs the - // bootloader again. Intead, we need to download a tiny ARM + // bootloader again. Instead, we need to download a tiny ARM // program that reconfigures the hardware and then jumps to zero. //snprintf(buf, sizeof(buf), "G %d A\r\n", 0); snprintf(buf, sizeof(buf), "W %u %u\r\n", chip->ram_addr, chip->bootprog[0] * 4); diff --git a/boards/common/msba2/tools/src/ihex.c b/boards/common/msba2/tools/src/ihex.c index 8d4965b9d5..e5610e4ed3 100644 --- a/boards/common/msba2/tools/src/ihex.c +++ b/boards/common/msba2/tools/src/ihex.c @@ -113,7 +113,7 @@ int read_intel_hex(const char *filename) /* parses a line of intel hex code, stores the data in bytes[] */ /* and the beginning address in addr, and returns a 1 if the */ -/* line was valid, or a 0 if an error occured. The variable */ +/* line was valid, or a 0 if an error occurred. The variable */ /* num gets the number of bytes that were stored into bytes[] */ diff --git a/boards/common/msba2/tools/src/serial.c b/boards/common/msba2/tools/src/serial.c index 73ec7374d7..12536f1eff 100644 --- a/boards/common/msba2/tools/src/serial.c +++ b/boards/common/msba2/tools/src/serial.c @@ -131,7 +131,7 @@ static void report_open_error(const char *filename, int err) printf("You don't have permission to access %s\r\n", filename); } - //printf("Attemping to find more information about %s....\r\n", filename); + //printf("Attempting to find more information about %s....\r\n", filename); r = stat(filename, &info); if (r < 0) {