Skip to content

Commit

Permalink
try getting oled back on with some custom chconf config
Browse files Browse the repository at this point in the history
  • Loading branch information
patcoll committed Jul 29, 2024
1 parent 42ff267 commit 0d8081f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
27 changes: 27 additions & 0 deletions firmware/nachie/syndrome/chconf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* `qmk chibios-confmigrate -i firmware/nachie/syndrome/chconf.h -r ../keymaps_qmk/platforms/chibios/boards/GENERIC_PROMICRO_RP2040/configs/chconf.h`
*/


#pragma once

#include_next <chconf.h>

#undef CH_CFG_SMP_MODE
#define CH_CFG_SMP_MODE TRUE

#undef CH_CFG_ST_RESOLUTION
#define CH_CFG_ST_RESOLUTION 32

#undef CH_CFG_ST_FREQUENCY
#define CH_CFG_ST_FREQUENCY 1000000

#undef CH_CFG_INTERVALS_SIZE
#define CH_CFG_INTERVALS_SIZE 32

#undef CH_CFG_TIME_TYPES_SIZE
#define CH_CFG_TIME_TYPES_SIZE 32

#undef CH_CFG_ST_TIMEDELTA
#define CH_CFG_ST_TIMEDELTA 100

2 changes: 1 addition & 1 deletion firmware/nachie/syndrome/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Bootloader selection
# BOOTLOADER = rp2040

BOARD = GENERIC_RP_RP2040
# BOARD = GENERIC_RP_RP2040

#RP2040 Options
ALLOW_WARNINGS = yes
Expand Down
2 changes: 1 addition & 1 deletion keyboards/nachie/syndrome/keymaps/patcoll/config.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
// #define OLED_FONT_H "detourfont.c"
#define OLED_FONT_H "detourfont.c"
3 changes: 2 additions & 1 deletion keyboards/nachie/syndrome/keymaps/patcoll/rules.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
CAPS_WORD_ENABLE = no
OS_DETECTION_ENABLE = no

OLED_ENABLE = no
# OLED_ENABLE = no

# WPM_ENABLE = no
#
# HAPTIC_ENABLE = no
Expand Down

0 comments on commit 0d8081f

Please sign in to comment.