Quantcast
Channel: acassis – Alan C. Assis
Browsing all 870 articles
Browse latest View live
↧

Image may be NSFW.
Clik here to view.

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 Article


Image may be NSFW.
Clik here to view.

Testing 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 Article


Image may be NSFW.
Clik here to view.

Taking 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Entrevista 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 Article


Image may be NSFW.
Clik here to view.

Comparing 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 Article

Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Video Tutorial: Unlock the Hidden Flash of STM32F103C8

View Article


Image may be NSFW.
Clik here to view.

Log 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 Article


Image may be NSFW.
Clik here to view.

NuttX Channel #014: Using a Nokia 5110 Display on NuttX

View Article

Image may be NSFW.
Clik here to view.

Issues 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 Article

Image may be NSFW.
Clik here to view.

Renaming 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 Article

Image may be NSFW.
Clik here to view.

Reduzing 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 Article


Image may be NSFW.
Clik here to view.

Compiling 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 Article

Image may be NSFW.
Clik here to view.

Creating 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 Article


Image may be NSFW.
Clik here to view.

NuttX 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 Article

Image may be NSFW.
Clik here to view.

Keeping 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 Article


Image may be NSFW.
Clik here to view.

Programming 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 Article

Image may be NSFW.
Clik here to view.

Counting 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 Article

Image may be NSFW.
Clik here to view.

Home 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
Browsing all 870 articles
Browse latest View live