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 75a582ab6a3c0aea577ccb67ca5601c7f22eb311..23eb194e349885e34e1af6668a32184aa33e5091 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 2f43ed7b08ce746f7ff249604a11197b8bf6a3bc..c4748a0784427859cdafa43c8c70074059d48737 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 1900489e211e22a4dd5ed74a779109f20c944eae..8f925a66104d1d0db4d2c1ae31b9443065f78cd5 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 fade216de578a43ca0d9dda011a3c01694b740ad..e9590e1bb086ea8614c5509efbc1323a3a5b0893 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 05beb6439d26d07d3811630f586dd61da13c69d5..3b67dc63f725d3026fc6268bab3f2e75a55301af 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 b888a1fc16b42936aa0ffae45fd67d6297489904..8c53cb794ba5186cfb8e9da4b1d641b87e273ae8 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 97772fe4b33947c8f60f0430eed44986d0b8c810..600a0a9235a627d0c7e19ccb570fe1aa5465599c 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 e23e9214b7d31d5bc3b2e69f9223cb4a9ca8d7d6..8fc9c3b8cad4612e2632bebf1153e4c5537e17b6 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 1a51b391a3b17cdf9677673edcb0b4b27067221f..f868c95219cb8c7a8c8d69aec83fe9a15f870103 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 6b93caf1d57491038c9436d220c59277f9d46b92..649324a937438ca375a0f3dcb8217f4c0a203416 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 92eafd2515e15ba90e76917343025d42382b38f3..d099106f6237cf3af43540c214a31e3a6d325b0b 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 e3c3407fdafc690edfa08a86624400bec053fbbc..94a6d69d191de2120a6781c79780618f026dcc40 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 c2cda22459e26c227a69bc0ab786f1e5dee0a401..60dac2fa9e59fdaa85d4fc1d6d1f1dcdad6fcd1d 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 08f35b6974c49a48d0b1e76928af66a938136392..44fff871dac5d3ef0ce58ce8c5d2fbd9cf0f5a4a 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 944576529247477056cfd13d3f828cc3b66b6601..a1cbf68086c26bad15556cd19cad3c9772e914ee 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 78516a7681a4365182e33b03e02ef9825b2fec60..44327a82d719ba50bfeadd59d90341aead7aceef 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 /**