From b8eb8473eab9daeb7a1252954852e0114ab77734 Mon Sep 17 00:00:00 2001 From: rbaron Date: Tue, 15 Oct 2024 19:08:47 +0200 Subject: [PATCH] Remove historical nrf52840dk_nrf52840.overlay This relic of the past was briefly used when I first wrote the nrf-connect firmware and tested it against the nrf52840dk_nrf52840 dev board. --- .../samples/ble/nrf52840dk_nrf52840.overlay | 86 ------------------- 1 file changed, 86 deletions(-) delete mode 100644 code/nrf-connect/samples/ble/nrf52840dk_nrf52840.overlay diff --git a/code/nrf-connect/samples/ble/nrf52840dk_nrf52840.overlay b/code/nrf-connect/samples/ble/nrf52840dk_nrf52840.overlay deleted file mode 100644 index 6e86aaf..0000000 --- a/code/nrf-connect/samples/ble/nrf52840dk_nrf52840.overlay +++ /dev/null @@ -1,86 +0,0 @@ -&pinctrl { - /* Configure pwm0 instance to use pin 5. */ - pwm0_default: pwm0_default { - group1 { - psels = ; - nordic,invert; - }; - }; - - pwm0_sleep: pwm0_sleep { - group1 { - psels = ; - low-power-enable; - }; - }; - - /* Configure i2c0 instance to use pins 24 (SDA) & 13 (SCL). */ - i2c0_default: i2c0_default { - group1 { - psels = , - ; - }; - }; - - i2c0_sleep: i2c0_sleep { - group1 { - psels = , - ; - low-power-enable; - }; - }; -}; - -&i2c0 { - shtc3: shtc3@70 { - compatible = "i2c-device"; - reg = <0x70>; - label = "SHTC3"; - }; -}; - -&adc { - #address-cells = <1>; - #size-cells = <0>; - channel@0 { - reg = <0>; - zephyr,gain = "ADC_GAIN_1_6"; - zephyr,reference = "ADC_REF_INTERNAL"; - zephyr,acquisition-time = ; - // P0.03. - zephyr,input-positive = ; - zephyr,resolution = <10>; - - }; - - channel@1 { - reg = <1>; - zephyr,gain = "ADC_GAIN_1_6"; - zephyr,reference = "ADC_REF_INTERNAL"; - zephyr,acquisition-time = ; - // P0.02. - zephyr,input-positive = ; - zephyr,resolution = <10>; - }; - - channel@2 { - reg = <2>; - zephyr,gain = "ADC_GAIN_1_6"; - zephyr,reference = "ADC_REF_INTERNAL"; - zephyr,acquisition-time = ; - zephyr,input-positive = ; - zephyr,resolution = <10>; - }; -}; - -/ { - zephyr,user { - io-channels = <&adc 0>, <&adc 1>, <&adc 2>; - }; - - soil_pwm: soil_pwm { - compatible = "pwm-fixed"; - pwms = <&pwm0 0 PWM_MSEC(100) PWM_POLARITY_INVERTED>; - pulse = ; - }; -}; \ No newline at end of file