main/CMakeLists.txt

Sun, 16 Apr 2023 12:27:12 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 16 Apr 2023 12:27:12 +0200
changeset 30
7448b8dd4288
parent 18
12506716211c
child 31
ec5c7794dcd6
permissions
-rw-r--r--

Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.

30
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
1 if(CONFIG_ENABLE_BLE_GATT)
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
2 set(srcs config.c iotbalkon.c task_bmp280.c task_ina219.c task_apds9930.c task_wifi.c task_mqtt.c task_ble.c task_out.c xutil.c nvsio.c)
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
3 else()
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
4 set(srcs config.c iotbalkon.c task_bmp280.c task_ina219.c task_apds9930.c task_wifi.c task_mqtt.c task_out.c xutil.c nvsio.c)
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
5 endif()
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
6
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
7 idf_component_register(SRCS "${srcs}"
7448b8dd4288 Preparations for BLE GATT. Added extra time after INA219 is powered on before measurement. Reduced LEDC frequency to 60 Hz, that makes the LED lights less nervous. Hardware mod on output 4, now needs external pulldown resistor.
Michiel Broek <mbroek@mbse.eu>
parents: 18
diff changeset
8 INCLUDE_DIRS ".")

mercurial