flashmap

package
v0.0.0-...-dab1723 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const C_VAR_COMMENT = `` /* 209-byte string literal not displayed */
View Source
const C_VAR_NAME = "sysflash_map_dflt"
View Source
const HEADER_PATH = "sysflash/sysflash.h"

Variables

This section is empty.

Functions

func EnsureFlashMapWritten

func EnsureFlashMapWritten(
	fm FlashMap,
	srcDir string,
	includeDir string,
	targetName string) error

Types

type FlashMap

type FlashMap struct {
	PkgName     string
	Areas       map[string]flash.FlashArea
	Overlaps    [][]flash.FlashArea
	IdConflicts [][]flash.FlashArea
}

func Read

func Read(ymlFlashMap map[string]interface{}, pkgName string) (FlashMap, error)

func (FlashMap) ErrorText

func (flashMap FlashMap) ErrorText() string

func (FlashMap) SortedAreas

func (flashMap FlashMap) SortedAreas() []flash.FlashArea

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL