1 2 3 4 5 6 7 8 9 10 11 12
import targets class E300Hart(targets.Hart): xlen = 32 ram = 0x80000000 ram_size = 256 * 1024 * 1024 instruction_hardware_breakpoint_count = 2 link_script_path = "Freedom.lds" class E300(targets.Target): openocd_config_path = "Freedom.cfg" harts = [E300Hart()]