Skip to content

Commit

Permalink
mcu/pic32mz: Fix build when no UART is enabled
Browse files Browse the repository at this point in the history
Dependency to hal_uart was only added when one or more UART_x was enabled.
pic32mz_periph.c uses normal if statement to exclude unused UART's so
package dependency is needed event though no UART is used.
  • Loading branch information
kasjer committed Mar 11, 2024
1 parent c68ddf0 commit 15b6a58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hw/mcu/microchip/pic32mz/pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@ pkg.keywords:
- pic32
- pic32mz

pkg.deps.(UART_0 || UART_1 || UART_2 || UART_3 || UART_4 || UART_5):
- "@apache-mynewt-core/hw/drivers/uart/uart_hal"

pkg.deps:
- "@apache-mynewt-core/hw/hal"
- "@apache-mynewt-core/hw/drivers/uart/uart_hal"

pkg.deps.ETH_0:
- "@apache-mynewt-core/hw/drivers/lwip/pic32_eth"

0 comments on commit 15b6a58

Please sign in to comment.