From ab5815a2ca0a460398878f77a7e39bc1a6dfe0bf Mon Sep 17 00:00:00 2001 From: Damiano Ferrari Date: Tue, 23 Jan 2024 18:20:36 +0100 Subject: [PATCH] docs: add info on how to set different CAN interrupt pins Signed-off-by: Damiano Ferrari --- docs/extra-build-config.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/extra-build-config.md b/docs/extra-build-config.md index 6c546794b..e934be0c5 100644 --- a/docs/extra-build-config.md +++ b/docs/extra-build-config.md @@ -314,6 +314,13 @@ Some modules may require setting the frequency of the crystal oscillator used on CAN_OSCILLATOR="8000000" +Configure the interrupt pin to the one connected to the CAN module. By default, +the pins are set to 25 for can0 and 24 for can1. To change them to 12 and 16, +the following variables also have to be set: + + CAN0_INTERRUPT_PIN = "12" + CAN1_INTERRUPT_PIN = "16" + Tested modules: * PiCAN2 (16 MHz crystal):