Search found 34 matches

by jmattsson
Fri Nov 18, 2016 12:56 am
Forum: Report Bugs
Topic: [solved] ets_printf ("\n"); printf("\n"); ets_printf("\r"); printf("\r");
Replies: 2
Views: 9366

Re: ets_printf ("\n"); printf("\n"); ets_printf("\r"); printf("\r");

You'll want to use regular printf, not ets_printf, and:

Code: Select all

make menuconfig
...
Component config -> ESP32-specific config ->  Standard-out output adds carriage return before newline
by jmattsson
Wed Oct 05, 2016 3:42 am
Forum: ESP-IDF
Topic: [Solved] Reading character input from the serial port
Replies: 13
Views: 51529

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

Whoops... indeed that was for debugging. Thanks for pointing it out - I had it on my todo list to work out why Esplorer wasn't happy loading the file list but now I know :)
by jmattsson
Wed Oct 05, 2016 2:35 am
Forum: ESP-IDF
Topic: [Answered] Assembler language reference manual ...
Replies: 17
Views: 60326

Re: Assembler language reference manual ...

Not quite what you asked for, but you can find the overall Xtensa Instruction Set Architecture (ISA) Reference Manual document e.g. here . It's not specific to the 108s that you'll find in the ESP32, but between the ISA doc and the components/esp32/include/xtensa/config/core-isa.h header you can pre...
by jmattsson
Wed Oct 05, 2016 2:23 am
Forum: ESP-IDF
Topic: [Solved] Reading character input from the serial port
Replies: 13
Views: 51529

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: ESP-IDF
Topic: [Answered] What is the purpose of the "tcpip_adapter" component ...
Replies: 2
Views: 7127

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: 14248

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: 14248

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: 7935

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: 7935

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: 44157

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...