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

Cannot freeze into custom firmware #52

Open
muranyia opened this issue Mar 19, 2022 · 1 comment
Open

Cannot freeze into custom firmware #52

muranyia opened this issue Mar 19, 2022 · 1 comment

Comments

@muranyia
Copy link

I'm trying to freeze the driver into a custom circuitpython firmware by adding
FROZEN_MPY_DIRS += $(TOP)/../Adafruit_CircuitPython_Bundle/libraries/drivers/adafruit_mcp230xx
to mpconfigboard.mk. This works for other drivers, but for the mcp230xx I get:

make: *** No rule to make target '../../../Adafruit_CircuitPython_Bundle/libraries/drivers/adafruit_mcp230xx', needed by 'build-feather_m4_express/frozen_mpy'. 
@tekktrik
Copy link
Member

Have you tried adding the the repo to the frozen/ folder? Then you could do:

FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_MCP230xx

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