I03 motor HAL shared across boards #14

Merged
gronod merged 2 commits from feature/integration-I03 into develop 2026-09-16 22:13:27 +01:00
Owner

Phase I03 of the integration megaplan.

  • hal_motor generalized: shared RMT source reads EN/STEP/DIR and EN disable level from board.h accessors; compiled for both esp32 (board_wroom) and esp32s3 (board_jc4827w543), stub for other targets.
  • Preserved: EN HIGH (disable level) at init and on all stop paths, stop_req sampled inside the step loop, immortal motor task, ISR-safe hal_motor_request_stop.
  • S3 pins: EN=7, STEP=16, DIR=15 (P3 header), disable level 1.

Verified: host ctests pass; CI firmware builds green for both targets.

Phase I03 of the integration megaplan. - `hal_motor` generalized: shared RMT source reads EN/STEP/DIR and EN disable level from `board.h` accessors; compiled for both `esp32` (board_wroom) and `esp32s3` (board_jc4827w543), stub for other targets. - Preserved: EN HIGH (disable level) at init and on all stop paths, `stop_req` sampled inside the step loop, immortal motor task, ISR-safe `hal_motor_request_stop`. - S3 pins: EN=7, STEP=16, DIR=15 (P3 header), disable level 1. Verified: host ctests pass; CI firmware builds green for both targets.
gronod added 2 commits 2026-09-16 22:10:59 +01:00
Share RMT motor HAL across both boards
ci / test (push) Successful in 1m18s
ci / firmware (wroom, sdkconfig.wroom, esp32) (push) Successful in 4m30s
ci / firmware (jc4827w543, sdkconfig.s3, esp32s3) (push) Successful in 4m39s
a9f76ea058
Mark I03 status DONE
ci / test (pull_request) Successful in 1m14s
ci / test (push) Successful in 1m17s
ci / firmware (wroom, sdkconfig.wroom, esp32) (pull_request) Successful in 3m48s
ci / firmware (jc4827w543, sdkconfig.s3, esp32s3) (pull_request) Successful in 3m57s
ci / firmware (wroom, sdkconfig.wroom, esp32) (push) Successful in 4m4s
ci / firmware (jc4827w543, sdkconfig.s3, esp32s3) (push) Successful in 4m8s
b6c385e09c
gronod merged commit b6c385e09c into develop 2026-09-16 22:13:27 +01:00
gronod deleted branch feature/integration-I03 2026-09-16 22:13:27 +01:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/AutoFilm-ESP32#14