Search found 3 matches

by afranko
Fri Mar 08, 2019 11:00 am
Forum: ESP-IDF
Topic: Preview release: CMake-based build system for ESP-IDF
Replies: 65
Views: 80863

Re: Preview release: CMake-based build system for ESP-IDF

Anyone successfully used the COMPONENTS variable to trim down the number of included components in a project, as per the docs ? Starting with the hello_world example (latest master as of today), changing the top-level CMakeLists.txt to this cmake_minimum_required(VERSION 3.5) include($ENV{IDF_PATH}...
by afranko
Tue Sep 04, 2018 7:59 am
Forum: ESP-IDF
Topic: Problem(assert) with spi_device_transmit()
Replies: 6
Views: 7998

Re: Problem(assert) with spi_device_transmit()

After a lot of debugging I figured it out: the readfromspi() function is called multiple times: the first call ain't returned yet, when it's called second time and that messes up the SPI. I wrote this code first on another platform, where I could use ciritical section that defends SPI, but due to Fr...
by afranko
Wed Aug 15, 2018 2:37 pm
Forum: ESP-IDF
Topic: Problem(assert) with spi_device_transmit()
Replies: 6
Views: 7998

Problem(assert) with spi_device_transmit()

Hi guys, I'm trying to use SPI Master driver to control a DWM1000 module on my custom board. Almost everything is fine, but after a while: I get an assertion. I checked with a counter and it fails at different palces at every turn. assertion "ret_trans==trans_desc" failed: file "C:/msys32/home/heged...