Testing cWebSocket
These are the steps I did to compile the cWebSocket (https://github.com/m8rge/cwebsocket) : alan@machine:~/cwebsocket/lib$ gcc -c websocket.c -o websocket.o alan@machine:~/cwebsocket/lib$ ar rcs...
View ArticleTesting LLVM LIBC++ on NuttX
Clone NuttX: $ git clone https://bitbucket.org/nuttx/nuttx Clone NuttXās Apps: $ git clone https://bitbucket.org/nuttx/apps Clone libc++ for NuttX: $ git clone https://bitbucket.org/acassis/libcxx...
View ArticleTaking screenshot/printscreen over ADB
This is the way I use to take screenshot of Android screen over ADB: $ adb shell screencap -p /sdcard/screencap.png && adb pull /sdcard/screencap.png
View ArticleUsing an Android phone as WebCAM over USB
I was looking for a way to use my smartphone as webcam and found this page: http://www.skipser.com/p/2/p/android-as-webcam.html I tried the second option listed in the post, an application called...
View ArticleEntrevista sobre Sistemas Embarcados
Eu fui entrevistado pelo canal Mundo da Elétrica para falar sobre Sistemas Embarcados, você pode assistir a entrevista logo abaixo: Espero que vocês tenham gostado, qualquer dúvida deixe sua pergunta...
View ArticleComparing NuttX with Zephyr
Today I decided to do a basic test comparing a small NuttX hello-world against the zephyr hello-world. First let explain that Iām a NuttX contributor and maybe Iām a little bit biased, but I tried to...
View ArticleUsing PVS-Studio to find bugs in C/C++
I heard a news that pvs-studio was used to find around 27000 bugs in the Tizen. Then I decided to test it here. I installed it using their Debian/Ubuntu apt repository as explained here:...
View ArticleLog of NuttX USB Mass Storage Debugging
stm32_usbinitialize: called NuttShell (NSH) nsh> msconn msconn [2:100] nsh> mcsonn_main: Creating block drivers mcsonn_main: Configuring with NLUNS=1 usbmsc_configure: Enter! mcsonn_main:...
View ArticleIssues compiling OSD Lyrics
I love the OSD Lyrics, it is very good the see music lyrics in the Linux computer. After cloning it from https://github.com/osdlyrics/osdlyrics and executing: $ ./autogen.sh ... checking for GTK2......
View ArticleRenaming multiples files on Linux
Today I rediscovered the rename command (yes I used it in the past and documented it here, but I forgot). I needed to rename name *.cpp files to *.cxx, then I used: $ rename 's/\.cpp$/\.cxx/' *.cpp...
View ArticleReduzing Memory consumption: Smaller Vector Tables
I want to reduce the memory consumption to NuttX in the stm32f103-minimum board to get external SPI NOR Flash with SmartFS and USB Serial Console at same time. After mount the SmartFS partition I will...
View ArticleCompiling sigrok and pulseview
Install the dependencies: $ sudo apt-get install automake libudev-dev checkinstall libglib2.0-dev libftdi-dev sdcc python3-dev qt-sdk libboost-system-dev libboost-thread-dev libboost-filesystem-dev...
View ArticleCreating a HC-SR04 driver for NuttX
In this post I will explain how I did the HC-SR04 driver for NuttX. I think this is the first time I try to explain how to create a driver for NuttX, oh wait! It is not! The first time was this post:...
View ArticleNuttX Channel #016: Using the HC-SR04 to measure distance
I create a new video explaining how to use the ranging sensor HC-SR04 on NuttX:
View ArticleKeeping your bitbucket repo in sync with upstream
I imported the NuttX repository to my bitbucket account with name nuttx_nyx (for NyX board). Then I want to keep it in sync with mainline/upstream without accessing the bitbucket page to click on...
View ArticleProgramming Smoothieboard V2 Mini
Iām testing the Smoothieboard V2 Mini The JP10 (BOOT2) is in the position 0 (tied to ground) because I will program it using SWD instead using the LPCScript DFU/bootloader. First we need to clone the...
View ArticleCounting number of commits
You can count the number of commits between two commits these way: git log ac93d4bda9..77fadbdd0d4 --pretty=oneline | wc -l It is very useful when you want to know number of commits between to package...
View ArticleHome Assistent
This is the probably the fourth home automation project that cited here. The project page: https://home-assistant.io It has integration with NEST products, Hue lamp and many other services. Thanks Fred...
View Article