name: esp32c3
manufacturer:
  id: 0x12
  cc: 0xc
chip_detection:
- !Espressif
  idcode: 0x5c25
  variants:
    0x1b31506f: esp32c3
    0x4881606f: esp32c3
    0x6921506f: esp32c3
    0x4361606f: esp32c3
variants:
- name: esp32c3
  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 flash on data bus (Read Only)
    range:
      start: 0x3c000000
      end: 0x3d000000
    cores:
    - main
    is_alias: true
  - !Ram
    name: SRAM Data bus
    range:
      start: 0x3fc80000
      end: 0x3fce0000
    cores:
    - main
  - !Generic
    name: ROM1, Data bus
    range:
      start: 0x3ff00000
      end: 0x3ff20000
    cores:
    - main
  - !Generic
    name: ROM0
    range:
      start: 0x40000000
      end: 0x40040000
    cores:
    - main
  - !Generic
    name: ROM1
    range:
      start: 0x40040000
      end: 0x40060000
    cores:
    - main
  - !Ram
    name: SRAM Instruction bus
    range:
      start: 0x40380000
      end: 0x403e0000
    cores:
    - main
  - !Nvm
    name: External flash on instruction bus (Read Only)
    range:
      start: 0x42000000
      end: 0x43000000
    cores:
    - main
    is_alias: true
  flash_algorithms:
  - esp32c3-flashloader
  jtag:
    scan_chain:
    - name: main
      ir_len: 5
  default_binary_format: idf
flash_algorithms:
- name: esp32c3-flashloader
  description: A flash loader for the esp32c3.
  default: true
  instructions: [encoded data, 4096 characters]
  load_address: 0x40390000
  data_load_address: 0x3fcb0000
  pc_init: 0x35c
  pc_uninit: 0x6ac
  pc_program_page: 0x548
  pc_erase_sector: 0x25c
  pc_erase_all: 0x234
  pc_verify: 0x70e
  pc_blank_check: 0x19c
  pc_read: 0x5fe
  pc_flash_size: 0x2bc
  data_section_offset: 0xc00
  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
