Skip to content

New variant: _Error_Handler() not defined in SystemClock_Config() #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ghost opened this issue Jul 20, 2017 · 0 comments
Closed

New variant: _Error_Handler() not defined in SystemClock_Config() #66

ghost opened this issue Jul 20, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@ghost
Copy link

ghost commented Jul 20, 2017

Issue reported from stm32duino:
The _Error_Handler() function is not defined when we add a new variant and copy the SystemClock_Config() from STM32CubeMX.

2 possible solutions:

  1. add the definition of error_handler()
    or
  2. add an indication inside the wiki step 5
@ghost ghost changed the title New variant: error_handler() not defined in SystemClock_Config(void) New variant: _Error_Handler() not defined in SystemClock_Config() Jul 20, 2017
@fpistm fpistm added the enhancement New feature or request label Nov 26, 2017
@fpistm fpistm added this to the Next release milestone Nov 26, 2017
@fpistm fpistm self-assigned this Nov 30, 2017
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Nov 30, 2017
Allow to use the SystemClock_Config() from STM32CubeMX without any change.
It could be redefined by user at sketch level (weak)

extern "C" void _Error_Handler(const char * file, int line)
{
...
}

Fix stm32duino#66

Signed-off-by: Frederic.Pillon <[email protected]>
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this issue Apr 10, 2019
Allow to use the SystemClock_Config() from STM32CubeMX without any change.
It could be redefined by user at sketch level (weak)

extern "C" void _Error_Handler(const char * file, int line)
{
...
}

Fix stm32duino#66

Signed-off-by: Frederic.Pillon <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant