cmsis_device_h7 icon indicating copy to clipboard operation
cmsis_device_h7 copied to clipboard

Allow VECT_TAB_OFFSET to be set externally

Open armandas opened this issue 3 years ago • 4 comments

Currently, in order to change the value of VECT_TAB_OFFSET, the user has to modify the system_stm32h7xx.c file. This is inconvenient in cases where the value has to change for different builds.

If the code was changed from:

#define VECT_TAB_OFFSET         0x00000000U

to

#ifndef VECT_TAB_OFFSET
#define VECT_TAB_OFFSET         0x00000000U
#endif

The user could define the value via a command line, like so -DVECT_TAB_OFFSET=0x00020000.

armandas avatar Aug 12 '22 01:08 armandas

@ALABSTM I think this is duplicate/would also fix https://github.com/STMicroelectronics/cmsis_device_g4/issues/1

utkarshsethi avatar Sep 14 '22 13:09 utkarshsethi

not being able to define this externally, or having this inside a user block, is a real inconvenience, especially when developing seperate boot / application firmware.

It's are really small fix, is there a reason for not implementing it yet?

okz avatar Oct 18 '23 10:10 okz

Hi everyone,

@armandas, thank you for having reported. We already logged the point internally and are working on it, among many other points.

@utkarshsethi, you're absolutely right. This is the same issue as the one you mentioned. However, as the repos are different, we will keep track of them separately.

@okz, I understand your point. We will try to have this fix implemented, deployed, and released soon enough hopefully.

Thank you all for your patience and your comprehension.

With regards,

ALABSTM avatar Nov 29 '23 13:11 ALABSTM

ST Internal Reference: 116475

ALABSTM avatar Nov 29 '23 13:11 ALABSTM