I have Keil board, MCBSTM32F400. I want to do SPI communication with it, from a device thru ADC, and pass the data to the controller. Pl mention how can I hook the device to the board?
the device could be potentiometer, pressure or temperature transducer, etc.
It will only build the files that are actually included in your Project - so we'd need to see your Project.
For a simple blinky, you should probably just need:
compiling stm32f4xx_hal.c...compiling stm32f4xx_hal_cortex.c...compiling stm32f4xx_hal_gpio.c...assembling startup_stm32f407xx.s...compiling stm32f4xx_hal_rcc_ex.c...compiling stm32f4xx_hal_rcc.c...compiling system_stm32f4xx.c...
You shouldn't need:
compiling EventRecorder.c...compiling stm32f4xx_hal_adc.c...compiling stm32f4xx_hal_adc_ex.c...compiling stm32f4xx_hal_dma.c...compiling stm32f4xx_hal_dma_ex.c...compiling stm32f4xx_hal_pwr.c...compiling stm32f4xx_hal_pwr_ex.c...
Should I use IDE uVision or IAR for working on the board?
You're seriously asking that in the Keil forum ?!
Hi Andy, As per your last response, I am providing Paint files having list of files in blinky project and the compile error I am getting are attached. I have LIte version. I am not getting file size error more than 32K, but a compile error. If I comment out line 157 in main.c, then I get other errors.
Sounds like you really need to start here:
https://www2.keil.com/mdk5/learn
Also see training materials from ST:
https://community.arm.com/developer/tools-software/tools/f/keil-forum/35918/not-able-to-see-variables-in-memory-window/109675#109675