Commit f4fb7a7
committed
Fix RP2040 Hash.h conflict with Crypto-no-arduino library
The existing ESP8266 workaround detects when Crypto-no-arduino's Hash.h
is included instead of the framework's Hash library (by checking the
CRYPTO_HASH_h guard) and re-includes the correct one. Extend this to
RP2040/RP2350 platforms which use the same framework Hash library for
sha1().
Also declare Hash as a dependency for the raspberrypi platform in
library.json so PlatformIO resolves it correctly.1 parent 4138937 commit f4fb7a7
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments