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
| some inconsistency (DST file naming scheme) | |
| - for KV260: `boards/amd/kv260_r5.dts` -> `zynqmp_rpu.dtsi` -> `zynqmp.dtsi` -> `armv7-r.dtis` | |
| - for Versal2: `boards/amd/versal2_rpu.dts` -> `versal2_r52.dtsi` -> `versal2.dtsi` & `armv8-r.dtsi` |
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
| ❯ cat s390x-linux-gnu.cmake | |
| set(CMAKE_C_COMPILER s390x-linux-gnu-gcc) | |
| set(CMAKE_C_COMPILER_ID GNU) | |
| set(CMAKE_CXX_COMPILER s390x-linux-gnu-g++) | |
| set(CMAKE_CXX_COMPILER_ID GNU) | |
| set(ENV{PKG_CONFIG_LIBDIR} /usr/lib/s390x-linux-gnu/pkgconfig) |
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
| !: Bump version to v2.1 | |
| !: CHANGELOG: Add v2.1 section | |
| arch: freertos: Add missing macro includes | |
| arch: freertos: Add newline at EOF to non-source code | |
| arch: posix: Don't check against errno after calling pthread functions | |
| arch: posix: csp_queue: Remove `return` | |
| arch: posix: pthread_queue: Fix pointer arithmetic on void pointer | |
| arch: zephyr: add atomic operation for raspberrypi pico | |
| build-system: Enable -Wpointer-arith on the build system | |
| can: Separate input queues in support for... |
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
| format = """ | |
| [╭─ ](cyan)\ | |
| $username\ | |
| $hostname\ | |
| $container\ | |
| $git_branch\ | |
| $git_status\ | |
| $git_commit\ | |
| $fill\ | |
| $cmd_duration\ |
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
| #!/bin/sh | |
| MY_CACHER= | |
| IFACE=$1 | |
| STATUS=$2 | |
| THE_LINE="Acquire::http::Proxy \"http://$MY_CACHER:3142\";" | |
| THE_FILE="/etc/apt/apt.conf.d/02proxy-ng" | |
| if [ x"$STATUS" = x"up" ]; then |
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
| # | |
| # Setup script for PetaLinux development environment. | |
| # | |
| # Copyright (c) 1995-2022 Xilinx, Inc. All rights reserved. | |
| # Copyright (c) 2022-2024 Advanced Micro Devices, Inc. All Rights Reserved. | |
| # | |
| SETTINGS_FILE='settings.sh' | |
| # The right location will be replaced by the installer | |
| XIL_SCRIPT_LOC="./" |
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 <stdio.h> | |
| #include <stdlib.h> | |
| #include <CL/cl.h> | |
| #define VECTOR_SIZE 1024 | |
| // OpenCL kernel which is run for every work item created. | |
| const char *saxpy_kernel = | |
| "__kernel \n" | |
| "void saxpy_kernel(float alpha, \n" |
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
| /* | |
| * You need pty setup: socat -d -d pty,raw,echo=0,link=/tmp/pty1 pty,raw,echo=0,link=/tmp/pty2 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <pthread.h> |
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
| /* | |
| * You need pty setup: socat -d -d pty,raw,echo=0,link=/tmp/pty1 pty,raw,echo=0,link=/tmp/pty2 | |
| */ | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <stdbool.h> | |
| #include <pthread.h> |
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
| cmake_minimum_required(VERSION 3.20) | |
| project(python_module) | |
| find_package(Python3 COMPONENTS Development.Module) | |
| #Python_add_library(hello MODULE hello.c) | |
| add_library(hello SHARED hello.c) | |
| target_include_directories(hello PRIVATE ${Python_INCLUDE_DIRS}) | |
| target_link_libraries(hello Python3::Module) | |
| set_target_properties(hello PROPERTIES PREFIX "") |
NewerOlder