Re: driver question about memory and calloc

2020-07-08 Thread Adam Feuer
at does not work in all configurations.Instead >>> include nuttx/kmalloc,h and call kmm_malloc(). If you want aligned memory, >>> call kmm_memalgn().Sent from Samsung tablet. >>> Original message From: Adam Feuer >>> Date: 7/7/20 9:40 PM (GM

Re: driver question about memory and calloc

2020-07-08 Thread Adam Feuer
ttx/kmalloc,h and call kmm_malloc(). If you want aligned memory, >> call kmm_memalgn().Sent from Samsung tablet. >> Original message From: Adam Feuer >> Date: 7/7/20 9:40 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: >> driver question about memory and callo

Re: driver question about memory and calloc

2020-07-07 Thread Adam Feuer
not work in all configurations.Instead include > nuttx/kmalloc,h and call kmm_malloc(). If you want aligned memory, call > kmm_memalgn().Sent from Samsung tablet. > Original message From: Adam Feuer > Date: 7/7/20 9:40 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: > driver q

RE: driver question about memory and calloc

2020-07-07 Thread spudaneco
ssage From: Adam Feuer Date: 7/7/20 9:40 PM (GMT-06:00) To: dev@nuttx.apache.org Subject: driver question about memory and calloc Hi,I am getting the SAMA5D27 SDMMC SD Card driver pull request ready. There'sone small issue I'm working on, though. There's a place in the driverin

driver question about memory and calloc

2020-07-07 Thread Adam Feuer
Hi, I am getting the SAMA5D27 SDMMC SD Card driver pull request ready. There's one small issue I'm working on, though. There's a place in the driver initialization where I calloc() some memory– 466 bytes. DMA data transfers while reading from files times out if I don't have the calloc() in there.