summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
10 daystools: Add directory and move scripts herexengineering
This allows to re-use these scripts. Since they are currently used to build Zephyr builds and three are intended (application, bootloader and application as native_sim build) this makes sense.
10 daysRemove symlink compile_commands.jsonxengineering
With multiple CMake Zephyr builds a single link does not make sense anymore. The user should set a custom symlink. `.gitignore` is altered to avoid committing such a link.
10 daysBuild bootloader and add to websitexengineering
Meson makes this relatively easy. The current approach is nevertheless a bit hacky. For the first attempt it is still way better than CMake ExternalProject.
10 daysfw: btl: Clean up meson.buildxengineering
10 daysfw: btl: Configure with Python scriptxengineering
To use a more readable scripting language and keep portability the POSIX shell script for Zephyr configuration is replaced by Python.
10 daysfw: btl: Fix build with Mesonxengineering
11 daysfw: btl: Configure bootloader build with Mesonxengineering
CMake ExternalProject creates a pretty confusing build tree. Since the rest of the project anyway starts moving to Meson the bootloader is configured via Meson as a first step.
11 daysweb: Replace file copying by Meson installationxengineering
This makes the build system code way less hacky and more modular.
11 daysDeploy schematic and BOM to websitexengineering
These important design files should be deployed with the website.
11 daysweb: Depend on schematic and bom targetsxengineering
This triggers a website rebuild when schematic files are updated.
11 dayspcb: Switch from CMake to Mesonxengineering
This allows to install the PCB-related files easier to the website which is built with Meson.
11 daysweb: Remove CMakexengineering
Trying meson worked so well that CMake is no longer needed.
13 daysweb: Add simple.css to websitexengineering
This uses meson to copy the simple.css file to the build dir and references the CSS file in the HTML code.
13 daysweb: Add meson build systemxengineering
CMake has some disadvantages when building subprojects like with `ExternalProject`. Furthermore the language is sometimes hard to read, hard to write and not so much appreciated. This is a little test if meson might perform better. If successful this project might switch to meson for all parts except the Zephyr builds.
14 daysAdd simple.css v2.3.5xengineering
This provides the CSS code for the deploy website as well as the web interface of the device.
14 daysweb: Fix dependencies in CMakexengineering
This makes sure incremental builds work properly for the web page.
14 daysfw: app: Fix native_sim buildxengineering
To reduce the number of Kconfig options the network hack was added two both boards - the native_sim and nucleo_f767zi one. It reboots the device if the network connection cannot be established since this is a known bug of the nucleo board. Nevertheless it seems that for the native_sim board this command is not defined. Since it is a Linux application this makes somehow sense. This commit introduces the boolean Kconfig option `IOT_CONTACT_NETWORK_HACK` which is only enabled for the nucleo board fixing the native_sim build.
14 daysFix compile_commands.json symlinkxengineering
2025-04-01web: Embed into CMake buildxengineering
The website should be part of the regular CMake build for convenience. Later the dependencies might be set up in a way that the site automatically and incrementally updates with a ninja call.
2025-04-01cmake: Provide based CMake integration for Hugoxengineering
This is the starting point of making the Hugo static site generation part of the regular CMake build.
2025-04-01web: Add minimal Hugo-based sitexengineering
Hugo [1] is a common static site generator. It should be used to generate a site where build artifacts of this project can be presented and deployed. [1]: https://gohugo.io
2025-04-01web: Add CC-BY-SA as LICENSE.txtxengineering
The generated website should contain everything which will be deployed to the user. This site contains material based on multiple licenses to meet the matching domain like software, hardware or documentation. All the content of the website which is not installed from other directories is licensed via the given license. This keeps the usual folder-based licensing scheme for the source repository. Mixing the licenses in the deploy tree seems to be necessary at the moment.
2025-04-01pcb: gitignore: Add *-backupsxengineering
KiCad based on the not committed user settings saves backups in iot-contact-backups. Excluding those backups from Git is important to not double-track changes.
2025-04-01pcb: Update to KiCad 9.xxengineering
2025-03-30fw: app: update: Finish first HTTP PUT /updatexengineering
This adds marking the application firmware image in the secondary slot for a permanent update and rebooting the device. It is a known bug that the corresponding HTTP request is never properly closed since the device reboots while handling the request. Nevertheless the current state works and enables remote updates.
2025-03-30fw: app: update: Write uploaded image to flashxengineering
This write the received firmware image data to the secondary MCUboot slot. This prepares an update. With the MCUboot shell it can be applied with: mcuboot request_upgrade permanent kernel reboot If the signature is valid the device will permanently update to the new application firmware. Otherwise it will refuse the new image and boot the old one.
2025-03-30fw: app: update: Add data rx on HTTP PUT /updatexengineering
This implements a HTTP handler capable of receiving the full data of the firmware image upload. The data is not handled at all and thus not written to flash. This is just an incremental step towards successful firmware image upload to the secondary MCUboot slot.
2025-03-30fw: app: update: Add source file and HTTP 204 handlerxengineering
This adds the HTTP PUT /update handler which just returns HTTP 204 No Content. This is the minimal first step towards a working /update handler.
2025-03-30fw: app: Enable MCUboot shell for nucleo_f767zixengineering
This allows to use all MCUboot related functionality during the development via the shell. Furthermore it allows to inspect the current state of the primary and secondary slot. Both traits are very valuable especially during the development of the remote update system.
2025-03-30fw: app: Reboot in case of no networkxengineering
Because of an issue likely related to hardware design on the nucleo_f767zi board (see issue [1] for details) the firmware should reboot in case network access cannot be established after 4 seconds. This makes the firmware more robust at the moment. As soon as iot-contact hardware without this issue exists the behavior can be changed again. [1]: https://github.com/zephyrproject-rtos/zephyr/issues/77794
2025-03-27fw: app: Do not use CMake ExternalProjectxengineering
This made the `menuconfig` target disappear. Since the application has a quite complex configuration compared to the bootloader it is embedded to the primary CMake project while the bootloader stays an external project.
2025-03-27fw: Remove serial console from nucleo.shxengineering
This allows to keep the serial port open for a longer time and use the nucleo.sh script only for signing and flashing.
2025-03-27fw: Remove build from nucleo.shxengineering
This makes it faster and build can be easily executed by adding `-DBOARD=nucleo_f767zi` to the CMake call.
2025-03-27Link compile_commands.json from fw/appxengineering
Using CMake ExternalProject there are multiple compile_commands.json files in the build tree. Thus there is one from fw/app or another one when built for nucleo_f767zi from fw/btl. Linking the one from fw/app by default is more usable since it is the more relevant code base.
2025-03-26fw: app: Build as CMake External Projectxengineering
This adopts this pattern from the bootloader build. It adds more flexibility. It is assumed that in this way multiple builds for different boards can easily be achieved.
2025-03-26fw: rtos: Add CMakeLists.txtxengineering
This moves the definition of ZEPHYR_MODULES and ZEPHYR_BASE to this rtos folder where it fits best.
2025-03-26fw: Move MCUboot key definition herexengineering
This key is only relevant for firmware. Thus it should be set in the CMakeLists.txt file of the `fw` folder.
2025-03-26fw: rtos: modules: Rename to hal_stm32xengineering
This submodule is called `hal_stm32` upstream. Thus the submodule directory should here be called exactly the same to reduce confusion compared to `stm32`.
2025-03-26fw: rtos: modules: Move mcuboot submodule herexengineering
The mcuboot Git submodule used to be located in `fw/btl`. Nevertheless since it is also a Zephyr module it should go to `fw/rtos/modules`. This makes sure all Zephyr modules are at the same place.
2025-03-26fw: btl: Use `build/fw/btl` folder consistentlyxengineering
Previously a folder `build/fw/bootloader` was used in addition. This change removes this and puts everything bootloader-related in `build/fw/btl` to make this consistent to `build/fw/app`.
2025-03-26fw: btl: Fix ZEPHYR_BASE settingxengineering
This was not explicitly set to the kernel located at `fw/rtos/zephyr`. Thus depending on the environment other kernel checkout might be picked like `~/zephyrproject/zephyr`. This was not notices so far since there the exact same checkout was used.
2025-03-26Provide default key path in CMake filesxengineering
This makes calling cmake for this device repository easier.
2025-03-26fw: app: Move application firmware code herexengineering
This makes the structure of the `fw` folder more clear and separates application-related code from bootloader- or rtos-related code.
2025-03-22fw: Let Zephyr add board specific configurationxengineering
Handling this in the nucleo.sh script was never necessary.
2025-03-22fw: rtos: Restructure RTOS-related codexengineering
This reduces nesting and makes the directory structure simpler.
2025-03-22fw: btl: Move MCUboot build herexengineering
The directory structure should be less nested and with shorter paths. This is a first step.
2025-03-22fw: Remove empty mainxengineering
2025-03-21Update README.mdxengineering
Usage instructions were outdated.
2025-03-21Symlink imgtool.pyxengineering
The imgtool.py should be used directly by the user but is deeply nested inside the folder structure. A symlink solves this issue.
2025-03-21fw: Fix network configuration for simulationxengineering