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

Libraries #4

Open
mohit2b opened this issue Oct 1, 2019 · 2 comments
Open

Libraries #4

mohit2b opened this issue Oct 1, 2019 · 2 comments

Comments

@mohit2b
Copy link

mohit2b commented Oct 1, 2019

I don't understand from where did you download libraries such as
#include <Tools.h>
#include <BCH.h>
#include <SRAM_CY62256N.h> in slave-cy62256nll for arduino in order to retrieve stable bit location using cypress sram(section 1.1 in readme of codes).

@myndcryme
Copy link
Collaborator

Maybe this will help you:

https://github.com/Tribler/software-based-PUF/blob/master/Source%20Code/enrollment%20and%20testing/slave-cy62256nll/lib/readme.txt

make sure you use platformio. Just a heads up, I also had some compiler issues that required changing some strings to char array in main.cpp for building to succeed and make sure your device path is correct.

@myndcryme
Copy link
Collaborator

To be a bit more specific I just used platformio cli - no need for fancy gui or ide integration.

After platformio is set up, just navigate to the path of the binary you want to build that contains the platform.ini file and run platformio.

i.e. from directory ~/software-based-PUF/src/enrollment and testing/slave-cy62256nll/

platformio run (build only)
platformio run --target upload (build and upload)

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