commit
3d6123a714
@ -0,0 +1,22 @@
|
|||||||
|
import os
|
||||||
|
import logging
|
||||||
|
|
||||||
|
logger: logging.Logger = logging.getLogger("01")
|
||||||
|
root_logger: logging.Logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
||||||
|
def _basic_config() -> None:
|
||||||
|
logging.basicConfig(
|
||||||
|
format="%(message)s"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
|
def setup_logging() -> None:
|
||||||
|
env = os.environ.get("LOG_LEVEL", "").upper()
|
||||||
|
if env == "DEBUG":
|
||||||
|
_basic_config()
|
||||||
|
logger.setLevel(logging.DEBUG)
|
||||||
|
root_logger.setLevel(logging.DEBUG)
|
||||||
|
elif env == "INFO":
|
||||||
|
_basic_config()
|
||||||
|
logger.setLevel(logging.INFO)
|
@ -0,0 +1,22 @@
|
|||||||
|
# Development Setup for Jetson Nano
|
||||||
|
|
||||||
|
1. Go through the tutorial here: https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit#intro
|
||||||
|
|
||||||
|
2. At the end of that guide, you should have a Jetson running off a power supply or micro USB.
|
||||||
|
|
||||||
|
3. Get network connectivity. The Jetson does not have a WiFi module so you will need to plug in ethernet.
|
||||||
|
If you have a laptop, you can share internet access over Ethernet.
|
||||||
|
|
||||||
|
To do this with Mac, do the following:
|
||||||
|
|
||||||
|
a. Plug a cable from the Jetson Ethernet port to your Mac (you can use a Ethernet -> USB converter for your Mac).
|
||||||
|
|
||||||
|
b. Go to General->Sharing, then click the little `(i)` icon next to "Internet Sharing", and check all the options.
|
||||||
|
|
||||||
|
![](mac-share-internet.png)
|
||||||
|
|
||||||
|
c. Go back to General->Sharing, and turn on "Internet Sharing".
|
||||||
|
|
||||||
|
![](mac-share-internet-v2.png)
|
||||||
|
|
||||||
|
d. Now the Jetson should have connectivity!
|
After Width: | Height: | Size: 470 KiB |
After Width: | Height: | Size: 702 KiB |
Loading…
Reference in new issue