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
This project uses arduino-pico core for debugging RP2040-based Arduino Pico programs with local modifications.
3
+
This repository was initially set as a testbed for debugging and validating fixes for two bugs in the Raspberry Pi Pico SDK. Over time, it evolved into a dedicated environment for developing and testing the async-tcp library.
The repository is now focused on testing and demonstrating the async-tcp library, which provides an event-driven, thread-safe TCP client abstraction for the RP2040 platform using async_context and lwIP.
The arduino-pico core is configured in [platformio.ini](https://docs.platformio.org/en/latest/projectconf/index.html#platformio-ini-project-configuration-file) via [platform_package](https://docs.platformio.org/en/latest/projectconf/sections/env/options/platform/platform_packages.html#platform-packages) option, pointing to the [local folder](https://docs.platformio.org/en/latest/core/userguide/pkg/cmd_install.html#local-folder) and “Symbolic Link” feature:
2. Generates boot stage 2 code for different flash chips
51
-
3. Produces required build artifacts for both RP2040 and RP2350
26
+
3.**Build and monitor with PlatformIO:**
52
27
53
-
For detailed build steps, see [make-libpico.sh](https://github.com/schkovich/arduino-pico/blob/execute-sync%407c51742/tools/libpico/make-libpico.sh) in the arduino-pico core.
28
+
```sh
29
+
pio run
30
+
pio device monitor
31
+
```
32
+
33
+
For instructions on using async-tcp in a new project, see the [async-tcp README](lib/async-tcp/README.md).
34
+
35
+
## Project Structure
36
+
37
+
```plaintext
38
+
├── lib
39
+
│ └── async-tcp # async-tcp library as a submodule
40
+
├── scripts # Debug scripts
41
+
├── src # Application source code
42
+
└── docs # Documentation
43
+
```
54
44
55
-
### Development Workflow
45
+
## Notes
46
+
- The repo was formerly named `pico-sdk-tests`.
47
+
- The original pico-sdk bugfixes are now upstream and no longer require local patching.
48
+
- The async-tcp library is under active development and testing here.
56
49
57
-
- Pico SDK and async_context are pre-built statically linked to the project
58
-
- The project is built using [PlatformIO](https://docs.platformio.org/en/latest/core/index.html)
59
-
- Debug using CMSIS-DAP probe
50
+
For more details, see The [Application Workflow](docs/workflow.md).
- System crashes trying to read from invalid address
127
137
128
-
This analysis shows how a stack-based UAR vulnerability manifests through linked list corruption, where the crash occurs during list traversal rather than during worker execution.
138
+
This analysis shows how a stack-based UAR vulnerability manifests through linked list corruption, where the crash occurs
139
+
during list traversal rather than during worker execution.
0 commit comments