Fixed inverted digital output pin

master
Marcel 1 year ago
parent 4ea12ae960
commit 2038a1aa9d
  1. 5
      CHANGELOG.md
  2. BIN
      build/src/CMakeFiles/main.dir/main.cpp.obj
  3. BIN
      build/src/main.bin
  4. 6
      build/src/main.dis
  5. BIN
      build/src/main.elf
  6. 12
      build/src/main.elf.map
  7. 6
      build/src/main.hex
  8. BIN
      build/src/main.uf2
  9. 6
      src/main.cpp

@ -52,3 +52,8 @@ First (more or less) working version.
### Fixed
- Struct for saving settings to FLASH is now 256 bytes excactly (problem with padding done by the compiler)
## [1.1.1] - 2023-12-19
### Fixed
- One of the digital outputs was inverted.

Binary file not shown.

@ -647,7 +647,7 @@ Disassembly of section .text:
100005f2: 702e strb r6, [r5, #0]
100005f4: 61a2 str r2, [r4, #24]
100005f6: 706e strb r6, [r5, #1]
100005f8: 6163 str r3, [r4, #20]
100005f8: 61a3 str r3, [r4, #24]
100005fa: 70ae strb r6, [r5, #2]
100005fc: 6167 str r7, [r4, #20]
100005fe: f005 fc7f bl 10005f00 <sleep_ms>
@ -4252,7 +4252,7 @@ Disassembly of section .text:
1000252a: 23d0 movs r3, #208 ; 0xd0
1000252c: 2210 movs r2, #16
1000252e: 061b lsls r3, r3, #24
10002530: 619a str r2, [r3, #24]
10002530: 615a str r2, [r3, #20]
10002532: 2301 movs r3, #1
10002534: 465a mov r2, fp
10002536: 7093 strb r3, [r2, #2]
@ -4260,7 +4260,7 @@ Disassembly of section .text:
1000253c: 23d0 movs r3, #208 ; 0xd0
1000253e: 2210 movs r2, #16
10002540: 061b lsls r3, r3, #24
10002542: 615a str r2, [r3, #20]
10002542: 619a str r2, [r3, #24]
10002544: 2300 movs r3, #0
10002546: 465a mov r2, fp
10002548: 7093 strb r3, [r2, #2]

Binary file not shown.

@ -1424,9 +1424,9 @@ Discarded input sections
0x00000000 0xc libi2c_sensor.a(i2c_sensor.cpp.obj)
.ARM.exidx.text._Z8reg_readP8i2c_instjhPhh
0x00000000 0x8 libi2c_sensor.a(i2c_sensor.cpp.obj)
.text 0x00000000 0x0 /tmp/ccSLrF1b.o
.data 0x00000000 0x0 /tmp/ccSLrF1b.o
.bss 0x00000000 0x0 /tmp/ccSLrF1b.o
.text 0x00000000 0x0 /tmp/ccOpVIQq.o
.data 0x00000000 0x0 /tmp/ccOpVIQq.o
.bss 0x00000000 0x0 /tmp/ccOpVIQq.o
.data 0x00000000 0x0 /usr/lib/gcc/arm-none-eabi/7.3.1/thumb/v6-m/libgcc.a(_dvmd_tls.o)
.bss 0x00000000 0x0 /usr/lib/gcc/arm-none-eabi/7.3.1/thumb/v6-m/libgcc.a(_dvmd_tls.o)
.data 0x00000000 0x0 /usr/lib/gcc/arm-none-eabi/7.3.1/thumb/v6-m/libgcc.a(unwind-arm.o)
@ -1748,7 +1748,7 @@ LOAD /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/thumb/v6-m/crt0
.boot2 0x10000000 0x100
0x10000000 __boot2_start__ = .
*(.boot2)
.boot2 0x10000000 0x100 /tmp/ccSLrF1b.o
.boot2 0x10000000 0x100 /tmp/ccOpVIQq.o
0x10000100 __boot2_end__ = .
0x00000001 ASSERT (((__boot2_end__ - __boot2_start__) == 0x100), ERROR: Pico second stage bootloader must be 256 bytes in size)
@ -3336,7 +3336,7 @@ LOAD libLoRa_pico_lib.a
LOAD libLoRa_print.a
LOAD libKISS.a
LOAD libi2c_sensor.a
LOAD /tmp/ccSLrF1b.o
LOAD /tmp/ccOpVIQq.o
LOAD /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/thumb/v6-m/libstdc++.a
LOAD /usr/lib/gcc/arm-none-eabi/7.3.1/../../../arm-none-eabi/lib/thumb/v6-m/libm.a
START GROUP
@ -3461,7 +3461,7 @@ OUTPUT(main.elf elf32-littlearm)
.ARM.attributes
0x0000096e 0x32 libi2c_sensor.a(i2c_sensor.cpp.obj)
.ARM.attributes
0x000009a0 0x22 /tmp/ccSLrF1b.o
0x000009a0 0x22 /tmp/ccOpVIQq.o
.ARM.attributes
0x000009c2 0x1e /usr/lib/gcc/arm-none-eabi/7.3.1/thumb/v6-m/libgcc.a(_dvmd_tls.o)
.ARM.attributes

@ -94,7 +94,7 @@
:1005C000042005F02BF8022005F028F8032005F0A0
:1005D00025F80820D02440212022102300260427BB
:1005E0008046240661626262636267626062A16142
:1005F000F2302E70A2616E706361AE70676105F0BB
:1005F000F2302E70A2616E70A361AE70676105F07B
:100600007FFC4346A7614648A361EE7005F078FC85
:100610004448FFF713FF0FF011FD434B002800D0B3
:100620006FE018704148FFF709FF414D2B681B78B8
@ -594,8 +594,8 @@
:1025000003F0FEFC01235A46A561D370FFF7BCFB24
:10251000D024042524066561FA2003F0F1FC002391
:102520005A46A561D370FFF7AFFBD02310221B06DC
:102530009A6101235A469370FFF7A6FBD02310221D
:102540001B065A6100235A469370FFF79DFBD02368
:102530005A6101235A469370FFF7A6FBD02310225D
:102540001B069A6100235A469370FFF79DFBD02328
:1025500020221B065A6101235A465370FFF794FB51
:10256000C8110110A00E0110D02320221B069A6171
:1025700000235A465370FFF787FBD02340221B06E7

Binary file not shown.

@ -188,7 +188,7 @@ void setup(void)
Status.PowerSupply24V = OFF;
gpio_put(PowerSupply12VControl, 0);
Status.PowerSupply12V = OFF;
gpio_put(PowerSupply5VControl, 1);
gpio_put(PowerSupply5VControl, 0);
Status.PowerSupply5V = OFF;
gpio_put(RelayOffControl, 1);
@ -715,12 +715,12 @@ int main() {
break;
// Switch off 5V power supply
case 34 :
gpio_put(PowerSupply5VControl, 1);
gpio_put(PowerSupply5VControl, 0);
Status.PowerSupply5V = OFF;
break;
// Switch on 5V power supply
case 35 :
gpio_put(PowerSupply5VControl, 0);
gpio_put(PowerSupply5VControl, 1);
Status.PowerSupply5V = ON;
break;
// Switch off relay

Loading…
Cancel
Save