Build error for custom board file #1142
Replies: 8 comments
-
Posted at 2023-11-03 by yngv126399 I answer my own issue... sometimes just writing it out leads me to the answer.. If I supply a usart=1 in the chip section, if compiles. Makes sense, but interesting you can't decline to have a usart. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-03 by @fanoush it worked before, I definitely used it with Magic3, for now you can remove one line in NRF5X.make
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-03 by yngv126399 Yes, I had a 2v10 version that built fine, just wanted to update it. I'm OK with defining a usart for now, but thanks. You wouldn't even recognize my (first) QY03 now.. i removed the LCD and ran a breakout from the FPC, so it's running an EPD screen now. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by @gfwilliams Thanks! Interesting this fails now and now before, and it's in the HAL... I guess somehow we need to disable NRF_UART completely if we're not asking for uart functionality? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by @fanoush I tried
but it did not help, the $(NRF5X_SDK_PATH)/integration/nrfx/legacy/nrf_drv_uart.c and .h file have no checks in them and always evaluate something, I think typedefs in header file in the
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by @gfwilliams So I guess this is specifically an SDK15 thing? I guess we could hack around it by adding |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by @fanoush I guess it was working before you added BANGLE2 and uart driver source into SDK15 makefiles (becasue of GPS)? |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-06 by @fanoush I think some hack similar to I2C slave - remove source from list in makefile if UART_COUNT<1 but with i2c there is easy check for some i2c slave #define |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-11-03 by yngv126399
I'm getting these errors during my build:
Here is the relevant (Ihope) portion of my build file:
Not sure why it's happening here and not in other builds (like BANGLEJS2)...?
jv
Beta Was this translation helpful? Give feedback.
All reactions