Skip to content

Commit

Permalink
Disable CORTEX_ENABLE_WFI_IDLE for kinesis/kint41.
Browse files Browse the repository at this point in the history
Fix for #24865.
CORTEX_ENABLE_WFI_IDLE was globally enabled for all keyboards in 416af01. This breaks the Teensy 4.0. This change explicitly disables WFI idle for kinesis/kint41.
  • Loading branch information
JiddoDev committed Jan 25, 2025
1 parent 6a9ccae commit 1f6ad4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions keyboards/kinesis/kint41/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@

#pragma once

/* Low-power sleep mode for the ChibiOS idle thread does not work on the
* Teensy 4.0. */
#define CORTEX_ENABLE_WFI_IDLE FALSE

/* We use the i.MX RT1060 high-speed GPIOs (GPIO6-9) which are connected to the
* AHB bus (AHB_CLK_ROOT), which runs at the same speed as the ARM Core Clock,
* i.e. 600 MHz. See MIMXRT1062, page 949, 12.1 Chip-specific GPIO information.
Expand Down

0 comments on commit 1f6ad4c

Please sign in to comment.