Skip to content

Enhance Station G2 configuration to support environment sensors and G…#825

Closed
zjs81 wants to merge 2 commits into
meshcore-dev:devfrom
zjs81:dev
Closed

Enhance Station G2 configuration to support environment sensors and G…#825
zjs81 wants to merge 2 commits into
meshcore-dev:devfrom
zjs81:dev

Conversation

@zjs81

@zjs81 zjs81 commented Sep 24, 2025

Copy link
Copy Markdown
Contributor

…PS. Updated platformio.ini to include sensor_base dependencies and modified target files to initialize EnvironmentSensorManager with GPS support conditionally.

…PS. Updated platformio.ini to include sensor_base dependencies and modified target files to initialize EnvironmentSensorManager with GPS support conditionally.
@recrof

recrof commented Sep 24, 2025

Copy link
Copy Markdown
Member

looks good

rtc_clock.begin(Wire);

// Initialize sensors
sensors.begin();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sensors.begin() is called by the various firmwares already, ie. should Not be in target.cpp

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks I'll make that change this weekend.

@liquidraver

liquidraver commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

If I attach a GPS to the "GROVE GPS" port, my setup works with this:
-D PIN_GPS_RX 15
-D PIN_GPS_TX 7

@recrof

recrof commented Oct 26, 2025

Copy link
Copy Markdown
Member

this is already implemented in #922

@recrof recrof closed this Oct 26, 2025
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.

4 participants