diff --git a/keyboards/anne_pro/README.md b/keyboards/anne_pro/README.md index db93120f7e..a863dd2110 100644 --- a/keyboards/anne_pro/README.md +++ b/keyboards/anne_pro/README.md @@ -10,14 +10,10 @@ Keyboard Maintainer: [Michiel Visser](https://github.com/msvisser) Hardware Supported: Anne Pro (this means no support for the _Anne Pro 2_) Hardware Availability: Discontinued, [possible vendors](https://www.reddit.com/r/AnnePro/wiki/vendors) -Make sure you check out the correct branch for this keyboard! +Make sure you check out the correct branch for this keyboard and initialize the submodules! git checkout anne_pro - -Before building the firmware for this keyboard submodules have to be loaded and a patch has to be applied: - make git-submodule - ./keyboards/anne_pro/apply_patch.sh Make example for this keyboard (after setting up your build environment): diff --git a/keyboards/anne_pro/apply_patch.sh b/keyboards/anne_pro/apply_patch.sh deleted file mode 100755 index 6ef0edbaf6..0000000000 --- a/keyboards/anne_pro/apply_patch.sh +++ /dev/null @@ -1,3 +0,0 @@ -SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" -cd $SCRIPTPATH/../../lib/chibios -git apply $SCRIPTPATH/chibios_stm32l151.patch diff --git a/keyboards/anne_pro/chibios_stm32l151.patch b/keyboards/anne_pro/chibios_stm32l151.patch deleted file mode 100644 index 295b77e845..0000000000 --- a/keyboards/anne_pro/chibios_stm32l151.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/os/hal/ports/STM32/STM32L1xx/platform.mk b/os/hal/ports/STM32/STM32L1xx/platform.mk -index e2c2344af..dcf6f83bc 100644 ---- a/os/hal/ports/STM32/STM32L1xx/platform.mk -+++ b/os/hal/ports/STM32/STM32L1xx/platform.mk -@@ -17,8 +17,8 @@ ifneq ($(findstring HAL_USE_ADC TRUE,$(HALCONF)),) - PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c - endif - else -- $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c --PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c -+PLATFORMSRC += $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_adc_lld.c \ -+ $(CHIBIOS)/os/hal/ports/STM32/STM32L1xx/hal_ext_lld_isr.c - endif - - # Drivers compatible with the platform.