Skip to content

Commit

Permalink
TEMP: H33: manually add AGTO to P311 description
Browse files Browse the repository at this point in the history
PWM9 is still not working anyway, need to investigate at HW level
  • Loading branch information
facchinm committed Jan 5, 2023
1 parent 60e600f commit 4049560
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion variants/PORTENTA_H33/variant.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@ const uint16_t P313[] = { LAST_ITEM_GUARD };
const uint16_t P314[] = { LAST_ITEM_GUARD };
const uint16_t P209[] = { LAST_ITEM_GUARD };
const uint16_t P208[] = { LAST_ITEM_GUARD };

const uint16_t P311_b[] = {
SCI_CHANNEL|PIN_SCK|CHANNEL_3|SCI_ODD_CFG,
PIN_PWM_AGT|CHANNEL_1|PWM_CHANNEL_B|LAST_ITEM_GUARD
};
#define P311 P311_b

uint16_t getPinCfg(const uint16_t *cfg, PinCfgReq_t req, bool prefer_sci /*= false*/) {
if(cfg == nullptr) {
Expand Down

0 comments on commit 4049560

Please sign in to comment.