Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Allow loading vendor code from a custom location #1914

Merged
merged 2 commits into from Apr 20, 2020

Conversation

tgsong
Copy link

@tgsong tgsong commented Apr 17, 2020

Description

Per IDT request, this PR allows user(usually vendor partners) to specify an arbitrary location for vendor code using the AFR_BOARD_PATH variable. Example,

  • cmake -DAFR_BOARD_PATH='../tmp/afr-esp/boards/esp32' -DCOMPILER=xtensa-esp32 -S . -B build -GNinja
  • cmake -DAFR_BOARD_PATH='../tmp/afr-st/boards/stm32l475_discovery' -DCOMPILER=arm-gcc -S . -B build -GNinja

Checklist:

  • I have tested my changes. No regression in existing tests.
  • My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

CMakeLists.txt Outdated Show resolved Hide resolved
PreLoad.cmake Outdated Show resolved Hide resolved
@tgsong tgsong merged commit 8a96c95 into aws:master Apr 20, 2020
@tgsong tgsong deleted the cmake_vendor_location branch April 20, 2020 17:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants