Skip to content

Commit 144d13c

Browse files
committed
Update init sequence
1 parent 3f41e78 commit 144d13c

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

libs/remote_sensor/pkg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ pkg.deps:
4242
# Generated sysinit(): bin/targets/bluepill_my_sensor/generated/src/bluepill_my_sensor-sysinit-app.c
4343

4444
pkg.init:
45-
# remote_sensor should be initialised after nrf24l01 (Stage 605)
46-
remote_sensor_create: 607 # Call remote_sensor_create() to initialise the driver during startup
45+
# remote_sensor should be initialised after sensor_coap (Stage 660)
46+
remote_sensor_create: 670 # Call remote_sensor_create() to initialise the driver during startup

libs/sensor_coap/pkg.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ pkg.deps.COAP_CBOR_ENCODING:
5252
# Generated sysinit(): bin/targets/bluepill_my_sensor/generated/src/bluepill_my_sensor-sysinit-app.c
5353

5454
pkg.init:
55-
# sensor_coap should be initialised after esp8266 (Stage 640)
56-
init_sensor_coap: 650 # Call init_sensor_coap() to initialise the Sensor CoAP module during startup
55+
# sensor_coap should be initialised after esp8266 (Stage 650)
56+
init_sensor_coap: 660 # Call init_sensor_coap() to initialise the Sensor CoAP module during startup

libs/sensor_network/src/sensor_network.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ const uint8_t *get_hardware_id(void) {
209209
hw_id_len = hal_bsp_hw_id_len(); // Fetch the length, i.e. 12
210210
assert((unsigned) hw_id_len >= sizeof(hw_id)); // Hardware ID too short.
211211
hw_id_len = hal_bsp_hw_id(hw_id, sizeof(hw_id)); assert(hw_id_len > 0); // Get the hardware ID.
212+
console_printf("hwid "); console_dump(hw_id, hw_id_len); console_printf("\n");
212213
}
213214
return hw_id;
214215
}

0 commit comments

Comments
 (0)