Ruffian Heng bimonthly issue 34

Time:2021-9-8

Ruffian Heng embedded semi monthly: issue 34

Here we share some interesting projects / tools and some hot news in the embedded field. The lunar year is divided into 24 solar terms. We hope to release one issue on time on each festival day.

This journal is an open source project (GitHub:JayHeng/pzh-mcu-bi-weekly), you are welcome to submit an issue, contribute or recommend what you know.

Previous reviewRuffian Heng bimonthly: issue 33

Talk a little

This Monday is the summer solstice, today in history: on June 26, 1997, the British magic literature Harry Potter 1 – the mysterious Sorcerer’s stone was published.

This issue contains 2 pieces of information, 3 items and 2 tools. I hope it will help you!

Information

1. The first risc-v China Summit was held in Shanghai

The first risc-v World Conference China was grandly opened in Shanghai University of science and technology on June 21. The summit, with more than 1000 offline people, more than 10000 online participants and more than 100 manufacturers giving speeches or participating in exhibitions, is by far the largest risc-v themed summit in China. This is also the first time risc-v has held a summit of the same scale outside North America.

Agenda:https://www.riscv-conf-china.com/cn/agenda.html

2. CAS Institute of computing announces open source risc-v processor core – Xiangshan

Bao Yungang’s team from the Institute of computing technology of the Chinese Academy of Sciences launched an open-source high-performance risc-v processor Xiangshan, which is implemented based on chisel hardware design language and supports rv64gc instruction set. Xiangshan has two versions of microarchitecture. The first version is Yanqi lake and the second version is Nanhu.

Project home page:https://github.com/OpenXiangShan/XiangShan

Yanqi lake is an out of order processor core with 11 levels of pipelining, 6 transmitters and 4 memory access components. The frequency of this architecture can reach 1.5% [email protected] 28nm, the performance is expected to reach 7 min / GHz (spec CPU 2006). The design goal of Nanhu is higher: the frequency is expected to reach [email protected] At 14nm, the performance is expected to reach 10 min / GHz (spec CPU 2006).

Project class

1. Rt-fota – Open Source bootloader framework based on stm32

Rt-ota is the general bootloader (commercial in nature and not open source) of STM32 Series MCU officially launched by RT thread, and rt-fota can be understood as the folk open source version of rt-ota project, which is maintained by Wang Xi.

Project home page:https://gitee.com/spunky_973/rt-fota

Main functions of rt-fota:

1. Support the official RBL packaging software of RTT, and the use method is also consistent. Currently, CRC32, aes256, quicklz and fastz functions are supported;

2. Ranfs – a lightweight embedded file system library

Ranfs is written based on C (C89). It provides POSIX compatible file operation API and lightweight file system library. Ranfs aims to provide fully functional and efficient file operation API for embedded devices, and realize read-write or read support for a variety of file systems through upper interface encapsulation.

Project home page:http://www.ranfs.com/cn/?RFS

Ranfs can run in MCU environment with few resources, such as 8051, PIC, AVR, arm, DSP, Z80, 78k and so on. Ranfs currently supports FAT12 / 16 / 32 read-write file systems, NTFS, ext2, ext3 and ext4 read-write file systems, disks with sectors larger than 512 bytes, hard disks with more than 2T, multi partition and multi file, long file name opening, creation and deletion, fast file opening through sector offset, directory creation, etc.

3. Simplegui – a GUI interface library designed for monochrome displays

Simplegui is an extensible embedded open source GUI solution for monochrome display. It provides drawing interfaces for various common interface elements and a concise HMI interaction engine. In addition, it also includes a simple LCD simulator with screenshot saving and copying functions. Users can also simulate their own processing logic in the simulation environment.

Project home page:https://gitee.com/Polarix/simplegui

Simplegui provides the following functions on the premise of minimizing resource consumption:

1. Drawing functions of points, lines, basic geometry, monochrome bitmap, text, etc.

The LCD simulator of simplegui is developed based on wxWidgets GUI framework. System engineering CodeBlocks integrated development environment and MinGW compiler.

Tool class

1. Clion – cross platform IDE for C / C + +

Clion is a cross platform ide designed for developing C and C + + produced by jetbrain. It is designed based on IntelliJ and contains many intelligent functions to help developers develop C / C + + on Linux, OS X and windows. At the same time, it also uses intelligent editor to improve code quality, automatic code refactoring and deeply integrate cmake compilation system, So as to improve the development efficiency of developers.

Software home page:https://www.jetbrains.com/zh-cn/clion/promo/

2. Tabnine – the best code completion tool

This is a “deep tabnine” code completion tool developed by Jacob Jackson, a Xueba from Canada. It supports 23 programming languages (Java / Python / C + +) and 5 editors (vs Code / sublime text / atom / Emacs / VIM). It is simple to use and has amazing results. Many netizens have said that tabnine is the best code completion tool they have used. It is a killer application for programmers.

Software home page:https://www.tabnine.com/

Welcome to subscribe

The article will be published to me at the same timeBlog Park home pageCSDN home pageZhihu home pageWeChat official accountOn the platform.

Wechat search“Ruffian scale“Or scan the QR code below to see it for the first time on the mobile phone.