firmware icon indicating copy to clipboard operation
firmware copied to clipboard

Support M5 core2、corebasic2.7+Module-LoRa433_V1.1+GNSS Module

Open weekroom opened this issue 1 year ago • 17 comments

I am developing with M5 Core Basic V2.7 as the host, along with the LoRa Module (Module-LORA433_V1.1) and the GPS Module (GNSS Module), in a stacked design for ease of use. Interface Added the interface display of LORA-related data。

64b08c38b1eb15085121958d6381a2b 228e27124e6fca9d7cfdb95f4301fbd e392066250fde51be4e8cc637a67c5a

weekroom avatar Aug 16 '24 01:08 weekroom

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Aug 16 '24 01:08 CLAassistant

The M9N is not specifically supported, but should work. There are some fiddly bits in the VALSET/VALGET config that could use some work. It's on the list... The M9N is an expensive solution that could be better addressed with an M10 or F10 device. But I guess that was not your choice, but M5Stacks.

GPSFan avatar Aug 16 '24 02:08 GPSFan

@GPSFan Indeed, at present, I am making adaptation for the convenience of users, and I am also trying to use the gps atgm336h series to replace it

weekroom avatar Aug 16 '24 02:08 weekroom

I cant wait to try this out, right now its been useless and it reboots with that really loud tone and my family has told me to stop using it till it stops beeping on reboot. :)

On Fri, Aug 16, 2024 at 2:39 AM petrel @.***> wrote:

I am developing with M5 Core Basic V2.7 as the host, along with the LoRa Module (Module-LORA433_V1.1) and the GPS Module (GNSS Module), in a stacked design for ease of use. Interface Added the interface display of LORA-related data。

64b08c38b1eb15085121958d6381a2b.jpg (view on web) https://github.com/user-attachments/assets/855335ec-5791-4522-a72f-ad64c9b0e8e0 228e27124e6fca9d7cfdb95f4301fbd.jpg (view on web) https://github.com/user-attachments/assets/9b2a9d51-ed92-4585-be45-94c6c2a18ecf e392066250fde51be4e8cc637a67c5a.jpg (view on web) https://github.com/user-attachments/assets/ffede1ae-2c1d-4969-9bc3-739bdfa31d71

You can view, comment on, or merge this pull request online at:

https://github.com/meshtastic/firmware/pull/4471 Commit Summary

File Changes

(12 files https://github.com/meshtastic/firmware/pull/4471/files)

Patch Links:

  • https://github.com/meshtastic/firmware/pull/4471.patch
  • https://github.com/meshtastic/firmware/pull/4471.diff

— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/pull/4471, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVF3FLSX6XFEZL4ERLY2GDZRVJ5HAVCNFSM6AAAAABMTGM536VHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ3DSMRWGM3TAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

armisis avatar Aug 16 '24 09:08 armisis

@armisis This one is to start the sound prompt, and then start to load the interface, not restart, maybe you can look at the log

weekroom avatar Aug 16 '24 10:08 weekroom

I will look into the log, I have the original core and the 1.1 lora with the GPS module plugged in, I just know every time that device starts it makes a horrible noise right now, Im tempted to find the speaker and "disable" it for good, if it cannot be done via software. (I could never get the 1.1 lora to work at all on my core2 or core3 devices)

On Fri, Aug 16, 2024 at 11:10 AM petrel @.***> wrote:

@armisis https://github.com/armisis This one is to start the sound prompt, and then start to load the interface, not restart, maybe you can look at the log

— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/pull/4471#issuecomment-2293229907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVF3FLUCF4BBTFUG3BVFL3ZRXFZTAVCNFSM6AAAAABMTGM536VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTGIZDSOJQG4 . You are receiving this because you were mentioned.Message ID: @.***>

armisis avatar Aug 16 '24 10:08 armisis

@armisis You can annotate this macro definition #define PIN_BUZZER 25 in the variant.h file, and annotate M5.Speaker.tone, so that the buzzer will not start. Still working on it。For core2, I have been adapting, and for cores3, I have found that there is spi conflict between lora and lcd, which is still being solved

weekroom avatar Aug 16 '24 10:08 weekroom

Thank you! Will standby, always ready to test, (I have not coded anything since basic and pascal, other than bash scripts, so i stick to testing and playing with SDR)

Thanks and best regards!

On Fri, Aug 16, 2024 at 11:25 AM petrel @.***> wrote:

@armisis https://github.com/armisis You can annotate this macro definition #define PIN_BUZZER 25 in the variant.h file, and annotate M5.Speaker.tone, so that the buzzer will not start. Still working on it。For core2, I have been adapting, and for cores3, I have found that there is spi conflict between lora and lcd, which is still being solved

— Reply to this email directly, view it on GitHub https://github.com/meshtastic/firmware/pull/4471#issuecomment-2293251238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVF3FIK7TWMHVBWUJHW2QDZRXHSVAVCNFSM6AAAAABMTGM536VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTGI2TCMRTHA . You are receiving this because you were mentioned.Message ID: @.***>

armisis avatar Aug 16 '24 10:08 armisis

Please run trunk fmt on the code (this won't work on windows!) or enable maintainer edits for your fork, so we can tidy it up before merging.

caveman99 avatar Sep 02 '24 08:09 caveman99

@caveman99 Hello, at present I am on Windows, can compile and burn normally, may I ask you what is the problem 60d4b6ce889d7d438519fd2cad18046 772c7d58657c242d2613c437d5a34c8

weekroom avatar Sep 03 '24 01:09 weekroom

@weekroom , trunk refers to: https://docs.trunk.io/code-quality - it's a code linter.

fifieldt avatar Sep 18 '24 04:09 fifieldt

@weekroom There are instructions on this page on how to install on a Windows environment: https://docs.trunk.io/code-quality/setup-and-installation/initialize-trunk

Alternatively, you can use GitPod: https://gitpod.io#https://github.com/m5stack/meshtastic-firmware image

lboue avatar Sep 23 '24 09:09 lboue

@fifieldt @lboue Thanks for your help, I'm going to learn about using trunk

weekroom avatar Sep 26 '24 07:09 weekroom

@fifieldt @lboue Thanks for your help, I'm going to learn about using trunk

Did you succeed?

lboue avatar Oct 01 '24 05:10 lboue

@weekroom Do you have a problem with trunk?

lboue avatar Oct 10 '24 07:10 lboue

I have tried to write touches in ButtonThread.cpp file successfully, did you report any errors, I remember core2 or corev1.1 were successful


发件人: Ludovic BOUé @.> 发送时间: 2024年11月16日 4:35 收件人: meshtastic/firmware @.> 抄送: Huang Junrong @.>; Mention @.> 主题: Re: [meshtastic/firmware] Support M5 core2、corebasic2.7+Module-LoRa433_V1.1+GNSS Module (PR #4471)

[External: This email originated outside Espressif]

@weekroomhttps://github.com/weekroom I tested the code proposed here and was unable to get the touch controller to work.

― Reply to this email directly, view it on GitHubhttps://github.com/meshtastic/firmware/pull/4471#issuecomment-2479874905, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMHDIC5Z2WKSKOQU4DSDK3D2AZLKNAVCNFSM6AAAAABMTGM536VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZHA3TIOJQGU. You are receiving this because you were mentioned.Message ID: @.***>

weekroom avatar Nov 21 '24 07:11 weekroom

感谢您的帮助,我将学习如何使用 trunk

您成功了吗?

At present, I have other priorities on hand, so I have no time to re-verify and update, sorry

weekroom avatar Nov 21 '24 07:11 weekroom