Browsing All posts tagged under »linux«

STM32 Nucleo: access SD cards with C standard library

July 3, 2016

1

The ST Nucleo is an Arduino-like board with an STM32 as the microcontroller, and many Arduino shields can be mounted on it. I recently played with an Ethernet shield for the network connection, but since the shield also contains a microSD card slot, I wanted to access the SD card to read/write files. I’d like to […]

Migrated from Debian 32bit to 64bit through dual boot

May 16, 2016

1

The desktop where I do most of my stuff is a Debian testing 32bit. Recently Google Chrome team declared the end of support of 32bit Linux distributions, and I decided to take the occasion to migrate towards a 64bit Debian. I read some guides around, some old, some with big warnings and disclaimers, some interesting. Ultimately I […]

Inline assembly in GCC [linux-insides]

May 2, 2016

0

The news site lwn just posted a guide on GCC inline assembly. The guide is written in plain colloquial language and is a great complement to GCC documentation on the matter, which is more of a reference of the various functionalities. I found that the extended form of inline assembly is a powerful way to use the machine special […]

Linus Torvalds interview at TED

April 11, 2016

2

Chris Anderson, the creator of TED, interviews Linus Torvalds on the traits that are useful to create and maintain something remarkable as Linux. Linus appears as his usual self, joking about his own defects, and being overall very lucid in its analysis of the current status of Linux kernel and what happened to get there. He […]

HTTPS client on STM32 Nucleo-F411RE

February 4, 2016

4

One of my goal of the past months was to use an STM32 Nucleo board to get a webpage through HTTPS, using an Ethernet shield for TCP/IP stack. I was close last time, but I discovered that my Nucleo-F103RB did not have enough RAM. Now I have my hands on a Nucleo-F411RE that has 128KiB of RAM […]

STM32 NUCLEO-F103RB has low resources for TLS 1.2

January 10, 2016

1

It’s been months since I started playing with a STM32 Nucleo + Ethernet shield. One of the objectives that I chase is to build a device for the Internet of Things that implement reasonably secure communications. In an effort to avoid reinventing the wheel (or at least to not reinvent too many wheels) I wanted to see if […]

DNS client on STM32 Nucleo and W5100

December 13, 2015

0

I am still working on a device consisting of STM32 Nucleo F103RB with a W5100 Ethernet shield. This time I included a DNS client, so that the device can connect to a server by knowing its name. The name resolving can be invoked by using the POSIX functions getaddrinfo and gethostbyname. DNS queries can have different […]