Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Conversation

@annejan
Copy link

@annejan annejan commented Jul 10, 2017

annejan and others added 30 commits June 18, 2017 14:19
Only link led driver when the driver is enabled through the device config
Added listing, dumping and loading of fonts
The CC3100 only allows to set a timeout for receiving data, not for accept,
connect or send.  But it can set non-blocking for all these operations and
this patch uses that feature to implement socket timeout in terms of non-
blocking behaviour combined with a loop.
This attempts to bootstrap network tests for MicroPython. This commits
sets test/net_inet/ as place for tests which require access to wide
Internet. They aren't intended to be run as part of the main testsuite,
instead to be run manually on demand.

test_tls_sites.py in particular check that it's possible to establish
SSL/TLS connection to select sites on the Internet: few references ones,
plus those for which problems were reported, and resolved.
Some of these tests don't require an Internet connection, but here is a
good place to put them for now.
annejan and others added 25 commits July 8, 2017 01:54
Support dialog.prompt_text with on-screen keyboard
`n_args` doesn't count keyword (named) parameters, and it's possible to pass in
only some of those, so we need something else than `n_args > x` to check
whether a given keyword parameter is present.

`MP_OBJ_IS_TYPE(MP_OBJ_NULL, &whatever)` will crash, but
`MP_OBJ_IS_TYPE(mp_const_none, &whatever)` will always return 'false', so the
latter is a more suitable default for non-required keyword parameters.

See also caaf6ab
…meters

Correctly detect presence of keyword parameters
Support capitals in prompt_text (fixes #47)
And use it to accept 'OK' via the keyboard
Preliminary support for callbacks for buttons
@annejan
Copy link
Author

annejan commented Jul 10, 2017

Sorry :( once again clicked on the wrong tree!!

@annejan annejan closed this Jul 10, 2017
@silbo
Copy link

silbo commented Jan 4, 2018

what happened to this ? any updates on using NVS from micropython on esp32 ?

@MrSurly
Copy link
Contributor

MrSurly commented Jan 5, 2018

@Silps I don't think there's a lot of interest, NVS is simply a partition type for the flash. Since you have a file system available in MP, why not just write a JSON config there?

@silbo
Copy link

silbo commented Jan 6, 2018

@MrSurly 👍 was just looking for the shortest effort in terms of writing code : )
JSON is the way to go yep, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants