Skip to content

Commit

Permalink
debugConfProvider: add number of watchpoints for esp32p4 (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
ftab authored Aug 15, 2024
1 parent 81dea08 commit 77e72e7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/cdtDebugAdapter/debugConfProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ export class CDTDebugConfigurationProvider
| "esp32c2"
| "esp32c3"
| "esp32c6"
| "esp32h2";
| "esp32h2"
| "esp32p4";
// Mapping of idfTarget to corresponding CPU watchpoint numbers
const idfTargetWatchpointMap: Record<IdfTarget, number> = {
esp32: 2,
Expand All @@ -93,6 +94,7 @@ export class CDTDebugConfigurationProvider
esp32c3: 8,
esp32c6: 4,
esp32h2: 4,
esp32p4: 3,
};
config.initCommands = config.initCommands.map((cmd: string) =>
cmd.replace(
Expand Down

0 comments on commit 77e72e7

Please sign in to comment.