Friday, September 1, 2017

STM32 Generic Qbs Project

We want to compile and link an STM32 application (which uses Standard Peripheral Driver Library) in 1 click with minimal configuration time (Thanks to Nik!).

- Install the STM link Driver from here:
- Install ARM GCC compiler from here:
- Install QT Creator from here:
- In Qt go to Help>>About Plugins and enable "BareMetal" Plugin.
- In Qt go to Tools>>Options open Build & Run. Go to Compilers tab and add "arm-none-eabi-gcc.exe" path to compiler path.
- Use my friend's QBS "STM32 Generic Qbs Project"  from here:

Wednesday, June 21, 2017

TensorFlow "Hello World!" on Windows

1. Install Python from here.
2. Install PyCharm from here.
3. Open command prompt and enter the following command:
       pip3 install --upgrade tensorflow
4. Open PyCharm and create a new project and a python file.
5. Enter the following short program inside the python file:
    import tensorflow as tf
    hello = tf.constant('Hello World!')
    sess = tf.Session()
6. Shift + F10

Deep Learning

The best book for deep learning:
Best language: Python
Best Library: Tensorflow