Remove ChibiOS patch and update README

anne_pro
Michiel Visser 2020-07-01 13:25:58 +02:00
parent 6ed4853046
commit f2cb62339b
3 changed files with 1 additions and 23 deletions

View File

@ -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):

View File

@ -1,3 +0,0 @@
SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
cd $SCRIPTPATH/../../lib/chibios
git apply $SCRIPTPATH/chibios_stm32l151.patch

View File

@ -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.