main/Kconfig.projbuild

Sat, 21 Oct 2023 16:22:20 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 21 Oct 2023 16:22:20 +0200
changeset 4
426defedd402
parent 1
86b275481021
permissions
-rw-r--r--

Added 77.5 KHz signal generation

0
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
1 menu "DCF77tx configuration"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
2
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
3 orsource "$IDF_PATH/examples/common_components/env_caps/$IDF_TARGET/Kconfig.env_caps"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
4
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
5 menu "WiFi settings"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
6
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
7 config ESP_WIFI_SSID
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
8 string "WiFi SSID"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
9 default "myssid"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
10 help
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
11 SSID (network name) for to connect to.
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
12
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
13 config ESP_WIFI_PASSWORD
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
14 string "WiFi Password"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
15 default "mypassword"
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
16 help
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
17 WiFi WPA2/WPA3 password to use.
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
18
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
19 endmenu
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
20
4
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
21 config ANTENNA_100_PIN
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
22 int "Pin to drive the DCF77 antenna at 100% power"
0
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
23 range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
4
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
24 default 4 if IDF_TARGET_ESP32C3
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
25 default 4
0
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
26 help
4
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
27 GPIO number (IOxx) to connect to the DCF77 antenna for 100% power.
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
28
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
29 config ANTENNA_15_PIN
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
30 int "Pin to drive the DCF77 antenna at 15% power"
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
31 range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
32 default 5 if IDF_TARGET_ESP32C3
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
33 default 5
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
34 help
426defedd402 Added 77.5 KHz signal generation
Michiel Broek <mbroek@mbse.eu>
parents: 1
diff changeset
35 GPIO number (IOxx) to connect to the DCF77 antenna for 15% power.
0
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
36
1
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
37 config LED1_PIN
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
38 int "LED 1 port pin"
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
39 range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
40 default 1 if IDF_TARGET_ESP32C3
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
41 default 1
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
42 help
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
43 Output LED 1, default GPIO port 1
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
44
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
45 config LED2_PIN
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
46 int "LED 2 port pin"
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
47 range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
48 default 0 if IDF_TARGET_ESP32C3
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
49 default 0
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
50 help
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
51 Output LED 2, default GPIO port 0
86b275481021 Added framework for the DCF77 transmitter. Added two debug LEDs.
Michiel Broek <mbroek@mbse.eu>
parents: 0
diff changeset
52
0
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
53
913eb9ca40b1 Initial checkin, WiFi connects and SNTP timesync works.
Michiel Broek <mbroek@mbse.eu>
parents:
diff changeset
54 endmenu

mercurial