Dear all,
I have the following platformio.ini (custom µC)
platform = ststm32
board = nucleo_f030r8
board_build.mcu = stm32f030r8t6
board_build.f_cpu = 48000000L
debug_tool = jlink
upload_protocol = jlink
framework = arduino
lib_deps =
stm32duino/STM32duino FreeRTOS@^10.3.1
build_flags = -DBOARD_BEEZER -gdwarf-2 -I "include" -L
board_build.ldscript = custom_ldscript.ld
I want to attach a interrupt to a pin:
pinMode(PB11, INPUT);
attachInterrupt(digitalPinToInterrupt(PB11, isr_ttlin0, CHANGE);
isr_ttlin0() will never trigger.
I retried with some more deeper approche:
stm32_interrupt_enable((GPIO_TypeDef *)GPIOB_BASE, GPIO_PIN_11, isr_ttlin0, GPIO_MODE_IT_RISING_FALLING);
isr_ttlin0() will still never trigger.
Does anybody see the problem?
Best,
Smon