I would like to use mbed code with an Olimex STM32-H152 board. So both of these boards use the STM32L152 series, but they have different amounts of ram, pin outs, crystals...etc. I am looking for advice on which files I need to change in the "mbed/TARGET_NUCLEO_L152RE/" folder to make this happen.
I changed the TARGET_NUCLEO_L152RE/stm32l1xx.h for the correct target STM32L device (#define STM32L1XX_MD) and the HSE and LSE crystal speeds by default are already correct (8MHz & 32768). I also changed PinNames.h and PortNames.h to add the extra pins and port. But the board does not run.
If anyone has done this I would love to hear some tips...
My tools are linux, openocd & an ARM-USB-OCD jtag
I would like to use mbed code with an Olimex STM32-H152 board. So both of these boards use the STM32L152 series, but they have different amounts of ram, pin outs, crystals...etc. I am looking for advice on which files I need to change in the "mbed/TARGET_NUCLEO_L152RE/" folder to make this happen.
I changed the TARGET_NUCLEO_L152RE/stm32l1xx.h for the correct target STM32L device (#define STM32L1XX_MD) and the HSE and LSE crystal speeds by default are already correct (8MHz & 32768). I also changed PinNames.h and PortNames.h to add the extra pins and port. But the board does not run.
If anyone has done this I would love to hear some tips...
My tools are linux, openocd & an ARM-USB-OCD jtag