Skip to main content

Posts

Featured

Creating variables in MCUXpresso IDE

  Introduction MCUXpresso is a tool with an interface to build firmware for several micrcocontrollers, for example NPX microcontrollers, on my case, to LPC17xx family. Recently, while developing a feature, I explored the use of variables to my case, where the code should be used for different boards with different configurations but the same logic. An example would be ports configurations for LPC1756 and LPC1768. They have a different number of ports and also a different ports position, but use the same logic. In this case, the best option would be create variables to add to the code and build with different configurations, which contains different variable values. This way I can easily build firmware without to change the code. So in this short post I will share about how to use variables and different configurations with the same code to build for different microcontrollers . Configurations Like told before, the same code could be used for different boards, and the key to do that...

Latest Posts

gitlab-ci-local: running your tests locally

Gitlab Releases: create versions and serve files

Automate the update of multiple containers

Developer tools to make your dev life easier

CAN Bus: remote update

Set ESP WiFi connection by POST request