Search found 31 matches

by jmattsson
Wed Oct 05, 2016 2:23 am
Forum: ESP32 IDF
Topic: [Solved] Reading character input from the serial port
Replies: 11
Views: 15388

Re: [Solved] Reading character input from the serial port

As WiFive already mentioned (and linked to), in NodeMCU I've got the UART hooked up to stdio for input. It was surprisingly easy to do.
by jmattsson
Thu Sep 29, 2016 8:03 am
Forum: ESP32 IDF
Topic: [Answered] What is the purpose of the "tcpip_adapter" component ...
Replies: 2
Views: 2574

Re: What is the purpose of the "tcpip_adapter" component ...

It's the glue that helps drive the DHCP client & server in response to WiFi events.
by jmattsson
Thu Sep 29, 2016 7:56 am
Forum: General Discussion
Topic: [Q] user/custom space addr room on the SPI Flash for data
Replies: 9
Views: 5863

Re: [Q] user/custom space addr room on the SPI Flash for data

@ESP_Sprite Yes, there is. NodeMCU is designed to handle being flashed to different sizes of flash chips and Do The Right Thing automatically. As such we don't at firmware build-time know what the size of the file system will be (or necessarily even where it will be). On the ESP8266 we use a combina...
by jmattsson
Thu Sep 29, 2016 5:06 am
Forum: General Discussion
Topic: [Q] user/custom space addr room on the SPI Flash for data
Replies: 9
Views: 5863

Re: [Q] user/custom space addr room on the SPI Flash for data

I'm already using the partition table to establish a SPIFFS partition in NodeMCU; You might find that code a useful reference. It's in the NodeMCU repo, on the WIP esp32 branch. Once there's an official Espressif API, we'll probably start using that. Wasn't going to wait for that though :lol:
by jmattsson
Fri Sep 23, 2016 7:34 am
Forum: Report Bugs
Topic: Bootloader reports wrong flash size?
Replies: 2
Views: 2522

Re: Bootloader reports wrong flash size?

Thanks, that gave me access to the rest of the flash! Sweeeet :)

Is there any (easy) way of reading out the existing values before clobbering them via SPIParamCfg()?
by jmattsson
Fri Sep 23, 2016 3:07 am
Forum: Report Bugs
Topic: Bootloader reports wrong flash size?
Replies: 2
Views: 2522

Bootloader reports wrong flash size?

I had assumed that the ESP3212 module I got had a 4MB flash since that's what the bootloader reports: ************************************** * hello espressif ESP32! * * 2nd boot is running! * * version (V0.1) * ************************************** compile time 18:13:20 SPI Speed : 40MHz SPI Mode ...
by jmattsson
Thu Sep 22, 2016 1:58 am
Forum: General Discussion
Topic: Interest in developer preview?
Replies: 28
Views: 16671

Thoughts on the IDF

Having now actively worked with the IDF over the last week, I must say this is really, really nice ! Despite it still being the early days, it's feeling very slick, powerful and friendly. Sure, the docs are still a bit short in quantity, but certainly not in quality. And while I've certainly got a s...
by jmattsson
Mon Sep 19, 2016 1:24 am
Forum: ESP32 IDF
Topic: [Answered] Is the sockets API supported?
Replies: 2
Views: 2374

Re: Is the sockets API supported?

I haven't tried it, but the ESP IDF does build lwip/app/sockets.c which would suggest it is indeed available. Another item also pointing in that direction is the mbedtls component which typically uses the socket interface of lwIP.
by jmattsson
Mon Sep 05, 2016 7:07 am
Forum: General Discussion
Topic: How does Flash Encryption (aka Secure Boot) work?
Replies: 8
Views: 6759

Re: How does Flash Encryption (aka Secure Boot) work?

I haven't had time to dive into this yet myself, but the source in https://github.com/espressif/esp-idf/tr ... r/src/main would hopefully explain a few things.
by jmattsson
Fri Sep 02, 2016 1:27 am
Forum: General Discussion
Topic: Interest in developer preview?
Replies: 28
Views: 16671

Re: Interest in developer preview?

@igrr__: The RTOS SDK. I don't really consider it feasible to support a non-OS SDK ESP8266 and a RTOS SDK ESP32 in the same code branch. And the RTOS is much nicer to work with, even if it comes at a bit of a memory cost.