-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
area: Configuration Systemarea: I2CbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: highHigh impact/importance bugHigh impact/importance bug
Description
When enabling I2C driver for nrf52_pca10040 or nrf51_pca10028 the following error is given:
zephyr/include/generated/generated_dts_board.h:91:33: error: 'NORDIC_NRF5_I2C0_40003000_BASE_ADDRESS_0' undeclared here (not in a function); did you mean 'NORDIC_NRF_UART_40002000_BASE_ADDRESS_0'?
zephyr/include/generated/generated_dts_board.h:93:31: error: 'NORDIC_NRF5_I2C0_40003000_CLOCK_FREQUENCY' undeclared here (not in a function); did you mean 'NORDIC_NRF5_I2C0_40003000_BASE_ADDRESS_0'?
zephyr/include/generated/generated_dts_board.h:92:28: error: 'NORDIC_NRF5_I2C0_40003000_LABEL' undeclared here (not in a function); did you mean 'NORDIC_NRF_UART_40002000_LABEL'?
And so on.
Tested on version c0d0a61
To reproduce, build samples/bluetooth/beacon/ for either nrf52_pca10040 or nrf51_pca10028 with the following configuration set:
CONFIG_I2C=y
CONFIG_I2C_NRF5=y
CONFIG_I2C_0=y
CONFIG_I2C_NRF5_0_GPIO_SDA_PIN=12
CONFIG_I2C_NRF5_0_GPIO_SCL_PIN=13
Metadata
Metadata
Assignees
Labels
area: Configuration Systemarea: I2CbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: highHigh impact/importance bugHigh impact/importance bug