escherstair
escherstair
Function 'SPI_WaitOnFlagUntilTimeout': argument order different between definition and declaration
For the function `SPI_WaitOnFlagUntilTimeout`, the argument order is different between declaration and definition (`Timeout` and `Tickstart` swapped) `SPI_WaitOnFlagUntilTimeout` declaration https://github.com/STMicroelectronics/stm32h7xx_hal_driver/blob/8e7eb8dba8bee5e4c260c6fc724437502e98fc76/Src/stm32h7xx_hal_spi.c#L170-L171 `SPI_WaitOnFlagUntilTimeout` definition https://github.com/STMicroelectronics/stm32h7xx_hal_driver/blob/8e7eb8dba8bee5e4c260c6fc724437502e98fc76/Src/stm32h7xx_hal_spi.c#L3827-L3828
As written [here](https://community.arm.com/arm-community-blogs/b/embedded-blog/posts/cutting-through-the-confusion-with-arm-cortex-m-interrupt-priorities) > Arm Cortex-M processors offer very versatile interrupt priority management, but unfortunately, the multiple priority numbering conventions used in managing the interrupt priorities are often counter-intuitive, inconsistent,...
I don't know if this is possible or not. I have a fixed size array of data ```float data[100];``` and I need to encode it in CBOR and send the...
In renodepedia I see that [NXP mx8mp](https://renodepedia.renode.io/soc/mimx8mp/?view=peripherals) is supported. I use mx8mp and I know it's a HMP (Heterogeneous Multicore Processor) because it has some Cortex-A (A53) cores and a...
I have a [SoM from Toradex](https://www.toradex.com/computer-on-modules/verdin-arm-family/nxp-imx-8m-plus), with NXP iMX8M-Plus. The OS is TorizonOS (based on kernel 5.15.52) with some pre-built containers ``` SoC is: 'i.MX8MP' SoC has GPU: true SoC...
I've been looking to some of the FFT-related functions and trying to find if some of them can be changed const-qualifying some of the input parameters. I use a bottom-up...
Sometimes it's require dto check if a JSON object or array is empty. As far as I understand, this requires looking to `json->child`, as done inside `cJSON_GetArraySize()` https://github.com/DaveGamble/cJSON/blob/87d8f0961a01bf09bef98ff89bae9fdec42181ee/cJSON.c#L1833-L1854 I would...
FreeRTOS uses its own [memory management](https://www.freertos.org/a00111.html) that provides custom implementations for the memory allocators. > Each provided implementation is contained in a separate source file (heap_1.c, heap_2.c, heap_3.c, heap_4.c and...
This parameter can be safely cons-qualified, as already done in the other CJSON_Print functions See issue #822
Like all the other `cJSON_Print` functions, I think that `cJSON *item` parameter can be const-qualified in `cJSON_PrintPreallocated` too https://github.com/DaveGamble/cJSON/blob/87d8f0961a01bf09bef98ff89bae9fdec42181ee/cJSON.c#L1297C50-L1297C61 should be changed to ```C CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(const cJSON *item, char *buffer,...