AchimPieters / esp32-homekit-demo

esp32-homekit-demo
https://www.studiopieters.nl
MIT License
14 stars 2 forks source link

Value 'homekit' is not valid for partition #9

Closed gojimmypi closed 1 month ago

gojimmypi commented 1 month ago

Describe the bug

See the examples/led/partitions/partitions_esp32.csv.

The homekit line appears to be invalid:

homekit,  data, homekit, 0xf000,  0x1000,

This error is observed during idf.py menuconfig (but otherwise ignored, as things proceed anyhow):

Traceback (most recent call last):
  File "/mnt/c/SysGCC/esp32/esp-idf/v5.2/components/partition_table/gen_esp32part.py", line 184, in from_csv
    res.append(PartitionDefinition.from_csv(line, line_no + 1))
  File "/mnt/c/SysGCC/esp32/esp-idf/v5.2/components/partition_table/gen_esp32part.py", line 371, in from_csv
    res.subtype = res.parse_subtype(fields[2])
  File "/mnt/c/SysGCC/esp32/esp-idf/v5.2/components/partition_table/gen_esp32part.py", line 425, in parse_subtype
    return parse_int(strval, SUBTYPES.get(self.type, {}))
  File "/mnt/c/SysGCC/esp32/esp-idf/v5.2/components/partition_table/gen_esp32part.py", line 539, in parse_int
    raise InputError("Value '%s' is not valid. Known keywords: %s" % (v, ', '.join(keywords)))
gen_esp32part.InputError: Value 'homekit' is not valid. Known keywords: ota, phy, nvs, coredump, nvs_keys, efuse, undefined, esphttpd, fat, spiffs, littlefs

To Reproduce Steps to reproduce the behavior:

When building, the errors above flash by, seemingly ignored.

Expected behavior

No errors

Screenshots

See message, above

Desktop (please complete the following information):

Windows 11 / WSL

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.