Skip to content

Commit 6b5d75e

Browse files
committed
Santiago: override P400 configuration
The fixed pinmux selector will choose the last valid entry it finds; before comping out with a different solution, fixinf WiFi functionality by removing that entry
1 parent 834f861 commit 6b5d75e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

variants/SANTIAGO/variant.cpp

+8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
#include "Arduino.h"
22
#include "pinmux.inc"
33

4+
const uint16_t P400_b[] = {
5+
PIN_PWM|CHANNEL_6|PWM_CHANNEL_A|GPT_ODD_CFG,
6+
PIN_SCL|CHANNEL_0,
7+
PIN_INTERRUPT|CHANNEL_0,
8+
SCI_CHANNEL|PIN_SCK|CHANNEL_0|SCI_EVEN_CFG|LAST_ITEM_GUARD
9+
};
10+
#define P400 P400_b
11+
412
uint16_t getPinCfg(const uint16_t *cfg, PinCfgReq_t req, bool prefer_sci /*= false*/) {
513
if(cfg == nullptr) {
614
return 0;

0 commit comments

Comments
 (0)