STM32 DMA notes 

- When using burst mode you have to point to the DMAR register not the first register to target
- Timer update and CC DMA requests require different channels
[ hozzászólás ] ( 4 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 170 )
When QML live bench slow like a hell during Sailfish OS app development... 

... and you see a bunch of "invalid header" in the QML Debugger Console.
Then turn ON the shadow build because the QML live bench tries to deploy our object codes and other building residual files to the target, and in the case if there is a lot it might take a lot of time...
[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 141 )
PhpOffice/PhpSpreadSheet getStyle()->getFont() does not return correct values 

Open your spreadsheed in non-readonly mode (remove setReadDataOnly(true))
[ hozzászólás ] ( 3 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 119 )
Access Microsoft Graph API with Qt (using Qt Network Authentication) 

1. register a native application at the Microsoft Azure Active directory:
https://portal.azure.com






Make sure you start the redirect url with http://127.0.0.1 not http://localhost! More details here.

3. starting from the reddit example modify your dode with:

auto replyHandler = new QOAuthHttpServerReplyHandler(1337, this);
oauth2.setClientIdentifier("xxxxxx-a90c-494d-808e-3749796ae80f";);
oauth2.setReplyHandler(replyHandler);
oauth2.setAuthorizationUrl(QUrl("https://login.microsoftonline.com/common/oauth2/authorize";));
oauth2.setAccessTokenUrl(QUrl("https://login.microsoftonline.com/common/oauth2/token";));

[ hozzászólás ] ( 2 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 120 )
Testing flashrom 


head -c 8388608 </dev/urandom > random.bin
date
./flashrom -p stlinkv3_spi:spispeed=12000 -w random.bin -c MX25L6406E/MX25L6408E
date
./flashrom -p stlinkv3_spi:spispeed=12000 -r random_read.bin -c MX25L6406E/MX25L6408E
date
diff random.bin random_read.bin


[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 120 )

<< <Előző | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | Következő> >>

 
számláló