libnklabs

NK Labs Common Library (by nklabs)

Libnklabs Alternatives

Similar projects and alternatives to libnklabs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better libnklabs alternative or higher similarity.

libnklabs reviews and mentions

Posts with mentions or reviews of libnklabs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-29.
  • Keyboard Shortcuts every Command Line Hacker should know about GNU Readline
    13 projects | news.ycombinator.com | 29 Nov 2022
    Two issues with readline: it's GPL and it's big. For embedded systems intended to become products you really need something else. My tiny variant is this, but for sure there are many others:

    https://github.com/nklabs/libnklabs

    ("nkreadline" has editing, tab-completion (for embedded "nkcli" commands) and history)

  • Rtems Real Time Operating System
    3 projects | news.ycombinator.com | 3 Aug 2022
    I used RTEMS on Movius Myriad vision CPU (running on LEON- a SPARC clone).

    I remember the RTEMS event concept was not very good- the events are globally shared. You are better off using semaphores.

    >I have realized that for a majority of the embedded software using an RTOS is an overkill

    I agree with this. Instead of an OS, we like to use a small framework that provides a CLI, database and UART communications (YMODEM protocol). It's a single stack system that provides a simple work-queue for scheduling future tasks / callbacks, and for interrupt code to schedule non-interrupt code. It works for almost everything as long as you are comfortable programming in an event-driven style.

    https://github.com/nklabs/libnklabs

    (recently added support for AVR 8-bit processors).

  • Framework: Open Sourcing Our Firmware
    10 projects | news.ycombinator.com | 21 Jan 2022
    I've extracted the Chromium-EC encryption functions, they are convenient for signing / verifying firmware on other platforms. Chromium-ec is nice for example code like this:

    https://github.com/jhallen/rsa-verify

    On the other hand, if you are looking for some generic embedded system code all in C, here is our library:

    https://github.com/nklabs/libnklabs

    I think it's most unique feature is the embedded schema-based database- so you can save things like calibration and configuration information in local flash memory. Recently I've been adding device drivers for all common devices I can find on break-out boards for the Arduino and Raspberry-PI communities.

  • Show HN: Library to quickly make MCU-based products
    1 project | news.ycombinator.com | 2 Jan 2022
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 2 May 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic libnklabs repo stats
4
20
5.3
3 months ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com