Fixes/improvements: psoc6 test application#48
Merged
dgarske merged 3 commits intowolfSSL:masterfrom May 22, 2020
Merged
Conversation
Member
danielinux
commented
May 22, 2020
- fixed linker script
- linking with cy_gpio/cy_device for testing boot leds/pins
dgarske
requested changes
May 22, 2020
Member
dgarske
left a comment
There was a problem hiding this comment.
Getting error:
Using ./config/examples/cypsoc6.config and make clean && make:
app_psoc6.c:29:10: fatal error: cy_gpio.h: No such file or directory
29 | #include "cy_gpio.h"
| ^~~~~~~~~~~
| # $(CYPRESS_PDL)/devices/templates/COMPONENT_MTB/COMPONENT_CM0P/system_psoc6_cm0plus.o | ||
|
|
||
| ifeq ($(TARGET),psoc6) | ||
| LSCRIPT_TEMPLATE:=ARM-psoc6.ld |
Member
There was a problem hiding this comment.
Check indentation here. Some Makefiles require tabs.
Member
Author
There was a problem hiding this comment.
Fixed, thanks David! In this case it's within ifeq-s and not in a recipe, tabs cannot be used and indentation is just for readability and not enforced by makefile's syntax.
Member
Author
do you have psoc6pdl in lib/psoc6? The file should be in the include path due to |
Member
|
Yes: Guessing its because the example .config is using a path that assumes its in test-app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.