Search found 12 matches

by rojer
Wed Apr 19, 2017 6:05 am
Forum: ESP8266 SDK
Topic: NON-OS SDK: build with -ffunction-sections
Replies: 1
Views: 1008

NON-OS SDK: build with -ffunction-sections

This is a feature request for future NON-OS SDK releases: please provide binary libraries compiled with `-ffunction-sections`, like is already the case for RTOS SDK. this will help reduce the size of the binary when used in conjunction with `--gc-sections`at link stage. Again - this is something alr...
by rojer
Mon Mar 21, 2016 11:54 pm
Forum: General Q&A
Topic: New flasher: flash 512K fw in 5 seconds
Replies: 0
Views: 1629

New flasher: flash 512K fw in 5 seconds

Annoyed by long flashing times? We were, so we wrote an alternative, much faster flasher. 512K in 5 seconds? Yes, we can do that. TL;DR: Grab a modified esptool , use the new --flash_baud option to write_flash with higher rate and get flashing. $ time ./esptool.py --port /dev/ttyUSB0 write_flash --f...
by rojer
Thu Jan 07, 2016 11:09 am
Forum: ESP8266 SDK
Topic: SDK compiled with -ffunction-sections
Replies: 0
Views: 7319

SDK compiled with -ffunction-sections

Basically, this is about pruning unused SDK code. There are a lot of functions in the SDK, and many of them are unused in each individual project and should not be in the firmware. However, by default, linker will only drop whole object files, i.e. if nothing from that file is used. That is rarely t...
by rojer
Sat Jan 02, 2016 1:03 am
Forum: Showcase
Topic: 【Feedback】I2S sound output and MP3 decoding in an ESP8266
Replies: 13
Views: 33905

Re: I2S sound output and MP3 decoding in an ESP8266

thanks for this, a very useful example! i have question regarding bit/word clock generation: i am considering ESP8266 for an application which does both output (to a speaker) and input (from a microphone). i see that bit and word clock lines on ESP are separate, but the DAC/ADC i am considering uses...
by rojer
Wed Aug 05, 2015 10:59 pm
Forum: ESP8266 SDK
Topic: Very high memory usage by SSL/TLS functions
Replies: 4
Views: 3064

Re: Very high memory usage by SSL/TLS functions

by using a different SSL library i was able to get the memory usage to under 10K
by rojer
Wed Jul 29, 2015 11:31 pm
Forum: ESP8266 SDK
Topic: Very high memory usage by SSL/TLS functions
Replies: 4
Views: 3064

Very high memory usage by SSL/TLS functions

hi i'm having trouble using SSL because espconn_secure_connect requires so much RAM. here is a simple application, that does the bare minimum necessary to fetch https://www.google.com it has a 10ms timer that prints output of system_get_free_heap_size, and here's what it looks like: heap free: 41376...
by rojer
Sat Jul 11, 2015 1:00 am
Forum: ESP8266 SDK
Topic: Cannot connect to APs with password + CCMP
Replies: 8
Views: 4914

Re: Cannot connect to APs with password + CCMP

to close the loop - for our repository we implemented a symbol clash check. turned out to be very simple, commit is here if anyone's interested: https://github.com/cesanta/smart.js/commit/c954977491a657ff47056ddf5e0158b0c9362dc5 Espressif guys, feel free to pick it up - i do not wish anyone of your ...
by rojer
Fri Jul 10, 2015 10:05 pm
Forum: ESP8266 SDK
Topic: Cannot connect to APs with password + CCMP
Replies: 8
Views: 4914

Re: Cannot connect to APs with password + CCMP

ok, for those who are watching this saga, there is a happy end. it turns out, that our code brought in its own hmac_sha1 function, which overrode the one in ROM, but which evidently has a different signature and didn't work right. at one point i was actually looking at symbols, but i was focusing on...
by rojer
Fri Jul 10, 2015 3:27 pm
Forum: ESP8266 SDK
Topic: Cannot connect to APs with password + CCMP
Replies: 8
Views: 4914

Re: Cannot connect to APs with password + CCMP

hi Faye we made some progress in analyzing the bug, and at this point it looks more and more like toolchain bug of some sort, which manifests in such a weird way. while the user_main.c file is exactly as i posted and no other code gets executed, the firmware includes a lot of other "dead wood&q...
by rojer
Thu Jul 09, 2015 4:48 pm
Forum: ESP8266 SDK
Topic: Cannot connect to APs with password + CCMP
Replies: 8
Views: 4914

Re: Cannot connect to APs with password + CCMP

thanks tve, that looks cleaner, but, as you could imagine, made no difference. yes, we are using 2.4G and there is nothing special about our APs. we have two - main office AP and two we use for development. for development we use Asus RT-N10 with OpenWRT firmware (which gives maximum control). offic...

Go to advanced search