$ sudo apt-get install -y bison build-essential curl flex git gnat libncurses-dev libssl-dev zlib1g-dev pkgconf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <libavformat/avformat.h> | |
| #include <libavcodec/avcodec.h> | |
| #include <libavutil/imgutils.h> | |
| #include <libavutil/time.h> | |
| #include <SDL2/SDL.h> | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #define RTSP_URL "rtsp://172.32.0.93:554/live/0" |
| PICO BOARD | NUC120DBG |
|---|---|
| PIN2 (GPIO1): nRST | PIN4: nRST |
| PIN4 (GPIO2): SWD_CLK | PIN3: SWDCLK |
| PIN5 (GPIO3): SWD_DAT | PIN2: SWDDAT |
| PIN36: 3V3 | PIN1: VCC_3V3 |
| PIN38: GND | PIN5: GND |
(venv)$ progen generate -t cmake_gcc_arm -p m48ssidae_numaker_pfm_m487km_if -o generator=ninja -b
progen.generate INFO Generating cmake_gcc_arm for m48ssidae_numaker_pfm_m487km_if
-- The C compiler identification is GNU 10.3.1
-- The CXX compiler identification is GNU 10.3.1
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/arm-none-eabi-gcc
-- Detecting C compiler ABI infolist my meshtastic devices
$ meshtastic --ble-scan --nodes
INFO file:ble_interface.py scan line:116 Scanning for BLE devices (takes 10 seconds)...
Found: name='Meshtastic_2b38' address='XX:XX:XX:XX:XX:XX'
Found: name='Meshtastic_221c' address='XX:XX:XX:XX:XX:XX'
Found: name='Meshtastic_5250' address='XX:XX:XX:XX:XX:XX'kunyi@kunyi-TP-P53:/tmp/pico-examples$ mkdir build
kunyi@kunyi-TP-P53:/tmp/pico-examples$ cd build/
kunyi@kunyi-TP-P53:/tmp/pico-examples/build$ cmake .. -DPICO_PLATFORM=rp2350 -DPICO_BOARD=pico2 -DPICO_SDK_PATH=/tmp/pico-sdk -DPICO_EXAMPLES_PATH=/tmp/pico-examples
PICO_SDK_PATH is /tmp/pico-sdk
Target board (PICO_BOARD) is 'pico2'.
Using board configuration from /tmp/pico-sdk/src/boards/include/boards/pico2.h
Pico Platform (PICO_PLATFORM) is 'rp2350-arm-s'.
Defaulting compiler (PICO_COMPILER) to 'pico_arm_cortex_m33_gcc' since not specified.
Configuring toolchain based on PICO_COMPILER 'pico_arm_cortex_m33_gcc'
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kunyi@kunyi-TP-P53:/tmp/blink$ idf.py -p /dev/ttyUSB0 flash monitor | |
| Executing action: flash | |
| Running ninja in directory /tmp/blink/build | |
| Executing "ninja flash"... | |
| [1/5] cd /tmp/blink/build/esp-idf/esptool_py && /home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/... --offset 0x8000 partition --type app /tmp/blink/build/partition_table/partition-table.bin /tmp/blink/build/blink.bin | |
| blink.bin binary size 0x2b230 bytes. Smallest app partition is 0x100000 bytes. 0xd4dd0 bytes (83%) free. | |
| [1/1] cd /tmp/blink/build/bootloader/esp-idf/esptool_py && /home/kunyi/.espressif/python_env/idf5.3_py3.10_env/bin/py...omponents/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 /tmp/blink/build/bootloader/bootloader.bin | |
| Bootloader binary size 0x6880 bytes. 0x780 bytes (7%) free. | |
| [4/5] cd /home/kunyi/esp-idf/components/esptool_py && /usr/bin/cmake -D IDF_PATH=/home/kunyi/esp-idf -D "SERIAL_TOOL=...@flash_args" -D WORKING_DIRECTORY=/tmp/blink/build -P /home/kunyi/esp-idf/components/esptool_py/run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| AMLI(? for help)-> g | |
| g | |
| If(Arg0=0x5) | |
| ffffbd07d39b7e8e: | { | |
| ffffbd07d39b7e8e: | | \_SB_.TPM_.TPTS(Arg0=0x5) | |
| ffffbd07d3b28142: | | { | |
| ffffbd07d3b28142: | | | Name(_T_0,Zero) | |
| ffffbd07d3b28148: | | | While(One) | |
| ffffbd07d3b2814c: | | | { | |
| ffffbd07d3b2814c: | | | | Store(ToInteger(Arg0=0x5,)=0x5,_T_0)=0x5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [NOTE ] coreboot-24.05-707-gc64bf8155bc3-dirty Tue Aug 06 14:33:11 UTC 2024 x86_32 bootblock starting (log level: 8)... | |
| [DEBUG] CPU: Intel(R) N100 | |
| [DEBUG] CPU: ID b06e0, Alderlake-N Platform, ucode: 00000017 | |
| [DEBUG] CPU: AES supported, TXT NOT supported, VT supported | |
| [INFO ] Cache: Level 3: Associativity = 12 Partitions = 1 Line Size = 64 Sets = 8192 | |
| [INFO ] Cache size = 6 MiB | |
| [DEBUG] MCH: device id 461c (rev 00) is Alderlake-N | |
| [DEBUG] PCH: device id 5481 (rev 00) is Alderlake-N SKU |
NewerOlder