Commit graph

76 commits

Author SHA1 Message Date
Jean-François Milants 1ad7840072 Watch face selection at build time
Replace the options that allowed to select the user apps independently by a single string variable that contains the ordered list of apps to build.
2023-12-23 21:29:13 +01:00
Jean-François Milants e00b98b82c CMake User Applications selection
Revert changes that need "return PROPAGATE" since this is not available in our Docker build (it needs CMake 3.25 and we have 3.22).
2023-12-23 21:29:13 +01:00
Jean-François Milants 2bc9318451 CMake User Applications selection
Use CMake's configure_file() functionality to generate the list of User Applications.

All the apps included in current versions of InfiniTime are enabled by default, but this can now be overridden by setting variables ENABLE_APP_XXX to True or False.

CMake CMP0140 is set to NEW to enable the return PROPAGATE functionality.
2023-12-23 21:29:13 +01:00
Reinhold Gschweicher a544da9ed1 cmake: update the TARGET_DEVICE selection choices as well
The properties are used for CMake-GUI configuration applications to
provide a set of values by dropdown.
2023-12-16 11:43:31 +01:00
Jean-François Milants 63e0c4f4ef Application selection at build time
A list of "user applications" is built at compile time. It contains all the info needed to create the application at runtime (ptr to a create() function) and to display the app in the application menu. All applications declare a TypeTrait with these information.
When a new app must be loaded, DisplayApp first check if this app is a System app (in which case it creates it like it did before). If it's not a System app, it looks for the app in the list of User applications and creates it if it found it.
Those changes allow to more easily add new app and to select which app must be built into the firmware.
Switch to C++20 (and fix a few issues in SpiMaster.cpp and Watchdog.cpp.
2023-11-19 21:13:55 +01:00
Jean-François Milants 5f3acfadd2 Set version to 1.13.0 2023-06-24 16:00:10 +02:00
Jean-François Milants 238a829577 Set version to 1.12.0 2023-04-02 14:48:26 +02:00
Riku Isokoski a3e14c012d src: Enable unused parameter warning
Fix warnings.
Some clang-formatting was necessary.
DebugPins is unused and was removed.
2023-01-24 10:43:17 +02:00
Jean-François Milants b56c5f25f0 Set version to 1.11. 2022-10-16 14:18:14 +02:00
Jean-François Milants 6ed8e983e9 Remove CMake targets and corresponding CLI arguments that are specific to the debugging environment (USE_JLINK, USE_OPENOCD and USE_GDB_CLIENT). 2022-09-17 21:25:54 +02:00
Jean-François Milants e2a3d9f0c7 Small improvement in generate-fonts.py following code review.
Add lv_img_conf in Docker image to build resources at build time.
2022-09-11 14:44:36 +02:00
Jean-François Milants 8a14038324 Set version to 1.10 2022-06-29 18:05:06 +02:00
Christoph Honal 8b0559c481 Add basic hardware configuration options for P8
This enables the configuration of the LFCLK source,
as well as the target hardware board pin configuration.
2022-06-27 08:28:48 +03:00
Christoph Honal e247afaa81 CMake: Extend debug configuration
Enable debug output for InfiniTime, Nimble and the NRF SDK
via SEGGER RTT on debug builds.
2022-06-19 21:23:59 +02:00
Ildar Mulyukov 36740498db CMakeLists.txt: add double quotes in STRIP command
fixes cases when git is missing in the build system
2022-06-06 19:41:57 +02:00
Jean-François Milants b498e1d633 Set version to 1.9.0 2022-04-02 16:31:39 +02:00
Reinhold Gschweicher 688dc2fed7 Create Version.h in binary dir instead of src dir
Don't use source directory for generated files. Use the binary (build)
directory instead.
2022-01-17 21:26:40 +01:00
Jean-François Milants 26ae828e39 Set version to 1.8.0 2022-01-07 17:27:43 +01:00
Jean-François Milants 9671a8451f Fix unresponsive touch panel after update to 1.7 : don't care if device ids are not the ones we expected (until we know more about these communication and IDs issues). 2021-11-14 20:32:25 +01:00
Jean-François Milants a57fda6ba4 Set version to 1.7.0 2021-11-11 09:54:30 +01:00
Jean-François Milants e9bb0b3cdd Set version to 1.6.0 2021-09-28 20:21:50 +02:00
Jean-François Milants d03db14129 Set version to 1.5.0 2021-09-26 10:57:02 +02:00
hubmartin e614af1c4a Add WATCH_COLMI_P8 option to cmake & docs 2021-09-13 11:41:51 +02:00
Jean-François Milants 6f9f0e8b0e Set version to 1.4.0. 2021-09-02 20:32:50 +02:00
Alexandros Feuerstein bb26c68f2c
minor changes regarding building (#356)
* don't enforce any flashing through debug ports
2021-07-24 15:39:24 +02:00
Jean-François Milants d6cccc2dcd Set version to 1.3.0 2021-07-23 11:46:37 +02:00
Jean-François Milants 20a24f8cf5 Set version to 1.2.0 2021-06-19 20:59:18 +02:00
Jean-François Milants 7c9513be8a Set version to 1.1.0. 2021-05-21 11:37:32 +02:00
Stoian Minaiev e04c8ee95e git: store git short ref hash on build stage to Version.h 2021-05-14 01:08:37 +03:00
JF002 77470e73f9 Set version to 1.0.0, wohoo! 2021-04-16 21:34:21 +02:00
Jean-François Milants 68bdaee1cc First integration of the motion sensor (bma 421) : step counting + wake on wrist rotation + app to see the value of the 3 axis in "real time". 2021-04-04 15:56:04 +02:00
Niall Cooling e5e3fc02b8 Updated to include WatchFaceAnalog and fixed clashes 2021-03-22 17:23:49 +00:00
Jean-François Milants 9f9d0eb5df Set version to 0.15.0 2021-03-21 17:12:29 +01:00
Niall Cooling 14bd790701 Resolved C++14 Cmake build issues so correctly building to C99/C++14 standards 2021-03-16 12:43:50 +00:00
Jean-François Milants e63596b291 Set version to 0.14.1 2021-03-07 21:29:02 +01:00
Jean-François Milants 9f67e6f652 Merge branch 'develop' into recovery-firmware
# Conflicts:
#	src/CMakeLists.txt
#	src/displayapp/DisplayApp.h
#	src/systemtask/SystemTask.cpp
#	src/systemtask/SystemTask.h
2021-03-07 08:44:14 +01:00
Jean-François Milants e8a8a8417f Set version to 0.14.0 2021-02-24 20:28:26 +01:00
Jean-François Milants 324c7dab32 Set version to 0.13.0 2021-02-14 14:46:22 +01:00
Jean-François Milants 6420885abb Set version to 0.12.1 2021-02-07 18:09:53 +01:00
Jean-François Milants 16ce5bbb75 Set version to 0.12..0 2021-02-04 17:33:22 +01:00
Jean-François Milants 740b3d7b58 Add new cmake option to disable the generation of DFU file (which needs adafruit-nrfutil on the build machine) : BUILD_DFU (disabled by default, enabled in docker build). 2021-02-01 21:07:53 +01:00
Jean-François Milants 84b509ed95 Set version to 0.11.0 2021-01-23 17:39:53 +01:00
Jean-François Milants 50ae0ae5e0 Set version to 0.10.0. 2021-01-04 19:56:01 +01:00
Joe Eaves 186fee9337 Generate post_build.sh into CMAKE_CURRENT_BINARY_DIR 2020-12-22 11:38:17 +00:00
JF c5bf09d21b Set version to 0.9.0 2020-10-27 20:00:06 +01:00
Avamander 455d8319e4 Reformatted the CMakeLists for consistency 2020-10-02 21:43:30 +03:00
JF 3e612e79ba Set version to 0.8.2 2020-09-20 14:41:21 +02:00
JF d757344f1b Docker post build : generate post build script with versions from the CMake project. 2020-09-08 22:15:10 +02:00
JF 4e8e52bf6e Fix constness and set version to 0.8.1. 2020-09-02 21:36:13 +02:00
JF f197a3fe88 All output files (bin, hex, image, dfu) contain the version of the project in their filename.
Update Docker build script accordingly.
Also fix permission issue with docker build (all files belonged to root).
2020-08-19 21:52:46 +02:00