Skip to content

Commit 67e5f05

Browse files
authored
Merge pull request #18 from soburi/codex/review-last-3-commits-for-documentation-issues
Codex-generated pull request
2 parents 74d6469 + 83e528a commit 67e5f05

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

documentation/configuration-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,9 @@ To correctly configure PWM and ADC, two independent items must be addressed:
203203
204204
This is similar to configuring GPIO:
205205
206-
1) **Derive from nexus connector maps**
206+
1) **Derive from connector maps**
207207
208-
Provide connector mappings via the board’s nexus definitions (e.g., `pwm-map` and `io-channel-map`)
208+
Provide connector mappings via the board’s connector definitions (e.g., `pwm-map` and `io-channel-map`)
209209
210210
```dts
211211
/ {
@@ -231,7 +231,7 @@ This is similar to configuring GPIO:
231231
232232
2) **Explicit lists under `/zephyr,user`**
233233
234-
Set GPIO Pin lists in `/zephyr,user/pwm-pin-gpios` and `/zephyr,user/adc-pin-gpios`,
234+
Set GPIO pin lists in `/zephyr,user/pwm-pin-gpios` and `/zephyr,user/adc-pin-gpios`.
235235
236236
```dts
237237
/ {
@@ -253,7 +253,7 @@ This is similar to configuring GPIO:
253253
ArduinoCore-Zephyr needs a list of available PWM/ADC channels.
254254
You can provide it in either of the following ways (**lowest precedence rule first**):
255255
256-
1) **Derive from nexus connector maps**
256+
1) **Derive from connector maps**
257257
258258
If the board defines `arduino_pwm` with `pwm-map` and/or `arduino_adc` with `io-channel-map`,
259259
ArduinoCore-Zephyr can derive the channel lists from those maps.
@@ -262,7 +262,7 @@ You can provide it in either of the following ways (**lowest precedence rule fir
262262
263263
2) **Explicit lists under `/zephyr,user`**
264264
265-
Sets the PWM/ADC channels corresponding to the pins specified by `pwm-pin-gpios` and `adc-pin-gpios`.
265+
Set the PWM/ADC channels corresponding to the pins specified by `pwm-pin-gpios` and `adc-pin-gpios`.
266266
- PWM channels: `/zephyr,user/pwms`
267267
- ADC channels: `/zephyr,user/io-channels`
268268

documentation/configuration-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ A. Devicetree node: `/zephyr,user`
132132
```
133133
134134
135-
### Port provisioning
135+
### Channel provisioning
136136
137137
#### `io-channels`
138138
- **Location:** `/zephyr,user`
@@ -215,7 +215,8 @@ B. Board devicetree constructs (board-provided defaults)
215215
- **Precedence:**
216216
- Lower than `/zephyr,user/adc-pin-gpios` (association)
217217
- Lower than `/zephyr,user/io-channels` (provisioning)
218-
- **Notes:** `io-channel-map`: left = connector pin id, right = target ADC controller/channel; ADC still needs per-channel config under the ADC device node.
218+
- **Notes:**
219+
- `io-channel-map`: left = connector pin id, right = target ADC controller/channel.
219220
- ADC still requires per-channel configuration under the ADC device node,
220221
regardless of how the channel list is obtained.
221222
- **Example:**
@@ -376,4 +377,3 @@ B. Board devicetree constructs (board-provided defaults)
376377
### PWM pin association source
377378
- **Primary:** `/zephyr,user/pwm-pin-gpios`
378379
- **Fallback:** connector `pwm-map` under `arduino_pwm`
379-

0 commit comments

Comments
 (0)