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

C library for STM32 with emgo #22

Open
4 tasks
isaacvr opened this issue Oct 31, 2019 · 0 comments
Open
4 tasks

C library for STM32 with emgo #22

isaacvr opened this issue Oct 31, 2019 · 0 comments

Comments

@isaacvr
Copy link

isaacvr commented Oct 31, 2019

Feature description

C library for STM32 MCU

Is your feature request related to a problem? Please describe.
It is not possible to run the library in lib/cgo on MCU .

Describe the solution you'd like

Use emgo to transpile skycoin/skycoin library code to C , then link binaries for STM32 platform

Describe alternatives you've considered
All other alternatives for compiling with go for MCU in the end rely on Firmata, which does not fit in our use case scenario.

Additional context
Ideally this could be used to upgrade the cipher library used in skycoin/hardware-wallet. Priority consists in support for STM32F4 series.

Possible implementation

  • Transpile skycoin/skycoin library code to C using emgo .
  • Link against library for STM32
  • Parameterize the test suite (if needed) so as to test multiple implementations
  • Execute the current test suite by calling the binaries obtained in aforementioned steps
@isaacvr isaacvr added this to the 0.27.0 milestone Oct 31, 2019
isaacvr pushed a commit to simelo/libskyfiber that referenced this issue Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant