firmware
firmware copied to clipboard
Support M5 core2、corebasic2.7+Module-LoRa433_V1.1+GNSS Module
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。
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 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
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
- e2712b4 https://github.com/meshtastic/firmware/pull/4471/commits/e2712b478d0f4e6056fe83ac7d161d01d0784365 support M5 corebasic2.7+Module-LoRa433_V1.1+GNSS Module
- b21551a https://github.com/meshtastic/firmware/pull/4471/commits/b21551ac54b91b312bc95ff2bbae270982cdcf1c Increase sleep wake screen backlight
File Changes
(12 files https://github.com/meshtastic/firmware/pull/4471/files)
- M platformio.ini https://github.com/meshtastic/firmware/pull/4471/files#diff-4446afd728a4f34cbcddc306a9cb6be845d1a61c216076a295683bcc9c106724 (2)
- M src/ButtonThread.cpp https://github.com/meshtastic/firmware/pull/4471/files#diff-d6259cb933b412920aa303c9d4ab76fed5e3bdd85d60a37296b27f918c36693e (16)
- M src/graphics/Screen.cpp https://github.com/meshtastic/firmware/pull/4471/files#diff-b96a4f56a51e883757b872d9680d6191810ababf13895af4ae816bcb783e4e54 (89)
- M src/graphics/TFTDisplay.cpp https://github.com/meshtastic/firmware/pull/4471/files#diff-1156b8389cd8399e8de65dd64344566afc060990c6956bdf95bef14b2f68d9d6 (18)
- M src/main.cpp https://github.com/meshtastic/firmware/pull/4471/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2 (13)
- M src/main.h https://github.com/meshtastic/firmware/pull/4471/files#diff-910d89612d74e91ae70ed40289b3910b1c1a09b1f5a1bb0b15849f70760cbba2 (12)
- M src/mesh/RadioInterface.cpp https://github.com/meshtastic/firmware/pull/4471/files#diff-ad55475cca6c487a8b020a5f8036f160cd1fc92cce2ea887bfe83f284a6fc855 (17)
- M src/mesh/generated/meshtastic/mesh.pb.h https://github.com/meshtastic/firmware/pull/4471/files#diff-59a4ba104235a366635bc94203d2522c39b3499720bc56efec02ddf2dcc51f5a (2)
- M src/platform/esp32/architecture.h https://github.com/meshtastic/firmware/pull/4471/files#diff-5e367346c743849ed2b540f09545d01cca84fab402c59991811d139c98b71737 (2)
- A variants/m5stack_corebasic/pins_arduino.h https://github.com/meshtastic/firmware/pull/4471/files#diff-60f9c5c4aeb3b28557bc0d7d61e7f1a52d08e54867a50064032a45bf75350ab1 (13)
- A variants/m5stack_corebasic/platformio.ini https://github.com/meshtastic/firmware/pull/4471/files#diff-85266614cd7010e8b4dba90280d96426c957b423a53c398253d3d39e92340d5d (25)
- A variants/m5stack_corebasic/variant.h https://github.com/meshtastic/firmware/pull/4471/files#diff-92828f47ebeedf864d281c8ab3ae508f44c1a85b7c9f5c495ada28f2e8020465 (50)
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 This one is to start the sound prompt, and then start to load the interface, not restart, maybe you can look at the log
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 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
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: @.***>
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 Hello, at present I am on Windows, can compile and burn normally, may I ask you what is the problem
@weekroom , trunk refers to: https://docs.trunk.io/code-quality - it's a code linter.
@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
@fifieldt @lboue Thanks for your help, I'm going to learn about using trunk
@fifieldt @lboue Thanks for your help, I'm going to learn about using trunk
Did you succeed?
@weekroom Do you have a problem with trunk?
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: @.***>
感谢您的帮助,我将学习如何使用 trunk
您成功了吗?
At present, I have other priorities on hand, so I have no time to re-verify and update, sorry