Search found 61 matches

by manseekingknowledge
Mon Jul 01, 2019 6:54 am
Forum: ESP8266 boards
Topic: Picoweb request doesn't return all form data
Replies: 5
Views: 3734

Picoweb request doesn't return all form data

micropython commit 5c34c2ff7f0c44ec9e1d77059162584c6bd99c92 picoweb commit 973d6cd33841a2ab2457d0f7247fc423824f46b7 uasyncio commit 5149a54f918361d56e3974c1ace8d0a2bad7a086 uasyncio.core commit 4c63ecf5a64d5db5362e940b33b1687d882c38c8 uasyncio.queues commit 614f5e61e9952602ea273ecc0a446f1232ef1d5e I...
by manseekingknowledge
Sat May 25, 2019 7:17 am
Forum: ESP8266 boards
Topic: How to disable all REPL
Replies: 10
Views: 11257

How to disable all REPL

MicroPython v1.9.4-704-g9d9c2cf70 I want to completely disable REPL. WebREPL seems easy enough to prevent (just don't ever import webrepl_setup), but regardless of what I try REPL via a wired connection always works. Here are some of the things I've tried: # Attempt 1: Tried to disable terminal dupl...
by manseekingknowledge
Mon Nov 26, 2018 3:05 am
Forum: ESP8266 boards
Topic: modussl_axtls.c failing to compile
Replies: 0
Views: 1245

modussl_axtls.c failing to compile

I'm getting this error when I build at commit 51482ba92568a9793fea34213ed74be850920a5a. I don't get this error if I build from a micropython git repo which I cloned on my Ubuntu 18.04.1 Virtual Box guest which is running on a Windows 10 host, regardless if I clone it into the directory that is share...
by manseekingknowledge
Sat Jun 23, 2018 9:08 am
Forum: ESP8266 boards
Topic: How to build non-python static resource files into binary image
Replies: 4
Views: 3349

Re: How to build non-python static resource files into binary image

data_to_py.py works like a charm. I was around 95% RAM usage, but accessing the byte data from flash let me reclaim about 40% of that so now I'm around 55%. The image size is larger now than it was when I was using the base64 encoding, but that is to be expected. I had to adjust the segment sizes as...
by manseekingknowledge
Thu Jun 21, 2018 12:52 pm
Forum: ESP8266 boards
Topic: How to build non-python static resource files into binary image
Replies: 4
Views: 3349

Re: How to build non-python static resource files into binary image

I assume the obvious approach of storing the data in a file is unacceptable: is the aim to save RAM? Thanks for your reply. I'm not sure I understand your first comment. What I really want is to have my JS file right next to my boot.py file after I flash the ESP8266 assuming the convenience gained ...
by manseekingknowledge
Wed Jun 20, 2018 2:15 pm
Forum: ESP8266 boards
Topic: How to build non-python static resource files into binary image
Replies: 4
Views: 3349

How to build non-python static resource files into binary image

I have my build script set up to freeze all my python modules and that works well, but I want to bake a JS file into my image. How do I do that?
by manseekingknowledge
Thu Nov 30, 2017 2:29 am
Forum: ESP8266 boards
Topic: socket.recvfrom() not returning address
Replies: 1
Views: 2000

Re: socket.recvfrom() not returning address

According to this SO answer, socket.recvfrom() only works with UDP connections so keeping track of the socket to client address mapping will need to be done manually.
by manseekingknowledge
Thu Nov 30, 2017 1:18 am
Forum: ESP8266 boards
Topic: over clocking
Replies: 7
Views: 4957

Re: over clocking

How to change the frequency is described in the General Board section here.

Code: Select all

import machine

machine.freq()          # get the current frequency of the CPU
machine.freq(160000000) # set the CPU frequency to 160 MHz
by manseekingknowledge
Wed Nov 29, 2017 7:19 am
Forum: ESP8266 boards
Topic: socket.recvfrom() not returning address
Replies: 1
Views: 2000

socket.recvfrom() not returning address

Looks like socket.recvfrom() isn't returning the sending address correctly. The data is still returned correctly though. Doesn't see seem to matter if I use socket or usocket. Not sure if it is a bug or if I'm doing something wrong. I'm at the tip of master (MicroPython v1.9.3-65-g74fad35). data, ad...
by manseekingknowledge
Sun Oct 29, 2017 9:57 pm
Forum: ESP8266 boards
Topic: Error building ds18x20.py with no local changes
Replies: 1
Views: 1905

Re: Error building ds18x20.py with no local changes

I figured out the problem, but my solution is not optimal. I had set up Vagrant VM to share the micropython directory to my Windows machine where I was thing planning to use SmartGit to track my changes to MicroPython. It seems there are (at the least) some time stamp issues and possibly also some l...