Could explain what steps you have taken to port the driver over to Arduino, and also the compilation error log you are seeing.dmaxben wrote: Ive tried a bunch of different things, but cant get it to compile
Search found 308 matches
- Tue Oct 08, 2019 6:34 am
- Forum: ESP32 Arduino
- Topic: Using the official CAN driver
- Replies: 9
- Views: 21882
Re: Using the official CAN driver with Arduino
- Tue Oct 08, 2019 6:33 am
- Forum: ESP-IDF
- Topic: portENTER_CRITICAL explaination
- Replies: 3
- Views: 18168
Re: portENTER_CRITICAL explaination
The mux used in portENTER_CRITICAL is actually a spinlock. A spinlock is required in order to prevent multiple CPUs from accessing the same resource concurrently (e.g. a variable, struct, or set of registers). You can use a mutex spinlock as follows: #include <stdio.h> static portMUX_TYPE my_mutex; ...
- Thu Sep 26, 2019 9:09 am
- Forum: General Discussion
- Topic: ESP_LOG giving a panic error
- Replies: 7
- Views: 7855
Re: ESP_LOG giving a panic error
Code: Select all
xTaskCreate(&blink_task, "blink_task", configMINIMAL_STACK_SIZE, NULL, 1, NULL);
- Thu Sep 26, 2019 7:05 am
- Forum: General Discussion
- Topic: freeRTOS / Default Events/Tasks Clarification please....
- Replies: 9
- Views: 8337
Re: freeRTOS / Default Events/Tasks Clarification please....
Can someone give me a point in the right direction on the documentation that explains how and where the initial default tasks are being started -- and the where the scheduler is being started in a default sample project? An application's entry point is the app_main() function which is run from a ma...
- Thu Sep 19, 2019 4:01 pm
- Forum: ESP-IDF
- Topic: Timer divider and frequency
- Replies: 5
- Views: 11058
Re: Timer divider and frequency
Does it mean I can have the timer ticking at 40MHz? Yep, just set the divider to 2 Except 0 (obviously), but also 1. Why can it not be 1? Because of the division operation or some other cost involved in prescaling the clock? It's a hardware limitation. A Timer's internal logic operates according to...
- Mon Sep 16, 2019 11:58 am
- Forum: General Discussion
- Topic: make: *** No rule to make target '//Makefile'. Stop.
- Replies: 1
- Views: 2816
Re: make: *** No rule to make target '//Makefile'. Stop.
Please check if you have properly defined your IOT_SOLUTION_PATH via the following command:
If not, please set your IOT_SOLUTION_PATH according to the instructions stated here.
Code: Select all
printenv IOT_SOLUTION_PATH
- Thu Sep 12, 2019 2:27 pm
- Forum: ESP32 Arduino
- Topic: Software Timer using xTimerCreate runs 33% slow
- Replies: 1
- Views: 3028
Re: Software Timer using xTimerCreate runs 33% slow
Some points to consider How are you actually measuring the duration of your timer? The timer doesn't start until xTimerStart() returns, and xTimerStart() has a possibility of being blocked if the timer's internal command queue is full. The timer callback could be delayed in running if there is some...
- Thu Sep 12, 2019 1:45 pm
- Forum: ESP-IDF
- Topic: Timer divider and frequency
- Replies: 5
- Views: 11058
Re: Timer divider and frequency
An 80MHz APB Clock is fed into the entire Timer Group. Each timer then takes 80MHz APB clock and divides it down via the prescaler to a frequency of their own liking. How much the 80MHz clock is divided down by is determined by the value set in the prescaler (i.e. the Divider). The divider can take ...
- Fri Sep 06, 2019 12:30 pm
- Forum: General Discussion
- Topic: RTOS running on one core only
- Replies: 37
- Views: 51696
Re: RTOS running on one core only
Ok I have also have an issue where my esp32 from DO-IT using NODEMCU-12E board in boards manager doesnt accept rtos and throws error in arduino i am so frustrated by this especially because i specially ordered these because of the rtos and dual core capability.Can any one of u please tell me how to...
- Wed Aug 28, 2019 8:07 am
- Forum: Hardware
- Topic: ADC VRef calibration eFuse
- Replies: 3
- Views: 12550
Re: ADC VRef calibration eFuse
Is there an easy way to override the fuse value when calling esp_adc_cal_characterize? No matter what I supply for the VREF param it always gets set to 1100 because the fuse takes priority. In esp-idf, the simplest way is to modify the esp_adc_cal_characterize() function directly as such: //Check e...