kopia lustrzana https://github.com/cariboulabs/cariboulite
New RPI distro bookworm kernel install issues solving
reverted to 6.1.21-v8+ added ldconfig to install scriptpull/158/head
rodzic
72946535f8
commit
b07ff0338c
|
@ -12,4 +12,4 @@ add_executable(test_app main.cpp)
|
||||||
target_include_directories(test_app PRIVATE ${CARIBOULITE_INCLUDE_DIRS})
|
target_include_directories(test_app PRIVATE ${CARIBOULITE_INCLUDE_DIRS})
|
||||||
|
|
||||||
# Link against the cariboulite library
|
# Link against the cariboulite library
|
||||||
target_link_libraries(test_app PRIVATE ${CARIBOULITE_LIBRARIES})
|
target_link_libraries(test_app PRIVATE ${CARIBOULITE_LIBRARIES} -lcariboulite)
|
||||||
|
|
|
@ -143,6 +143,7 @@ mkdir -p build && cd build
|
||||||
cmake $ROOT_DIR/software/libcariboulite/
|
cmake $ROOT_DIR/software/libcariboulite/
|
||||||
make
|
make
|
||||||
sudo make install
|
sudo make install
|
||||||
|
sudo ldconfig
|
||||||
|
|
||||||
## --------------------------------------------------------------------
|
## --------------------------------------------------------------------
|
||||||
## Configuration File - RPI /boot/config.txt
|
## Configuration File - RPI /boot/config.txt
|
||||||
|
|
|
@ -17,22 +17,22 @@ extern "C" {
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Time tagging of the module through the 'struct tm' structure
|
* Time tagging of the module through the 'struct tm' structure
|
||||||
* Date: 2023-10-01
|
* Date: 2023-11-27
|
||||||
* Time: 23:20:12
|
* Time: 00:21:16
|
||||||
*/
|
*/
|
||||||
struct tm smi_stream_dev_date_time = {
|
struct tm smi_stream_dev_date_time = {
|
||||||
.tm_sec = 12,
|
.tm_sec = 16,
|
||||||
.tm_min = 20,
|
.tm_min = 21,
|
||||||
.tm_hour = 23,
|
.tm_hour = 0,
|
||||||
.tm_mday = 1,
|
.tm_mday = 27,
|
||||||
.tm_mon = 9, /* +1 */
|
.tm_mon = 10, /* +1 */
|
||||||
.tm_year = 123, /* +1900 */
|
.tm_year = 123, /* +1900 */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Data blob of variable smi_stream_dev:
|
* Data blob of variable smi_stream_dev:
|
||||||
* Size: 34448 bytes
|
* Size: 34448 bytes
|
||||||
* Original filename: /home/pi/projects/cariboulite/driver/build/smi_stream_dev.ko
|
* Original filename: /home/pi/cariboulite/driver/build/smi_stream_dev.ko
|
||||||
*/
|
*/
|
||||||
uint8_t smi_stream_dev[] = {
|
uint8_t smi_stream_dev[] = {
|
||||||
0x7F, 0x45, 0x4C, 0x46, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
0x7F, 0x45, 0x4C, 0x46, 0x02, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||||||
|
|
Ładowanie…
Reference in New Issue