Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 217577

Forum Post: RE: MSP430FR6989: Getting fatal error assert.h no file or directory on energia when running u8g2 128x64 lcd library for ST7567.

$
0
0
[quote user="Stefan Schauer"] (Please visit the site to view this file)Hi, you can copy the assert.h file from the driverlib library into the scr folder of the library. (i have also attached the file) Note: you will see another error when compiling as the MSP430 does not do any RTOS or task switching. So this line in U8x8lib.cpp //yield(); Task_yield(); should be replaced by #ifndef __MSP430__ //yield(); Task_yield(); #endif Regards, Stefan [/quote] Hi Stefan, Thanks for the help. There were few more errors after changing the above suggested line. I resolved them and attached the updated library here so if someone comes to this thread, maybe this file could be useful for them. I tested this with MSP430FR5969 and SH1106 OLed. u8g2_energia_2.24.3.zip

Viewing all articles
Browse latest Browse all 217577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>