@@ -1061,7 +1061,7 @@ SYMBOL TABLE:
1061106100000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 1 0000000e .Lanon.a1ce8d617669cf2f75141f25115b0b98. 1
1062106200000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 10 00000007 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 10
1063106300000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 11 00000001 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 11
1064- 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 12 0000000e .Lanon.a1ce8d617669cf2f75141f25115b0b98. 12
1064+ 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 12 00000012 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 12
1065106500000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 13 00000024 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 13
1066106600000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 15 0000000c .Lanon.a1ce8d617669cf2f75141f25115b0b98. 15
1067106700000000 l O .rodata.cst4 00000004 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 16
@@ -1070,9 +1070,9 @@ SYMBOL TABLE:
1070107000000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 23 00000000 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 23
1071107100000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 24 00000010 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 24
1072107200000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 4 00000018 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 4
1073- 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 5 00000018 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 5
1073+ 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 5 0000001c .Lanon.a1ce8d617669cf2f75141f25115b0b98. 5
1074107400000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 7 00000018 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 7
1075- 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 8 00000005 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 8
1075+ 00000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 8 0000000d .Lanon.a1ce8d617669cf2f75141f25115b0b98. 8
1076107600000000 l O .rodata..Lanon.a1ce8d617669cf2f75141f25115b0b98. 9 00000007 .Lanon.a1ce8d617669cf2f75141f25115b0b98. 9
1077107700000000 l O .rodata._ZN3app10gps_sensor10GPS_DEVICE17h9632919ea1cd25c6E 0000000c _ZN3app10gps_sensor10GPS_DEVICE17h9632919ea1cd25c6E
1078107800000000 l F .text._ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE 00000144 _ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE
@@ -1361,10 +1361,10 @@ extern fn handle_gps_data(sensor: sensor_ptr, _arg: sensor_arg,
13611361 18 : f8cd c020 str .w ip , [ sp , # 32 ]
13621362/Users/Luppy/mynewt/stm32bluepill - mynewt - sensor/rust/app/src/gps_sensor.rs: 76
13631363 sensor_data: sensor_data_ptr , sensor_type: sensor_type_t) - > MynewtError {
1364- console::print( "Rust handle_sensor_data\n" ) ;
1364+ console::print( "*** Rust handle_sensor_data\n" ) ;
13651365 1c: f240 0000 movw r0 , # 0
13661366 20 : f2c0 0000 movt r0 , # 0
1367- 24 : 2118 movs r1 , # 24
1367+ 24 : 211c movs r1 , # 28
13681368 26 : f8cd e010 str .w lr , [ sp , # 16 ]
13691369 2a: 9403 str r4 , [ sp , # 12 ]
13701370 2c: 9502 str r5 , [ sp , # 8 ]
@@ -1426,10 +1426,10 @@ extern fn handle_gps_data(sensor: sensor_ptr, _arg: sensor_arg,
14261426 8a: d10c bne.n a6 <_ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE + 0xa6 >
14271427 8c: e7ff b.n 8e <_ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE + 0x8e >
14281428/Users/Luppy/mynewt/stm32bluepill - mynewt - sensor/rust/app/src/gps_sensor.rs: 85
1429- console::print( "GPS not ready\n" ) ;
1429+ console::print( "*** GPS not ready\n" ) ;
14301430 8e: f240 0000 movw r0 , # 0
14311431 92 : f2c0 0000 movt r0 , # 0
1432- 96 : 210e movs r1 , # 14
1432+ 96 : 2112 movs r1 , # 18
14331433 98 : f7ff fffe bl 0 <_ZN6mynewt3sys7console5print17h0f65bc3b0e739871E>
14341434 9c: e7ff b.n 9e <_ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE + 0x9e >
14351435 9e: f06f 0001 mvn.w r0 , # 1
@@ -1450,10 +1450,10 @@ extern fn handle_gps_data(sensor: sensor_ptr, _arg: sensor_arg,
14501450 be: ed9d 0b12 vldr d0 , [ sp , # 72 ] ; 0x48
14511451 c2: ed8d 0b1a vstr d0 , [ sp , # 104 ] ; 0x68
14521452/Users/Luppy/mynewt/stm32bluepill - mynewt - sensor/rust/app/src/gps_sensor.rs: 91
1453- console::print( "lat: " ) ; console::printdouble(latitude);
1453+ console::print( "*** GPS lat: " ) ; console::printdouble(latitude);
14541454 c6: f240 0000 movw r0 , # 0
14551455 ca: f2c0 0000 movt r0 , # 0
1456- ce: 2105 movs r1 , # 5
1456+ ce: 210d movs r1 , # 13
14571457 d0: f7ff fffe bl 0 <_ZN6mynewt3sys7console5print17h0f65bc3b0e739871E>
14581458 d4: e7ff b.n d6 <_ZN3app10gps_sensor15handle_gps_data17hd01302e5f121f8abE + 0xd6 >
14591459 d6: ed9d 0b16 vldr d0 , [ sp , # 88 ] ; 0x58
@@ -1789,7 +1789,8 @@ fn aggregate_sensor_data(_sensor_value: &SensorValue) {
17891789 0 : b082 sub sp , # 8
17901790 2 : 4601 mov r1 , r0
17911791 4 : 9001 str r0 , [ sp , # 4 ]
1792- /Users/Luppy/mynewt/stm32bluepill - mynewt - sensor/rust/app/src/gps_sensor.rs: 141
1792+ /Users/Luppy/mynewt/stm32bluepill - mynewt - sensor/rust/app/src/lib.rs: 1
1793+ / *
17931794 6 : 9100 str r1 , [ sp , # 0 ]
17941795 8 : b002 add sp , # 8
17951796 a: 4770 bx lr
0 commit comments