name: GD32VF1 Series
manufacturer:
  id: 0x48
  cc: 0x6
variants:
- name: GD32VF103CBT6
  cores:
  - name: main
    type: riscv
    core_access_options: !Riscv
  memory_map:
  - !Nvm
    range:
      start: 0x8000000
      end: 0x8020000
    cores:
    - main
    access:
      boot: true
  - !Ram
    range:
      start: 0x20000000
      end: 0x20018000
    cores:
    - main
  flash_algorithms:
  - gd32vf103
flash_algorithms:
- name: gd32vf103
  description: GD32VF103 128 KB internal flash
  default: true
  instructions: tyUCQAlGkMnIyYhJE2UFBBOGBQEIwshFBYl1/bclAkAjqAUAyEURiRHlyEUTdgUBAUUBxlFFyMUFRYKANxUCQAxBk+UVAAzBDEGJifXdNxUCQExB8ZkTBkUADMJMQbGJ9f03FQJADEE3BgD/fRbxjQzBTEE3xsLfPQbxjTcGKCATBgZA0Y1MwQxBNwYAAdGNDMG3BQACEEFtjnXeNxUCQExB8ZmT5SUAEwZFAAzCoUVQQTGK4x62/jclAkAMSZP1BQiZybcFZ0WThTUSTMG3le/Nk4W1mkzBAUWCgIFGNycCQIVHHMuT98X/Mwj2AIXNYwsGA4MoBgD9FZOXJgCqlyOgFwFcR4WL9f9cR5GLkedcRxEGwYuFBvnbNyUCQCMiBQAFRYKAAUWCgDclAkCTBQAIDMkBRYKAAAAAAA==
  pc_init: 0x3c
  pc_uninit: 0x12a
  pc_program_page: 0xdc
  pc_erase_sector: 0x0
  data_section_offset: 0x138
  flash_properties:
    address_range:
      start: 0x8000000
      end: 0x8020000
    page_size: 0x400
    erased_byte_value: 0xff
    program_page_timeout: 100
    erase_sector_timeout: 6000
    sectors:
    - size: 0x400
      address: 0x0
  cores:
  - main
