1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 14:03:55 +01:00
19097: cpu/esp8266/bootloader: remove compile time from banner r=kaspar030 a=gschorcht

### Contribution description

This PR fixes the problem with the compilation of the [nightlies](https://ci.riot-os.org/details/1f6a6179c0b74210940e84a6ea6e619d).

The compilation of the bootloader has been added with PR #19074. The compile time has been removed from the banner in the bootloader to fix the problem of different hashes when compiling with and without `TEST_KCONFIG`.

### Testing procedure

Green CI.

### Issues/PRs references

Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
This commit is contained in:
bors[bot] 2023-01-05 08:44:48 +00:00 committed by GitHub
commit b9fa39a33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,36 @@
From 77c23db76384d2192b9abc6f2ac8c8bf1d4b2caf Mon Sep 17 00:00:00 2001
From: Gunar Schorcht <gunar@schorcht.net>
Date: Thu, 5 Jan 2023 07:49:14 +0100
Subject: [PATCH 1/1] bootloader: remove compile time from banner
---
components/bootloader_support/src/bootloader_init.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/components/bootloader_support/src/bootloader_init.c b/components/bootloader_support/src/bootloader_init.c
index 2ecf0a58..a1f3f1aa 100644
--- a/components/bootloader_support/src/bootloader_init.c
+++ b/components/bootloader_support/src/bootloader_init.c
@@ -144,7 +144,9 @@ static esp_err_t bootloader_main()
wdt_reset_check();
ESP_LOGI(TAG, "ESP-IDF %s 2nd stage bootloader", IDF_VER);
+#if 0 /* not used in RIOT */
ESP_LOGI(TAG, "compile time " __TIME__ );
+#endif
ets_set_appcpu_boot_addr(0);
/* disable watch dog here */
@@ -623,7 +625,9 @@ static esp_err_t bootloader_main()
ESP_LOGI(TAG, "ESP-IDF %s 2nd stage bootloader", IDF_VER);
+#if 0 /* not used in RIOT */
ESP_LOGI(TAG, "compile time " __TIME__ );
+#endif
#if defined(CONFIG_FLASHMODE_QIO) || defined(CONFIG_FLASHMODE_QOUT)
fhdr.spi_mode = CONFIG_SPI_FLASH_MODE;
--
2.17.1