RE: SPI slave interface discussion

2020-05-25 Thread Laitinen, Jukka
2020 4:15 PM To: dev@nuttx.apache.org Subject: RE: SPI slave interface discussion Hi Jukka, Would you mind opening a Draft PR for this disscussion. (See the Drop down on github [Create pull request] ) David *From:* Laitinen, Jukka [mailto:jukka.laiti...@intel.com] *Sent:* Thursday

RE: Correct call sequence to initialize the heap in CONFIG_BUILD_FLAT?

2020-05-24 Thread Laitinen, Jukka
So I was left without heap at boot, and crashing (also stacks of course, but that was not what I meant to say). Hi, Right now, looking at the file nx_start.c, all calls to up_allocate_heap are being done when one of these flags are defined: #if defined(MM_KERNEL_USRHEAP_INIT) || defined(CONF

Correct call sequence to initialize the heap in CONFIG_BUILD_FLAT?

2020-05-24 Thread Laitinen, Jukka
Hi, Right now, looking at the file nx_start.c, all calls to up_allocate_heap are being done when one of these flags are defined: #if defined(MM_KERNEL_USRHEAP_INIT) || defined(CONFIG_MM_KERNEL_HEAP) || \ defined(CONFIG_MM_PGALLOC) I was just left without stack when re-basing to the latest

RE: SPI slave interface discussion

2020-05-21 Thread Laitinen, Jukka
Looks like the patch which I tried to attach was lost on the way. Trying again with .txt suffix... From 292153fc368976c8abbd65fdd1b48b3bbc93e998 Mon Sep 17 00:00:00 2001 From: Jukka Laitinen Date: Fri, 20 Sep 2019 09:17:10 +0300 Subject: [PATCH] Update to SPI slave intefaces Make it possible t

FW: SPI slave interface discussion

2020-05-21 Thread Laitinen, Jukka
Hi, *The attached patch is just for opening a discussion, please don't merge* We used the SPI slave interfaces on stm32h7 platform, in a configuration where two stm32h7 chips were connected together with SPI bus, one in master simplex-tx and one in slave simplex-rx mode. There was quite high d