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

compile error in bootloader with latest commit (12th July 2019) #1

Closed
ghost opened this issue Jul 13, 2019 · 2 comments
Closed

compile error in bootloader with latest commit (12th July 2019) #1

ghost opened this issue Jul 13, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 13, 2019

compile error in bootloader with latest commit (12th July 2019)

Code was removed in "WIP: DMA of I2C” update of
..../SWN/inc/drivers/pca9685_driver.h

(It’s a trivial one line code change to fix)

-----8<-----

bootloader.cc: In function 'int main()':
bootloader.cc:314:2: error: 'LEDDriver_Init' was not declared in this scope
LEDDriver_Init(10);
^~~~~~~~~~~~~~
bootloader.cc:314:2: note: suggested alternative: 'LEDDriver_init_dma'
LEDDriver_Init(10);
^~~~~~~~~~~~~~
LEDDriver_init_dma
Makefile:144: recipe for target 'build/bootloader/bootloader.o' failed
make: *** [build/bootloader/bootloader.o] Error 1

@danngreen
Copy link
Member

Thanks for the find! I corrected it and pushed the fix
Note: it actually should be
LEDDriver_init_direct(10);
Not
LEDDriver_init_dma(10);

@ghost
Copy link
Author

ghost commented Sep 6, 2019 via email

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