Skip to content
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

Bug During Compilation #1439

Closed
srjtmitra5 opened this issue Jul 7, 2021 · 1 comment · Fixed by #1440
Closed

Bug During Compilation #1439

srjtmitra5 opened this issue Jul 7, 2021 · 1 comment · Fixed by #1440

Comments

@srjtmitra5
Copy link

Controller: STM32L051C8

Issue: 17 | #if !defined(CUSTOM_PERIPHERAL_PINS)
|
Using library SrcWrapper at version 1.0.1 in folder: C:\Users\omkar\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.0.0\libraries\SrcWrapper
exit status 1
processing.app.debug.RunnerException
at cc.arduino.Compiler.lambda$callArduinoBuilder$3(Compiler.java:309)
at processing.app.debug.MessageSiphon.run(MessageSiphon.java:96)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
at cc.arduino.Compiler.message(Compiler.java:525)
at cc.arduino.i18n.I18NAwareMessageConsumer.message(I18NAwareMessageConsumer.java:80)
at cc.arduino.MessageConsumerOutputStream.flush(MessageConsumerOutputStream.java:71)
at cc.arduino.MessageConsumerOutputStream.write(MessageConsumerOutputStream.java:54)
at java.io.OutputStream.write(OutputStream.java:75)
at cc.arduino.Compiler.lambda$callArduinoBuilder$3(Compiler.java:307)
... 2 more

Code:
void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}

@fpistm
Copy link
Member

fpistm commented Jul 7, 2021

Hi @srjtmitra5
Thanks for the report but it misses the main information of the error 😉 :

packages\STMicroelectronics\hardware\stm32\2.0.0\variants\STM32L0xx\L051C(6-8)(T-U)\PeripheralPins_RHF76_052.c:17: error: unterminated #if
   17 | #if !defined(CUSTOM_PERIPHERAL_PINS)
      | 

@fpistm fpistm added this to To do in STM32 core based on ST HAL via automation Jul 7, 2021
@fpistm fpistm added this to the 2.x.x milestone Jul 7, 2021
@fpistm fpistm added the Bug 🐛 label Jul 7, 2021
fpistm added a commit to fpistm/Arduino_Core_STM32 that referenced this issue Jul 7, 2021
Fixes stm32duino#1439

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
STM32 core based on ST HAL automation moved this from To do to Done Jul 7, 2021
fpistm added a commit that referenced this issue Jul 7, 2021
Fixes #1439

Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging a pull request may close this issue.

2 participants