Board "fully" functioning#3
Merged
Merged
Conversation
… attenuator support, improve MEMS handling, and update related docs.
…irect `outbound_queue` usage, improve `outbound_queue` capacity handling, and update related documentation.
… handling rules.
…C temperature polling, and command handling. Update related docs and persist heater mode.
… bringup. General tidying.
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.
…and laser output for HISPEC_BOARD_TIB
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.