Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32: missing files/directory? #17

Closed
deadprogram opened this issue Sep 22, 2018 · 2 comments
Closed

stm32: missing files/directory? #17

deadprogram opened this issue Sep 22, 2018 · 2 comments

Comments

@deadprogram
Copy link
Member

I think perhaps the recent commit to add initial stm32 support might be missing some files from the check-in:

$ make gen-device-stm32
./tools/gen-device-svd.py lib/cmsis-svd/data/STMicro/ src/device/stm32/ --source=https://github.com/posborne/cmsis-svd/tree/master/data/STMicro
go fmt ./src/device/stm32
can't load package: package github.com/aykevl/tinygo/src/device/stm32: no Go files in /home/ron/.gvm/pkgsets/go1.11/global/src/github.com/aykevl/tinygo/src/device/stm32
Makefile:70: recipe for target 'gen-device-stm32' failed
make: *** [gen-device-stm32] Error 1

I do not see a directory named stm32 in the repo: https://github.com/aykevl/tinygo/tree/master/src/device

@aykevl
Copy link
Member

aykevl commented Sep 22, 2018

You probably need to run:

git submodule update --init

I have pushed a change that should show a more helpful error message in this case.

@deadprogram
Copy link
Member Author

Yes, that was it, thanks. I have an stm32f030 board I want to try out... Now closing.

ZauberNerd pushed a commit to ZauberNerd/tinygo that referenced this issue Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants