How to cherry-pick Specific Files from a Commit
Embedded Artistry
by Phillip Johnston
2M ago
5 January 2024 by Phillip Johnston I ran into a situation recently where I wanted to perform a git cherry-pick operation, but I only wanted to pull specific files from the commit. The reasons for this itself aren’t so important – I just wantEr to use git show to generate a diff involving the desired files, and then treat that as a patch to apply applied. The general format is: git show [sha] -- [file1 ... filen] | git apply --index - ““ Note You can specify entire directories, not just files. The --index argument on git apply will essentially make the changes to your working files and the ..read more
Visit website
2023 in Review
Embedded Artistry
by Phillip Johnston
3M ago
1 January 2024 by Phillip Johnston The end of one year (or the beginning of the next) is always a great time to check in. In review, 2023 was quite a productive one: Published a total of 123 new items on the website: 26 blog posts, 23 Glossary entries, 42 Field Atlas entries, and 32 lessons (across all of our courses) The site grew to 1939 pages Made 1,257 updates to existing pages on the website Published our 78th monthly newsletter, marking 6.5 years that it has been continuously running Ended the year with active members from 32 countries (and a total lifetime count of 40 countries) Mad ..read more
Visit website
Resolving Git Commit History Divergence Due to Case-Sensitive Rename Operations
Embedded Artistry
by Phillip Johnston
5M ago
8 November 2023 by Phillip Johnston This post is mostly a note-to-self, because I’ve solved this before but have no notes on it. I also hope that publishing it on my website might save someone a few minutes or hours in the future. Short Summary If your commit history has case-sensitive rename operations and you’re mucking around with history, you may need to change the value of git config core.ignorecase. If git is ignoring case, and you have a case-sensitive rename operation in history, the commit will not be preserved properly (in my case, a rename became a delete) and history will diverge ..read more
Visit website
Leveraging Your Toolchain to Improve Security
Embedded Artistry
by Phillip Johnston
6M ago
20 September 2023 by Phillip Johnston Your toolchain is a useful place to start when incorporating security into your development process. There are several warnings and program augmentations that help harden your application. This article focuses on GCC and Clang, as that’s what I primarily use. I’m happy to take suggestions from readers for other toolchains. The flags in this option are present in GCC 12+ and Clang 18+. If you’re using an earlier toolchain version, you might find that some of these options are not available to you. Table of Contents: Compiler Warnings Turn up the Warning L ..read more
Visit website
Best Practices for Safeguarding Your Connected Devices
Embedded Artistry
by Phillip Johnston
7M ago
28 August 2023 by Phillip Johnston Embedded Artistry and Memfault are joining forces to host a quarterly embedded discussion panel that is focused on the technical aspects of building embedded systems at scale. We will be featuring guest panel members who are at the cutting edge of embedded development. Our goal is to spread beneficial techniques and practices throughout the industry. Our fifth event is focused on Best Practices for Safeguarding Your Connected Devices. This discussion will be held on 7 September at 0900 PST. Phillip and Tyler will be joined by Benjamin ‘bambam’ Winston.&n ..read more
Visit website
Q&A: How Do You Stay on the Path and Make it to “Done”?
Embedded Artistry
by Phillip Johnston
10M ago
12 June 2023 by Phillip Johnston Here’s a question I answered via email from the From Concept to Launch: What It Takes to Build and Ship a New Device panel discussion. We’re sharing the answer on our blog to make it available to a wider audience. For context, during the discussion, I pointed out that a gate for releasing your product is that you need to have a clear idea of what “done” is. Not knowing what “done” looks like enables you to keep moving the goalposts and delaying the ship date. It can also get you into trouble from the manufacturing side – you might rush to build devices before y ..read more
Visit website
Q&A: How Many Iterations Do You Recommend for Scaling From a Prototype to Mass Production?
Embedded Artistry
by Phillip Johnston
10M ago
8 June 2023 by Phillip Johnston Here’s a question we answered in the Interrupt Slack channel after the From Concept to Launch: What It Takes to Build and Ship a New Device panel discussion. We’re sharing the answer on our blog to make it available to a wider audience. ““ Quote  Starting from “I have a working MVP”, how many iterations do you recommend for scaling from 1-10 units up to thousands in production? The number of iterations product and company dependent, but there’s a general formula that is commonly followed: the “NPI Process.” I’ll paint in broad brush strokes here – muc ..read more
Visit website
Q&A: To What Degree Should We Understand Other Disciplines?
Embedded Artistry
by Phillip Johnston
10M ago
7 June 2023 by Phillip Johnston Here’s a question we answered in the Interrupt Slack channel after the From Concept to Launch: What It Takes to Build and Ship a New Device panel discussion. We’re sharing the answer on our blog to make it available to a wider audience. First, I want to provide context for this question. During the discussion, I pointed out a common hurdle that teams building embedded devices face. Building and shipping an embedded system requires coordinating efforts across several disciplines: mechanical, electrical, firmware, backend servers, application software – just to na ..read more
Visit website
Meson Pattern: Monorepo that Supports Individual Subproject Builds
Embedded Artistry
by Phillip Johnston
10M ago
5 June 2023 by Phillip Johnston As mentioned in the article, Develop in a Monorepo and Distribute to Standalone Repositories Develop in a Monorepo and Distribute to Standalone Repositories, we’ve merged many of our repos into a monorepo setup, but we’re going to continue to distribute changes to the existing standalone repositories. To support this model, we have the following requirements for the build system: We need to be able to build the monorepo in its entirety. We need to be able to build subprojects within the monorepo individually. There are some challenges to making this work smoot ..read more
Visit website
From Concept to Launch: What It Takes to Build and Ship a New Device
Embedded Artistry
by Phillip Johnston
11M ago
18 May 2023 by Phillip Johnston Embedded Artistry and Memfault are joining forces to host a quarterly embedded discussion panel that is focused on the technical aspects of building embedded systems at scale. We will be featuring guest panel members who are at the cutting edge of embedded development. Our goal is to spread beneficial techniques and practices throughout the industry. Our fifth event is focused on What It Takes to Build and Ship a New Device. This discussion will be held on 1 June at 0900 PST. For this discussion, Phillip and Tyler will be joined by the venerable Elecia White, pr ..read more
Visit website

Follow Embedded Artistry on FeedSpot

Continue with Google
Continue with Apple
OR