You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make clean && make ENABLE_TLS=1 ENABLE_HTTPS=1 ENABLE_SSH=1 ENABLE_MQTT=1
803
+
```
804
+
805
+
**Verify build:** Check that strings exist in binary:
806
+
```bash
807
+
strings app.bin | grep "Initializing TLS"
808
+
strings app.bin | grep "Initializing HTTPS"
809
+
strings app.bin | grep "Initializing SSH"
810
+
strings app.bin | grep "Initializing MQTT"
811
+
```
721
812
722
813
### Ethernet Not Responding
723
814
724
815
- Verify physical Ethernet connection
725
-
- Check that host PC is on same subnet (192.168.12.x)
726
-
- Confirm PHY link is up (check serial output for "link" status)
816
+
- Check that host PC is on same subnet
817
+
- Confirm PHY link is up (check serial output for "PHY link: UP")
818
+
- If using DHCP, ensure a DHCP server is available on the network
819
+
- Try pinging the device: `ping <device-ip>`
820
+
821
+
### DHCP Netmask Display Issue
822
+
823
+
**Known Issue:** The DHCP netmask may display incorrectly in UART output (showing gateway IP instead).
824
+
825
+
**Workaround:** The device still functions correctly - the netmask is stored properly internally. This is a display-only issue in the UART output. You can verify correct operation by testing network connectivity.
826
+
827
+
**Example UART output:**
828
+
```
829
+
DHCP configuration received:
830
+
IP: 10.0.4.117
831
+
Mask: 10.0.4.1 <- Shows gateway instead of 255.255.255.0
832
+
GW: 10.0.4.1
833
+
```
834
+
835
+
### HTTPS Content-Length Error
836
+
837
+
If `curl` shows "Invalid Content-Length" error:
838
+
- This is a known issue with the httpd implementation
839
+
- Use `-k` flag: `curl -k https://<device-ip>/`
840
+
- Or access via web browser and accept the self-signed certificate
841
+
842
+
### Build Fails with "arpa/inet.h not found"
843
+
844
+
**Problem:** wolfSSL trying to include system headers
845
+
846
+
**Solution:** Ensure `user_settings.h` contains:
847
+
```c
848
+
#defineWOLFSSL_NO_SOCK
849
+
#defineNO_WOLFSSL_DIR
850
+
```
851
+
These are already in the default `user_settings.h`.
727
852
728
853
### TrustZone Errors
729
854
730
855
If you see `stm32h5x.cpu in Secure state` but built with TZEN=0:
731
856
- The board has TrustZone enabled
732
857
- Either rebuild with `make TZEN=1` or disable TrustZone via option bytes
733
858
859
+
### Compiler Not Found
860
+
861
+
If make fails with "command not found":
862
+
```bash
863
+
# Install ARM toolchain
864
+
sudo apt install gcc-arm-none-eabi
865
+
866
+
# Or specify full path
867
+
make CC=/usr/bin/arm-none-eabi-gcc OBJCOPY=/usr/bin/arm-none-eabi-objcopy
868
+
```
869
+
734
870
## License
735
871
736
872
This code is part of wolfIP and is licensed under GPLv3. See the LICENSE file in the repository root for details.
0 commit comments