Search found 15 matches

by maxzen
Thu Jun 14, 2018 8:03 am
Forum: General Discussion
Topic: cmsis-rtos
Replies: 5
Views: 7674

Re: cmsis-rtos

Thank you ESP_igrr,

now I can complete my macros:

Code: Select all

#ifdef NDEBUG
#   define CHECK_IT(a)      (void)(a)
#   define BPOINT
#else
#   define CHECK_IT(a)     assert(a)
#   define BPOINT             __asm__("break 0,0")
#endif
by maxzen
Wed Jun 13, 2018 9:56 am
Forum: General Discussion
Topic: cmsis-rtos
Replies: 5
Views: 7674

Re: cmsis-rtos

Thank you WiFive,

what about __BKPT()? Does esp32 have a similar instruction?
by maxzen
Wed Jun 13, 2018 6:48 am
Forum: ESP-IDF
Topic: nvs program and read
Replies: 2
Views: 4715

Re: nvs program and read

I cannot use

Code: Select all

make flash
because it timeouts: is it different from programming with openocd?

Can I read the flash content with openocd ? I mean, passing something like

Code: Select all

"read_esp32 $1 0x8000 exit"
Thank you
by maxzen
Mon Jun 11, 2018 9:16 am
Forum: General Discussion
Topic: cmsis-rtos
Replies: 5
Views: 7674

cmsis-rtos

Hello all,

we would like to use cmsis-rtos to interface with freertos

For every XXX() api freertos has also the XXXFromISR() version: so we need to know if there is an intrinsic that tell us if we are inside an interrupt handler, something like __get_IPSR() for cortex processors

Thank you
Max
by maxzen
Fri Jun 08, 2018 12:21 pm
Forum: ESP-IDF
Topic: nvs program and read
Replies: 2
Views: 4715

nvs program and read

Hello all I am using the wrover kit and I am using ubuntu 16 I am new to this micro so I think that I missed something My goal is to write manufacture data to a nvs partition and then read the data I have used gen_esp32part.py with this file: # Name, Type, SubType, Offset, Size, Flags # Note: if you...