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

I2C Fallback driver not building on WB32 #389

Closed
dexter93 opened this issue Jan 24, 2024 · 0 comments
Closed

I2C Fallback driver not building on WB32 #389

dexter93 opened this issue Jan 24, 2024 · 0 comments

Comments

@dexter93
Copy link
Contributor

dexter93 commented Jan 24, 2024

Driver mk calls a file that doesn't exist

PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C/hal_i2c_lld.c
endif
else
PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C/hal_i2c_lld.c
endif
PLATFORMINC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C

Solutions

  1. Do nothing, merge Community I2C Fallback extended driver #388
  2. Use the Chibios driver Fix I2C Fallback inclusion and build on more platforms #390
-     PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C/hal_i2c_lld.c
+    PLATFORMSRC_CONTRIB += $(CHIBIOS)/os/hal/lib/fallback/I2C/hal_i2c_lld.c
   endif 
 else 
-   PLATFORMSRC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C/hal_i2c_lld.c 
+  PLATFORMSRC_CONTRIB += $(CHIBIOS)/os/hal/lib/fallback/I2C/hal_i2c_lld.c
 endif 
- PLATFORMINC_CONTRIB += $(CHIBIOS_CONTRIB)/os/hal/lib/fallback/I2C 
+ PLATFORMINC_CONTRIB += $(CHIBIOS)/os/hal/lib/fallback/I2C 
This issue was closed.
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

1 participant