Skip to content

Board "fully" functioning#3

Merged
baileyji merged 147 commits into
mainfrom
board-bringup
May 30, 2026
Merged

Board "fully" functioning#3
baileyji merged 147 commits into
mainfrom
board-bringup

Conversation

@baileyji
Copy link
Copy Markdown
Contributor

No description provided.

baileyji added 30 commits May 12, 2026 13:11
… attenuator support, improve MEMS handling, and update related docs.
…irect `outbound_queue` usage, improve `outbound_queue` capacity handling, and update related documentation.
…C temperature polling, and command handling. Update related docs and persist heater mode.
baileyji added 28 commits May 26, 2026 17:42
Revised DAC channel mappings for attenuators and clarified hardware documentation. Introduced consistent naming for attenuator voltage outputs (`v1_mv` and `v2_mv`) across docs and code. Simplified `attenuator_dac_pair_for_index` logic using a new static mapping.
Revised max attenuator drive span to 5000 mV across code and documentation. Updated `ATTENUATOR_DAC_MAX_MV` references to `ATTENUATOR_DRIVE_MAX_MV` for clarity. Refactored DAC channel mapping logic to simplify device assignment and improve consistency.
Revised executor-owned buffers to avoid stack usage for large payloads, introduced scalar JSON array handling for efficient rendering, and standardized space-indentation for serial response formatting.
Standardized `uptime` field to `uptime_s` for clarity in units. Adjusted code to convert milliseconds to seconds across JSON payloads and documentation.
Streamlined MEMS response handling by conditionally omitting timing fields for static states and refactored callbacks for duty cycle and timing data. Updated GPIO configuration to adopt board-defined active-low logic via `gpio_dt_spec`, improving clarity and consistency in hardware abstraction.
Introduced support for detecting `NET_EVENT_IPV4_DHCP_BOUND` events and ensuring preferred DHCP address assignment via `iface_has_preferred_dhcp_addr`. Updated IPv4 management callbacks and added a `dhcp_bound_seen` flag to improve DHCPv4 reliability during network initialization and reconnection workflows.
…mware state tracking

Modified the laser bank power control logic by replacing GPIO read-as-source with a firmware state model (`bank_power_requested_enabled`). Improved handling of bank power transitions, added forced writes to ensure state consistency, and enhanced logging. Updated Nucleo overlay configuration to use open-drain GPIO for laser power. Adjusted associated hardware documentation and command response error handling.
Replaced tick-based pulse tracking with uptime-based deadlines to improve accuracy and timing consistency. Updated related data fields, replaced ticks with time-reached checks, and adjusted cleanup logic accordingly. Improved comments and documentation for switch timing behavior and duty cycle response.
@baileyji baileyji self-assigned this May 30, 2026
@baileyji baileyji merged commit 9f08e0f into main May 30, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant