Flash programming support for WCH-LinkE tool

This commit is contained in:
Nav
2024-11-16 20:05:26 +00:00
parent 0118306e30
commit 07283a2dc7
24 changed files with 638 additions and 53 deletions

View File

@@ -3,6 +3,7 @@
#include <cstdint>
#include <algorithm>
#include <vector>
#include <span>
#include <set>
#include <optional>
#include <cassert>
@@ -13,6 +14,7 @@ namespace Targets
using TargetMemorySize = std::uint32_t;
using TargetStackPointer = TargetMemoryAddress;
using TargetMemoryBuffer = std::vector<unsigned char>;
using TargetMemoryBufferSpan = std::span<const TargetMemoryBuffer::value_type>;
using TargetAddressSpaceId = std::size_t;
using TargetMemorySegmentId = std::size_t;