From 3b1ffd2ede296e17668f8763c7083aa4c9a3ce7d Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Wed, 20 Jan 2021 01:50:51 +1100 Subject: [PATCH] ChibiOS enable memory allocations (#11620) --- keyboards/akegata_denki/device_one/chconf.h | 2 +- keyboards/ergodox_stm32/chconf.h | 2 +- keyboards/handwired/onekey/blackpill_f401/chconf.h | 2 +- keyboards/handwired/onekey/blackpill_f411/chconf.h | 2 +- keyboards/handwired/onekey/teensy_32/chconf.h | 2 +- keyboards/handwired/onekey/teensy_lc/chconf.h | 2 +- keyboards/handwired/pill60/blackpill_f401/chconf.h | 2 +- keyboards/handwired/pill60/blackpill_f411/chconf.h | 2 +- keyboards/handwired/riblee_f401/chconf.h | 2 +- keyboards/handwired/riblee_f411/chconf.h | 2 +- keyboards/handwired/twadlee/tp69/chconf.h | 2 +- keyboards/jm60/chconf.h | 2 +- keyboards/matrix/m20add/chconf.h | 2 +- keyboards/matrix/noah/chconf.h | 2 +- platforms/chibios/QMK_PROTON_C/configs/chconf.h | 2 +- platforms/chibios/common/configs/chconf.h | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/keyboards/akegata_denki/device_one/chconf.h b/keyboards/akegata_denki/device_one/chconf.h index 75a582ab6..23eb194e3 100644 --- a/keyboards/akegata_denki/device_one/chconf.h +++ b/keyboards/akegata_denki/device_one/chconf.h @@ -45,7 +45,7 @@ #define CH_CFG_USE_DYNAMIC TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/ergodox_stm32/chconf.h b/keyboards/ergodox_stm32/chconf.h index 2f43ed7b0..c4748a078 100644 --- a/keyboards/ergodox_stm32/chconf.h +++ b/keyboards/ergodox_stm32/chconf.h @@ -47,7 +47,7 @@ #define CH_CFG_USE_DYNAMIC TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/onekey/blackpill_f401/chconf.h b/keyboards/handwired/onekey/blackpill_f401/chconf.h index 1900489e2..8f925a661 100644 --- a/keyboards/handwired/onekey/blackpill_f401/chconf.h +++ b/keyboards/handwired/onekey/blackpill_f401/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/onekey/blackpill_f411/chconf.h b/keyboards/handwired/onekey/blackpill_f411/chconf.h index fade216de..e9590e1bb 100644 --- a/keyboards/handwired/onekey/blackpill_f411/chconf.h +++ b/keyboards/handwired/onekey/blackpill_f411/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/onekey/teensy_32/chconf.h b/keyboards/handwired/onekey/teensy_32/chconf.h index 05beb6439..3b67dc63f 100644 --- a/keyboards/handwired/onekey/teensy_32/chconf.h +++ b/keyboards/handwired/onekey/teensy_32/chconf.h @@ -31,7 +31,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/onekey/teensy_lc/chconf.h b/keyboards/handwired/onekey/teensy_lc/chconf.h index b888a1fc1..8c53cb794 100644 --- a/keyboards/handwired/onekey/teensy_lc/chconf.h +++ b/keyboards/handwired/onekey/teensy_lc/chconf.h @@ -31,7 +31,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/pill60/blackpill_f401/chconf.h b/keyboards/handwired/pill60/blackpill_f401/chconf.h index 97772fe4b..600a0a923 100644 --- a/keyboards/handwired/pill60/blackpill_f401/chconf.h +++ b/keyboards/handwired/pill60/blackpill_f401/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/pill60/blackpill_f411/chconf.h b/keyboards/handwired/pill60/blackpill_f411/chconf.h index e23e9214b..8fc9c3b8c 100644 --- a/keyboards/handwired/pill60/blackpill_f411/chconf.h +++ b/keyboards/handwired/pill60/blackpill_f411/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/riblee_f401/chconf.h b/keyboards/handwired/riblee_f401/chconf.h index 1a51b391a..f868c9521 100644 --- a/keyboards/handwired/riblee_f401/chconf.h +++ b/keyboards/handwired/riblee_f401/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/riblee_f411/chconf.h b/keyboards/handwired/riblee_f411/chconf.h index 6b93caf1d..649324a93 100644 --- a/keyboards/handwired/riblee_f411/chconf.h +++ b/keyboards/handwired/riblee_f411/chconf.h @@ -25,7 +25,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/handwired/twadlee/tp69/chconf.h b/keyboards/handwired/twadlee/tp69/chconf.h index 92eafd251..d099106f6 100644 --- a/keyboards/handwired/twadlee/tp69/chconf.h +++ b/keyboards/handwired/twadlee/tp69/chconf.h @@ -31,7 +31,7 @@ #define CH_CFG_USE_MEMCORE TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/jm60/chconf.h b/keyboards/jm60/chconf.h index e3c3407fd..94a6d69d1 100644 --- a/keyboards/jm60/chconf.h +++ b/keyboards/jm60/chconf.h @@ -47,7 +47,7 @@ #define CH_CFG_USE_DYNAMIC TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/matrix/m20add/chconf.h b/keyboards/matrix/m20add/chconf.h index c2cda2245..60dac2fa9 100644 --- a/keyboards/matrix/m20add/chconf.h +++ b/keyboards/matrix/m20add/chconf.h @@ -47,7 +47,7 @@ #define CH_CFG_USE_DYNAMIC TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/keyboards/matrix/noah/chconf.h b/keyboards/matrix/noah/chconf.h index 08f35b697..44fff871d 100644 --- a/keyboards/matrix/noah/chconf.h +++ b/keyboards/matrix/noah/chconf.h @@ -47,7 +47,7 @@ #define CH_CFG_USE_DYNAMIC TRUE -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #define CH_CFG_FACTORY_OBJECTS_REGISTRY TRUE diff --git a/platforms/chibios/QMK_PROTON_C/configs/chconf.h b/platforms/chibios/QMK_PROTON_C/configs/chconf.h index 944576529..a1cbf6808 100644 --- a/platforms/chibios/QMK_PROTON_C/configs/chconf.h +++ b/platforms/chibios/QMK_PROTON_C/configs/chconf.h @@ -453,7 +453,7 @@ * @note The default is @p FALSE. */ #if !defined(CH_CFG_USE_FACTORY) -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE #endif /** diff --git a/platforms/chibios/common/configs/chconf.h b/platforms/chibios/common/configs/chconf.h index 78516a768..44327a82d 100644 --- a/platforms/chibios/common/configs/chconf.h +++ b/platforms/chibios/common/configs/chconf.h @@ -338,7 +338,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MEMCORE) -#define CH_CFG_USE_MEMCORE FALSE +#define CH_CFG_USE_MEMCORE TRUE #endif /**