I’m pleased to announce that a new release of the McuOnEclipse components is available in
SourceForge, with the following major changes and updates:
Complete refactoring for
1-Wire stack and DS18B20 temperature sensor components Added
HID Joystick device class to the FSL_USB_Stack New
SDK_Timer component to work with Kinetis SDK New
ST756P LCD driver component New
TSL2561 digitial temperature sensor driver Added ReadByte() and WriteByte()
GenericI2C functions Added 64bit mapping functions to
Utility added configUSE_NEWLIB_REENTRANT and newlib reentrancy support to
FreeRTOS Pull resistor support for
SDK_BitIO Many smaller bug fixes and enhancements
Posted in Component Release, Embedded, Embedded Components, FreeRTOS, Freescale, I2C, Processor Expert, SDK, Shell, SourceForge, USB |
Tagged 1-Wire, CodeWarrior, DS18B20, Eclipse, Embedded Component, FreeRTOS, Freescale, Joystick, Kinetis SDK, newlib, newlib-nano, NXP, open source projects, software, software project, ST756P, TSL2561, USB HID |
For reliable applications, I avoid using functions of the standard libraries. They are banned for most safety related applications anyway. I do
not use or avoid
printf() and all the other variants, for many reasons including the ones listed in “
Why I don’t like printf()“. Instead, I’m using smaller variants (see “ XFormat“). Or I’m using only the thread-safe FreeRTOS heap memory allocation which exist for many good reasons.
Things get problematic if
malloc() still is pulled in, either because it is used by a middleware (e.g. TCP/IP stack) or if using C++.
Dave Nadler posted a detailed article ( http://www.nadler.com/embedded/newlibAndFreeRTOS.html) about how to use newlib and newlib-nano with FreeRTOS.
FreeRTOS Newlib Memory Allocation Scheme
Posted in ARM, Building, CPU's, Eclipse, Embedded, Embedded Components, FreeRTOS, Freescale, gcc, Kinetis, LPC, LPC, MCUXpresso, MCUXpresso IDE, NXP, Processor Expert, SDK, Tips & Tricks |
Tagged arm gcc, Building, dynamic memory allocation, Eclipse, FreeRTOS, Freescale, Heap, linker file, newlib, newlib-nano, NXP, Processor Expert, software, software project, technology, Tips&Tricks |