I show how I handle two different hardware targets (robot and development board) sharing the same software. First at compile time and then at runtime.
0:00 Intro
0:42 Overview
1:32 Add argument to make (compile time)
3:50 Some exceptions
4:20 Commit 1
4:52 Detect hardware at runtime
6:18 Modifying my PCB
8:00 Write code to detect pullup
9:00 Test Robot
9:43 Test Launchpad
10:02 Separate folders
10:30 Commit 2
10:47 Fix typos from last video
11:18 Outro
#embeddedsystems #cprogramming #electronics
🌍 Useful links
https://www.beningo.com/5-tips-for-ve...
https://embeddedartistry.com/fieldatl... https://github.com/artfulbytes/nsumo_...
⌨️ My development environment
https://www.artfulbytes.com/devenv
🌍 Links
GitHub - https://github.com/artfulbytes
Website - https://www.artfulbytes.com
👨💻 About me
Hi and welcome. I'm Niklas, an embedded systems engineer from Sweden. On this channel, I make practical videos about embedded systems or, in general terms, about building and programming hardware.
Смотрите видео Handling multiple Hardware Versions | Embedded System Project Series #13 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Artful Bytes 03 Январь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2,27 раз и оно понравилось 7 людям.