Skip to content
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

Building firmware image, including this library, issue on pycom #53

Closed
jager07 opened this issue Feb 21, 2019 · 4 comments
Closed

Building firmware image, including this library, issue on pycom #53

jager07 opened this issue Feb 21, 2019 · 4 comments

Comments

@jager07
Copy link

jager07 commented Feb 21, 2019

I successfully use the POST/GET services from your libraries on a FiPy board (ESP32) when it's uploaded the normal way. It works great, loads webpages from SD, allows me to configure settings in the device and save them back to a config file, all good.
The problem is when I compile the 3 libraries along with the fipy firmware (i've done this successfully many times) I get a check_sum error and the FiPy won't start. I remove the 3 library files and all good, it works again.
Maybe a problem with the compiler and how it 'freezes' .py files, I just don't know why this is happening. For no I will try and load these libraries on the SD card as a work around.

@jager07
Copy link
Author

jager07 commented Feb 21, 2019

Note it could also be a partition size problem, just realised this. Maybe I try a simple program with the websrv and see if that compiles ok. The FiPy is meant to have 8MB Flash, and my program is 1.6MB so should be no issue...

@jager07
Copy link
Author

jager07 commented Feb 21, 2019

It was the partition problem, I've extended the partition and it works. So your code is all good!

Thank you

@jager07 jager07 closed this as completed Feb 21, 2019
@jczic
Copy link
Owner

jczic commented Feb 21, 2019

👍
Great ;)

@jczic
Copy link
Owner

jczic commented Oct 20, 2019 via email

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

No branches or pull requests

2 participants