Skip to content

Commit

Permalink
newt: Fix autogenerated linker include path
Browse files Browse the repository at this point in the history
  • Loading branch information
m-gorecki committed Apr 16, 2024
1 parent cb6f87f commit 6c86ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions newt/pkg/bsp_package.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (bsp *BspPackage) resolvePathSetting(
}

func (bsp *BspPackage) getAutogeneratedLinkerScriptPath() (string, error) {
defaultLinkerScriptPath := "bin/" + bsp.yov.Pkg.Name() + "/generated/link/mynewt.ld"
defaultLinkerScriptPath := "bin/" + bsp.yov.Pkg.FullName() + "/generated/link/mynewt.ld"
proj := interfaces.GetProject()
path, err := proj.ResolvePath(proj.Path(), defaultLinkerScriptPath)
if err != nil {
Expand All @@ -93,7 +93,7 @@ func (bsp *BspPackage) getAutogeneratedLinkerScriptPath() (string, error) {
}

func (bsp *BspPackage) GetAutogeneratedLinkerIncludePath() (string, error) {
defaultLinkerScriptPath := "bin/" + bsp.yov.Pkg.Name() + "/generated/link/include"
defaultLinkerScriptPath := "bin/" + bsp.yov.Pkg.FullName() + "/generated/link/include"
proj := interfaces.GetProject()
path, err := proj.ResolvePath(proj.Path(), defaultLinkerScriptPath)
if err != nil {
Expand Down

0 comments on commit 6c86ed0

Please sign in to comment.