Search found 5 matches

by somanshraj
Mon Apr 12, 2021 1:13 pm
Forum: General discussion
Topic: attachinterrupt issue on STM32F412VG
Replies: 2
Views: 4646

attachinterrupt issue on STM32F412VG

The variant used is custom using the following : STM32F412VG

While trying to use attachinterrupt on Pin PA2, output shows 4 times the number of interrupts expected ( in case of RISING, FALLING or CHANGE )

https://pasteboard.co/JX72fyr.jpg

As seen in the above attached link ( also attached as ...
by somanshraj
Mon Apr 05, 2021 3:04 am
Forum: General discussion
Topic: Compile error - STM32F412VE
Replies: 10
Views: 7444

Re: Compile error - STM32F412VE


Variants of STM32F412Vx with 100 pins or less dont have ports F and G according to datasheet, still GPIOF_BASE and GPIOG_BASE are defined in the stm32f412vx.h header file.

Since PortNames.c only checks if GPIOF_BASE is defined that will fail since __HAL_RCC_GPIOF_CLK_ENABLE() is not defined, see ...
by somanshraj
Sat Apr 03, 2021 6:10 pm
Forum: General discussion
Topic: Compile error - STM32F412VE
Replies: 10
Views: 7444

Re: Compile error - STM32F412VE

Update : On removing the following code below from PortNames.c fixed the compile error.

#if defined GPIOF_BASE
case PortF:
gpioPort = (GPIO_TypeDef *)GPIOF_BASE;
__HAL_RCC_GPIOF_CLK_ENABLE();
break;
#endif
#if defined GPIOG_BASE
case PortG:
#if defined(PWR_CR2_IOSV)
// Enable VDDIO2 supply ...
by somanshraj
Sat Apr 03, 2021 5:58 pm
Forum: General discussion
Topic: Compile error - STM32F412VE
Replies: 10
Views: 7444

Re: Compile error - STM32F412VE

Okay. This is what I added. Maybe I am missing something ?

# Generic F412VE
GenF4.menu.pnum.Generic_F412VE=Generic F412VE
GenF4.menu.pnum.Generic_F412VE.upload.maximum_size=524288
GenF4.menu.pnum.Generic_F412VE.upload.maximum_data_size=262144
GenF4.menu.pnum.Generic_F412VE.build.board=GENERIC ...
by somanshraj
Sat Apr 03, 2021 3:06 pm
Forum: General discussion
Topic: Compile error - STM32F412VE
Replies: 10
Views: 7444

Compile error - STM32F412VE

The following STM32F412VE Arduino board is not available, hence I added the variant by copying the closest variant Generic_F412Rx and doing the necessary changes to files in it. On compiling the error I'm stuck at is :

/Library/Arduino15/packages/STM32/tools/xpack-arm-none-eabi-gcc/9.2.1-1.1/bin ...

Go to advanced search