summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/olly
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-14 08:54:24 +0000
committerGitHub <noreply@github.com>2024-02-14 08:54:24 +0000
commit4a64d47f1268c037688b53cbf5bbecc17c5fec96 (patch)
treea356a34c9244c5b985556f133744dff81ee16973 /keyboards/mechlovin/olly
parent50c5403612018ae940af311078dfb760f9b0c2ce (diff)
Migrate WEAR_LEVELING_* to info.json (#23077)
Diffstat (limited to 'keyboards/mechlovin/olly')
-rw-r--r--keyboards/mechlovin/olly/jf/rev2/config.h3
-rw-r--r--keyboards/mechlovin/olly/jf/rev2/info.json5
2 files changed, 5 insertions, 3 deletions
diff --git a/keyboards/mechlovin/olly/jf/rev2/config.h b/keyboards/mechlovin/olly/jf/rev2/config.h
index e1389b1e9a..9f70d27fba 100644
--- a/keyboards/mechlovin/olly/jf/rev2/config.h
+++ b/keyboards/mechlovin/olly/jf/rev2/config.h
@@ -26,6 +26,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define I2C1_CLOCK_SPEED 400000
#define I2C1_DUTY_CYCLE FAST_DUTY_CYCLE_2
-
-#define WEAR_LEVELING_BACKING_SIZE 4096
-#define WEAR_LEVELING_LOGICAL_SIZE 2048
diff --git a/keyboards/mechlovin/olly/jf/rev2/info.json b/keyboards/mechlovin/olly/jf/rev2/info.json
index da86fbb075..600bf8a3af 100644
--- a/keyboards/mechlovin/olly/jf/rev2/info.json
+++ b/keyboards/mechlovin/olly/jf/rev2/info.json
@@ -1,6 +1,11 @@
{
"keyboard_name": "Olly JF Rev2",
"bootloader": "stm32duino",
+ "eeprom": {
+ "wear_leveling": {
+ "backing_size": 4096
+ }
+ },
"features": {
"command": true,
"console": true,