-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
STM32 Support #381
Comments
Wow – fantastic, Portentia says it can reduce to 3uA with only RTC on, 4UARTS, and LiPo charge to 1.5A
I did pull up a PlatformIo Portenta H7 M4 processor on Arduino and an empty framework compiled OK. Checking size .pio\build\portenta_h7_m4\firmware.elf I wonder if you could share a little on the app – what sensors interfacing to?, and remote cloud? And power source?. |
Yeah no problem. Here is my devices configuration/default as per the datasheet: |
Nice spec H7-15EUCWAD. I've been chewing on some possible ML, but I haven't graduated from playing with rPi and was thinking of the STM32MP157C. However it did give me a whole bunch of trouble with the M4 see The time aspects are pretty confusing, and its a question how to present them??, default time is based on the compile time-aday I think, since I'm in Ca UTC-8 - though generaly #304 My protoyping port was using an Adafruit SAMD51, which doesn't have battery backup. I prototyped a separate low power rtcExtPhy to always be able to boot with a time. |
All of the processor-dependent stuff should be in LoggerBase and WatchDogs, with some sneaky kickers probably hiding in the SDI-12's interrupt dependency. Like Neil's hinting at, the big things would be to get the sleep/wake and working with the interrupts. Figuring out the watchdog alarm can also be really hard, but if you're willing to just spoof out that feature, it's a lot easier because it's broken into a separate module. It's on my wish list to find time to split the clock and sleep functionality out similarly to the watchdogs, but there's very, very little chance that will actually happen in the very near future. |
I'm looking to port my Modular Sensors based code over to an Arduino Portenta H7, which has a STM32H7 cpu. Is there a starting point you'd recommend for adding to the library to make it work for this processor as well?
Thanks
The text was updated successfully, but these errors were encountered: