name: esp32c2
manufacturer:
  id: 0x12
  cc: 0xc
chip_detection:
- !Espressif
  idcode: 0xcc25
  variants:
    0x6f51306f: esp32c2
    0x7c41a06f: esp32c2
variants:
- name: esp32c2
  cores:
  - name: main
    type: riscv
    core_access_options: !Riscv
  memory_map:
  - !Nvm
    name: 16 Mb Max addressable Flash
    range:
      start: 0x0
      end: 0x1000000
    cores:
    - main
    access:
      boot: true
  - !Nvm
    name: External data bus
    range:
      start: 0x3c000000
      end: 0x3c400000
    cores:
    - main
    is_alias: true
  - !Ram
    name: SRAM1 Data bus
    range:
      start: 0x3fca0000
      end: 0x3fce0000
    cores:
    - main
  - !Generic
    name: ROM1, Data bus
    range:
      start: 0x3ff00000
      end: 0x3ff50000
    cores:
    - main
  - !Generic
    name: ROM0
    range:
      start: 0x40000000
      end: 0x40040000
    cores:
    - main
  - !Generic
    name: ROM1
    range:
      start: 0x40040000
      end: 0x40090000
    cores:
    - main
  - !Ram
    name: SRAM1 Instruction bus
    range:
      start: 0x40380000
      end: 0x403c0000
    cores:
    - main
  - !Nvm
    name: External instruction bus
    range:
      start: 0x42000000
      end: 0x42400000
    cores:
    - main
    is_alias: true
  flash_algorithms:
  - esp32c2-flashloader
  jtag:
    scan_chain:
    - name: main
      ir_len: 5
  default_binary_format: idf
flash_algorithms:
- name: esp32c2-flashloader
  description: A flash loader for the esp32c2.
  default: true
  instructions: RVJST1IgYnVmIG5vdCB3b3JkIGFsaWduZWQKVkVSSUZZICBieXRlcyBAIApSRUFEIEZMQVNIIFBST0dSQU0gRVJBU0UgQCAAAAAAAHQhCED0IwhABCQIQOQlCECQAQAA7B4IQJwhCECsIQhAsCMIQENoaXAgcmV2aXNpb246IAAIAAAADAAAACAAAAAgAAAAAAAAAAAAVFRSIFJFR0dFU0lOSVQKVGVybWluYWwAAAAAAAQAAAAIAAAAEAAAACAAAABAAAAAgAAAAAABAAAAAgAAAAQAAAAIAAAAEP///////////////wAAAAQAAAAIAAAAEP///////////////////////////////////////////////////////////////////////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Kh+OXD/yxoDqEEeftt3aH+d8eh+m/ooZKh6qHAcwDJs4Bg8QHAIUHOpYFByMAlgD9FvX2IplyhhRSWFIzNlkAMwbAQDN5JgGBjSKVobcjIi4DMkSiRBJJQQGCgEERBsYTBxAQtwcBASVIqUaKiJOHFxA+wD7CIxThAKVHKoY+hzNV1QLGl7MF1QKzBbZAk+UFAyOAtwCTB/f/42HI/gUHM4X4AK1FBQWZjZcAAADngIDnskBBAYKAskAiRJJEAklBAYKArWU3hss/EwYGALKVg8XFwIKC
  load_address: 0x4038c000
  data_load_address: 0x3fcb0000
  pc_init: 0x32c
  pc_uninit: 0x64e
  pc_program_page: 0x4ea
  pc_erase_sector: 0x22c
  pc_erase_all: 0x204
  pc_verify: 0x6b0
  pc_blank_check: 0x16c
  pc_read: 0x5a0
  pc_flash_size: 0x28c
  data_section_offset: 0xba0
  rtt_location: 0x3fcc2c10
  rtt_poll_interval: 500
  flash_properties:
    address_range:
      start: 0x0
      end: 0x1000000
    page_size: 0x4000
    erased_byte_value: 0xff
    program_page_timeout: 1000
    erase_sector_timeout: 2000
    sectors:
    - size: 0x10000
      address: 0x0
  cores:
  - main
  stack_overflow_check: false
  transfer_encoding: miniz
