Skip to content

Commit 58e5325

Browse files
committed
remove explicit path
1 parent 95d36c7 commit 58e5325

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ yarn.lock
4949
framework/docs/html/
5050

5151
# === code counter ===
52-
.VSCodeCounter/
52+
.VSCodeCounter/
53+
54+
# === vscode ===
55+
**/.vscode/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ PicoFramework follows a clear and minimal philosophy:
118118
Clone the framework and build an example:
119119
120120
```bash
121-
git clone https://github.com/ianarchbell/Pico-Framework.git
121+
git clone https://github.com/Pico-Framework/pico-framework.git
122122
cd Pico-Framework/examples/hello_framework
123123
# Follow the README inside each example for specific build/setup instructions
124124
```
@@ -210,7 +210,7 @@ PicoFramework is released under the **MIT License** to maximize adoption, contri
210210
## Contribute or Contact
211211

212212
Want to contribute or collaborate? Open an issue or pull request on GitHub, or email us at:
213-
📩 [ian@archbell.com](mailto:ian@archbell.com)
213+
📩 [ian@pico-framework.com](mailto:ian@pico-framework.com)
214214

215215
---
216216

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We will begin formal vulnerability triage and patching policies starting with v1
1111
If you discover a security vulnerability in Pico-Framework:
1212

1313
- Please **do not open a GitHub issue**
14-
- Instead, email Ian Archbell directly at **ian.archbell@gmail.com**
14+
- Instead, email Ian Archbell directly at **ian@pico-framework.com**
1515
- Provide as much detail as possible, including reproduction steps
1616

1717
We will acknowledge all valid reports within 48 hours and aim to resolve critical issues promptly.

tests/embedded/CMakeLists.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,15 @@ set(PICO_CXX_ENABLE_EXCEPTIONS 1)
3232

3333
pico_sdk_init()
3434

35-
set(PICO_FRAMEWORK_DIR /Users/ianarchbell/Documents/pico-framework)
35+
# Try to set PICO_FRAMEWORK_DIR from environment, or default to relative
36+
if(NOT DEFINED PICO_FRAMEWORK_DIR)
37+
if(DEFINED ENV{PICO_FRAMEWORK_DIR})
38+
set(PICO_FRAMEWORK_DIR $ENV{PICO_FRAMEWORK_DIR})
39+
else()
40+
set(PICO_FRAMEWORK_DIR ${CMAKE_CURRENT_LIST_DIR}/../..)
41+
endif()
42+
endif()
43+
3644
set(FRAMEWORK_DIR ${PICO_FRAMEWORK_DIR}/framework)
3745
set(FREERTOS_FAT_CLI_DIR ${FRAMEWORK_DIR}/lib/FreeRTOS-FAT-CLI-for-RPi-Pico/src/)
3846
set(TESTS_DIR ${PICO_FRAMEWORK_DIR}/tests)

0 commit comments

Comments
 (0)