Merge pull request #15723 from aabadie/pr/tools/codespell_fixes
tools/codespell: fix new typos found by recent version + add new ignored words
This commit is contained in:
commit
8acf9398e8
@ -17,7 +17,7 @@ Low Energy and IEEE 802.15.4 support via the nRF52840 MCU.
|
|||||||
### Flash the board
|
### Flash the board
|
||||||
|
|
||||||
See the **Flashing** section in @ref boards_common_nrf52. The easiest way is to
|
See the **Flashing** section in @ref boards_common_nrf52. The easiest way is to
|
||||||
use an external Segger J-Link Progammer connected to the [SWD Connector].
|
use an external Segger J-Link Programmer connected to the [SWD Connector].
|
||||||
|
|
||||||
[SWD Connector]: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/pinouts#swd-connector-3-12
|
[SWD Connector]: https://learn.adafruit.com/introducing-the-adafruit-nrf52840-feather/pinouts#swd-connector-3-12
|
||||||
|
|
||||||
|
|||||||
@ -498,7 +498,7 @@ typedef struct {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @name Timer configuration depenend on which implementation is used
|
* @name Timer configuration depend on which implementation is used
|
||||||
*
|
*
|
||||||
* Timers are MCU built-in feature and not board-specific. They are therefore
|
* Timers are MCU built-in feature and not board-specific. They are therefore
|
||||||
* configured here.
|
* configured here.
|
||||||
|
|||||||
9
dist/tools/codespell/ignored_words.txt
vendored
9
dist/tools/codespell/ignored_words.txt
vendored
@ -106,7 +106,10 @@ dedup
|
|||||||
circularly
|
circularly
|
||||||
|
|
||||||
# Chang (common name) => Change
|
# Chang (common name) => Change
|
||||||
Chang
|
|
||||||
|
|
||||||
# chang (common name) => change
|
|
||||||
chang
|
chang
|
||||||
|
|
||||||
|
# filp (variable name for file pointer) => flip
|
||||||
|
filp
|
||||||
|
|
||||||
|
# Ether (Scapy class name and means Ethernet in some parts of the code) => Either
|
||||||
|
ether
|
||||||
|
|||||||
2
dist/tools/nrf52_resetpin_cfg/main.c
vendored
2
dist/tools/nrf52_resetpin_cfg/main.c
vendored
@ -97,7 +97,7 @@ int main(void)
|
|||||||
puts("\n\nPress any key (meaning send any char) to continue");
|
puts("\n\nPress any key (meaning send any char) to continue");
|
||||||
getchar();
|
getchar();
|
||||||
|
|
||||||
puts("Progamming the pin now...");
|
puts("Programming the pin now...");
|
||||||
if ((NRF_UICR->PSELRESET[0] != RESET_VAL) ||
|
if ((NRF_UICR->PSELRESET[0] != RESET_VAL) ||
|
||||||
(NRF_UICR->PSELRESET[1] != RESET_VAL)) {
|
(NRF_UICR->PSELRESET[1] != RESET_VAL)) {
|
||||||
/* we can only erase all UICR registers at once, so we need to save
|
/* we can only erase all UICR registers at once, so we need to save
|
||||||
|
|||||||
@ -443,7 +443,7 @@ config BOARD_SAMR21_XPRO
|
|||||||
|
|
||||||
## Summary of reserved Kconfig prefixes
|
## Summary of reserved Kconfig prefixes
|
||||||
The following symbol prefixes have been assigned particular semantics and are
|
The following symbol prefixes have been assigned particular semantics and are
|
||||||
reserved for the cases described bellow:
|
reserved for the cases described below:
|
||||||
|
|
||||||
<!-- Keep the table in alphabetical order -->
|
<!-- Keep the table in alphabetical order -->
|
||||||
| Prefix | Description |
|
| Prefix | Description |
|
||||||
|
|||||||
@ -130,7 +130,7 @@ extern "C"
|
|||||||
#define PCA9685_RESOLUTION (1 << 12)
|
#define PCA9685_RESOLUTION (1 << 12)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Internal PCA9685 oscilator frequency is 25 MHz
|
* @brief Internal PCA9685 oscillator frequency is 25 MHz
|
||||||
*/
|
*/
|
||||||
#define PCA9685_OSC_FREQ (25000000)
|
#define PCA9685_OSC_FREQ (25000000)
|
||||||
|
|
||||||
|
|||||||
@ -212,14 +212,14 @@ void pca9685_pwm_poweron(pca9685_t *dev)
|
|||||||
/* clear the SLEEP bit */
|
/* clear the SLEEP bit */
|
||||||
byte &= ~PCA9685_MODE1_SLEEP;
|
byte &= ~PCA9685_MODE1_SLEEP;
|
||||||
EXEC(_write(dev, PCA9685_REG_MODE1, &byte, 1));
|
EXEC(_write(dev, PCA9685_REG_MODE1, &byte, 1));
|
||||||
/* allow 500 us for oscilator to stabilize */
|
/* allow 500 us for oscillator to stabilize */
|
||||||
xtimer_usleep(500);
|
xtimer_usleep(500);
|
||||||
/* clear the RESTART bit to start all PWM channels*/
|
/* clear the RESTART bit to start all PWM channels*/
|
||||||
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_RESTART, 1));
|
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_RESTART, 1));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_SLEEP, 0));
|
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_SLEEP, 0));
|
||||||
/* allow 500 us for oscilator to stabilize */
|
/* allow 500 us for oscillator to stabilize */
|
||||||
xtimer_usleep(500);
|
xtimer_usleep(500);
|
||||||
/* clear the RESTART bit to start all PWM channels*/
|
/* clear the RESTART bit to start all PWM channels*/
|
||||||
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_RESTART, 1));
|
EXEC(_update(dev, PCA9685_REG_MODE1, PCA9685_MODE1_RESTART, 1));
|
||||||
|
|||||||
@ -75,13 +75,13 @@ void sys_sem_free(sys_sem_t *sem)
|
|||||||
|
|
||||||
void sys_sem_signal(sys_sem_t *sem)
|
void sys_sem_signal(sys_sem_t *sem)
|
||||||
{
|
{
|
||||||
LWIP_ASSERT("invalid semaphor", sys_sem_valid(sem));
|
LWIP_ASSERT("invalid semaphore", sys_sem_valid(sem));
|
||||||
sema_post((sema_t *)sem);
|
sema_post((sema_t *)sem);
|
||||||
}
|
}
|
||||||
|
|
||||||
u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t count)
|
u32_t sys_arch_sem_wait(sys_sem_t *sem, u32_t count)
|
||||||
{
|
{
|
||||||
LWIP_ASSERT("invalid semaphor", sys_sem_valid(sem));
|
LWIP_ASSERT("invalid semaphore", sys_sem_valid(sem));
|
||||||
if (count != 0) {
|
if (count != 0) {
|
||||||
uint64_t stop, start;
|
uint64_t stop, start;
|
||||||
start = xtimer_now_usec64();
|
start = xtimer_now_usec64();
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
* @ref drivers_periph_hwrng and @ref sys_puf_sram. The concepts implemented here are heavily
|
* @ref drivers_periph_hwrng and @ref sys_puf_sram. The concepts implemented here are heavily
|
||||||
* influenced by NIST SP 800-90B. Entropy sources can be used to feed more advanced entropy
|
* influenced by NIST SP 800-90B. Entropy sources can be used to feed more advanced entropy
|
||||||
* modules for cryptographic purposes, which typically accumulate multiple sources and safely
|
* modules for cryptographic purposes, which typically accumulate multiple sources and safely
|
||||||
* maintain internal sates. Alternatively, these sources can be used directly or with internal
|
* maintain internal states. Alternatively, these sources can be used directly or with internal
|
||||||
* conditioning enabled for non-cryptographic tasks like seed generation of general purpose PRNGs,
|
* conditioning enabled for non-cryptographic tasks like seed generation of general purpose PRNGs,
|
||||||
* in the absence of a hardware random number generator. The API, however, is not meant to face a user.
|
* in the absence of a hardware random number generator. The API, however, is not meant to face a user.
|
||||||
*
|
*
|
||||||
|
|||||||
@ -175,7 +175,7 @@ int _sht_config_handler(int argc, char **argv)
|
|||||||
int dev_num = 0;
|
int dev_num = 0;
|
||||||
|
|
||||||
if ((argc == 2) && (strcmp("--help", argv[1]) == 0)) {
|
if ((argc == 2) && (strcmp("--help", argv[1]) == 0)) {
|
||||||
printf("Usage: \"%s [PARMS]\n"
|
printf("Usage: \"%s [PARAMS]\n"
|
||||||
"\n"
|
"\n"
|
||||||
"Supported parameters:\n"
|
"Supported parameters:\n"
|
||||||
" -d <NUM>\n"
|
" -d <NUM>\n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user