summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
6 hoursfw: app: Rename to settings.csettingsxengineering
23 hoursfw: app: Enable settings with NVS backendxengineering
3 daysfw: app: Fix disabled network hackHEADmainxengineering
This got lost during development but is an important option to compensate the hardware issues present on Nucleo F767ZI.
3 daysfw: app: Re-design web pagexengineering
This enables simple.css also for the device-hosted website and restructures the HTML a bit.
3 daysfw: Add flash and erase targetsxengineering
These targets are added: - fw/erase - fw/app/flash - fw/btl/flash They make it easier to perform a mass-erase, flashing of the bootloader and flashing of the application for development.
4 daystools: deploy.py: Add default for artifactsxengineering
This allows to call `deploy.py` without any arguments in most cases.
4 daystools: deploy.py: Add --dry-runxengineering
This makes debugging easier and safer.
4 daystools: Add deploy.pyxengineering
This makes it easier to deploy the installed artifacts to a remote server as part of the deployment.
5 daysweb: Fix layoutxengineering
simple.css requires to use the `<main>` tag for the main page content. Otherwise the spacing between page elements is way too large.
5 daysSimplify build and install stepsxengineering
8 daysSimplify website structure and drop Hugoxengineering
A static site generator is currently not really required. A static index.html is currently sufficient.
8 daysSimplify artifacts directoryxengineering
9 daysMerge website and CMake to Meson transitionxengineering
Building a website to structure and deploy the artifacts was planned and requires a well set-up build system to handle all the file paths targets and dependencies. Since multiple CMake Zephyr builds are required for the application firmware, bootloader firmware and the native_sim application firmware simulation CMake external project was used. Since this generates a build tree with a confusing structure Meson was evaluated. Finally the Meson build system was a good fit as top-level build system and allows external projects as an experimental feature if they can configure a Make-based build system which is given for Zephyr.
9 daysweb: Structure index pagexengineering
9 daysUpdate README.mdxengineering
9 daystools: Add meson.buildxengineering
9 daysRemove top-level CMake build systemxengineering
Meson now handles this. CMake is only used as Meson external project to build Zephyr firmwares.
9 daysfw: Remove README.mdxengineering
9 daysfw: Remove nucleo.shxengineering
Because of the Meson build system the application firmware is signed automatically. Furthermore all artifacts required to flash the Nucleo board are deployed to the website. Thus this script is not necessary anymore.
9 daysfw: app: Add image signing to Meson buildxengineering
This automates signing the application firmware image for the MCUboot bootloader.
9 daysfw: sim: Integrate into Meson buildxengineering
This adds a build for the native_sim board of the application firmware to the default Meson build. The resulting Linux binary is also added to the webpage.
9 daysfw: app: Build with Mesonxengineering
9 daystools: Use argparse for build scriptsxengineering
This makes them re-usable for the application and native_sim firmwares.
9 daysfw: btl: Clean meson.buildxengineering
9 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.
9 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.
9 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.
9 daysfw: btl: Clean up meson.buildxengineering
9 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.
9 daysfw: btl: Fix build with Mesonxengineering
10 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.
10 daysweb: Replace file copying by Meson installationxengineering
This makes the build system code way less hacky and more modular.
10 daysDeploy schematic and BOM to websitexengineering
These important design files should be deployed with the website.
10 daysweb: Depend on schematic and bom targetsxengineering
This triggers a website rebuild when schematic files are updated.
10 dayspcb: Switch from CMake to Mesonxengineering
This allows to install the PCB-related files easier to the website which is built with Meson.
10 daysweb: Remove CMakexengineering
Trying meson worked so well that CMake is no longer needed.
12 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.
12 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.
13 daysAdd simple.css v2.3.5xengineering
This provides the CSS code for the deploy website as well as the web interface of the device.
13 daysweb: Fix dependencies in CMakexengineering
This makes sure incremental builds work properly for the web page.
13 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.
13 daysFix compile_commands.json symlinkxengineering
14 daysweb: 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.
14 dayscmake: Provide based CMake integration for Hugoxengineering
This is the starting point of making the Hugo static site generation part of the regular CMake build.
14 daysweb: 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
14 daysweb: 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.
14 dayspcb: 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.
14 dayspcb: 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.