Forum Replies Created
-
AuthorPosts
-
great makes it easy to try it –
I cloned locally, opened the folder in VSC.
It pulled in the libs, and then I pressed the pio build button.
Advanced Memory Usage is available via “Pla
great makes it easy to try it –I cloned locally, opened the folder in VSC.
It pulled in the libs, and then I pressed the pio build button.
Advanced Memory Usage is available via “PlatformIO Home > Project Inspect”
RAM: [=== ] 34.9% (used 5724 bytes from 16384 bytes)
Flash: [======= ] 65.5% (used 85196 bytes from 130048 bytes)
Building .pio\build\mayfly\firmware.hexI’m just finished some other testing so my Mayfly was open, and I downloaded it
avrdude: 85196 bytes of flash written
Very occasionally I’ve had problems with pio getting out of sync or something. Perhaps you want to uninstall VSC. Then from the platformio page reinstall.
https://platformio.org/install/ide?install=vscode
Sometime “stuff happens” and thats why virtual machines where invented.If you post your git link – and the project is set up right, I should be able to clone, and then open it in
Sometime “stuff happens” and thats why virtual machines where invented.If you post your git link – and the project is set up right, I should be able to clone, and then open it in VSC/PIO and see if it builds.
<quote>”Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this<quote>”Before I go digging through the code, I’m wondering why code would compile and run fine one week, then be “structured to not compile” the next. Do you have any idea why this might happen?” </quote>So a perspective – its your code, and its your environment – so i have no idea, just throwing out a suggestion based on the data of compilation size. The whole computer is built on “sand” and layers of software, and many items can go wrong. So welcome to the wonderful world of the computer.
So I put my code under git/source control/(or plain zip my source tree) , just for when these problems occur. Basic working practice. Believe me I’ve had the weird-ist problems that come up – and then I can see the change that’s been made and why things have changed. From the snapshot I can recreate the known working program into another director – and hope it works there.
Eyeballing your code, I’m afraid nothing jumps out to me. It could be in the platformio.ini . It would seem the clue is ~ your program size reflects the nature of the program that is being downloaded.
Beats me. Perhaps duplicate your blinkme, then copy and paste the above program into the file and see the size of program it produces.
@tahicksonstthomas-edu – like as you say thats interesting, all of investigations start with that.Probably post the cod
@tahicksonstthomas-edu – like as you say thats interesting, all of investigations start with that.Probably post the code – though it looks like it is structured to not compile – eyeball the code flow from first call to setup() and subsequent calls to main() and is your section of the code isolated.
SC typically shows colour coded syntax – though .ino as a code anomaly require special enabling. IMHO the easy way is to change the .ino to .cpp
I wonder what is the size of the code ?From the bottom of the PIO when I build I have
RAM: [===== ] 52.2% (used 8551 bytes from 16384 bytes)
Flash: [========= ] 87.4% (used 11362
I wonder what is the size of the code ?From the bottom of the PIO when I build I have
RAM: [===== ] 52.2% (used 8551 bytes from 16384 bytes)
Flash: [========= ] 87.4% (used 113628 bytes from 130048 bytes)
@tahicksonstthomas-edu – just wondering if you tried rebooting, or tried it again.VSC and also Platfromio regularly do updates – and sometimes just exiting and starting VSC again seems t
@tahicksonstthomas-edu – just wondering if you tried rebooting, or tried it again.VSC and also Platfromio regularly do updates – and sometimes just exiting and starting VSC again seems to work for me.
More recently for some reason two comport have appeared with a BlueTooth access.
You can also check what the USB enumerates as a COM port and then set it in the platformio.ini
<div>
<div>[env:mayfly]</div>
<div>upload_port = <COM#></div>
</div>
@nick Apparently try it with out clicking the “notify option” –https://github.com/ODM2/ODM2DataSharingPortal/issues/668
not
@nick Apparently try it with out clicking the “notify option” –https://github.com/ODM2/ODM2DataSharingPortal/issues/668
not clear if the bug fix has gone live, or will be fixed on the next pass
@nick – I tried https://monitormywatershed.org/sites/TWItest/ and it doesn’t existWhat is valuable for your “error report” is the error that is occurring when you submit to
@nick – I tried https://monitormywatershed.org/sites/TWItest/ and it doesn’t existWhat is valuable for your “error report” is the error that is occurring when you submit to MMW. That would be the screen shot you need.
Perhaps there is some field that needs to be filled in that is missing
I usually use a naming convention, as it has to be unique among all the sites, and I’m likely to be entering a number of sites
so could be nick_test_twi01 or
<organization or unique identifier><stream or function><local code>
So I go to https://monitormywatershed.org/ and check that I’m logged in – top right
Click “My Sites” – top left, then “register A New Site”
So I’m trying “nh_test_twi01”
enter details, select map and then under Notes “Test site to be deleted”
then enter ~ and its created it for me
https://monitormywatershed.org/sites/nh_test_twii01/
@nick I just tried – and it worked for me with 4 sensors. https://monitormywatershed.org/sites/nh_test230803/Perhaps you could try starting from the beginning. Nothing bad should happen creati
@nick I just tried – and it worked for me with 4 sensors. https://monitormywatershed.org/sites/nh_test230803/Perhaps you could try starting from the beginning. Nothing bad should happen creating sites.
I saw this as well. Though it turns out the site was created .https://github.com/ODM2/ODM2DataSharingPortal/issues/663
I hoped the issue had gone away, so I closed it after a few weeks..
IR
I saw this as well. Though it turns out the site was created .https://github.com/ODM2/ODM2DataSharingPortal/issues/663
I hoped the issue had gone away, so I closed it after a few weeks..
I’ll re-open it with a reference to this conversation. I guess its a benefit in tracking bugs. If/when the project gets a burst of energy/focus (or $) then they all get examined.
-
AuthorPosts