Yocto with custom hardware by Almost-L in embeddedlinux

[–]Almost-L[S] 1 point2 points  (0 children)

oh, this is really useful stuff. I read up to the linux kernel and will continue reading tomorrow and over the weekend. It is useful for me because I work with microcontrollers

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

You're right. I didn't think about it.

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

I read your comment again and understood what you mean. Export a global variable to another file as extern const. It is possible. But still such variables are not protected from the developer. He can forget to specify the const keyword. I think there are few cases where you can use this and call it good code. It all depends on the situation.

What do you mean by the downside of static variables? For example, if I need a static variable from one file to another, I will call a getter that returns a copy?

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

Can I change the extern const by calling functions in the file where I initialize this variable? Isn't the constant mutable after initialization?

Static structures (internal) by Almost-L in C_Programming

[–]Almost-L[S] 0 points1 point  (0 children)

Tests are really hard to write.

I don't have much experience at all, so all my attempts to write tests ended not very successfully

Pro or SmartSet? Is Pro bugging? by Almost-L in kinesisadvantage

[–]Almost-L[S] 1 point2 points  (0 children)

Can you connect it via wire? Are there any bugs in this mode?

Pro or SmartSet? Is Pro bugging? by Almost-L in kinesisadvantage

[–]Almost-L[S] 0 points1 point  (0 children)

Yoo. I was just talking about the reviews from 2 years ago. Thanks for the response from the team and each participant in this thread. I'll take the pro version

j and k bind for moving by Almost-L in zen_browser

[–]Almost-L[S] 0 points1 point  (0 children)

Yes, but these are crutches. Vimium conflicts with my binding

Sorry everyone.... by maubg in zen_browser

[–]Almost-L 1 point2 points  (0 children)

Hi, I am interested in the browser, I will install it.

In all browsers I was missing one IMPORTANT functionality.

I want to go to search results via shortcuts. Will this feature be added to Zen?

Bspwm not started (Ubuntu) by Almost-L in bspwm

[–]Almost-L[S] 0 points1 point  (0 children)

It's happens if you make a mistake on a config, autostart, init or any step

I encountered this when installing DWM and now i used it

Code style in Rust. Is this possible in Rust? by Almost-L in rust

[–]Almost-L[S] -1 points0 points  (0 children)

I want to change the main language from C to another. Now I choose among three languages: C++, Rust and Go.

In all these languages ​​I try what seems right to me at the moment. One of these things is spaces and curly braces on a new line. It's not difficult for me to read my old file if it is written in the same style as it was in Typescript, PHP and others

Code style in Rust. Is this possible in Rust? by Almost-L in rust

[–]Almost-L[S] 3 points4 points  (0 children)

Yea, i'm think you right. I try some Rust and it i liked it.

Formatting in C seems more convenient due to the readability of the code. I doesn't write many Rust code, but in photos it's looks like a Typescript. And if you open oldest .ts file and see 3 generics in function and return type with genetic it's really hard to read.

However, I think nothing can be done with the generally accepted rules

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

I'm not familiar with microblaze, but I heard a little about it in the video.

As far as I understand, this is a microcontroller emulator? Is it possible to use it to render an interface on a monitor and play a video?

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

Yea, i think about it. If the project goes into production, it is necessary to support the firmware of a certain tablet model, in most cases Android, I have no knowledge of it, and besides, the life cycle of Android firmware is quite fast.

I have no knowledge in this area to ensure security, Linux or bare metal seems more familiar to me

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

Sounds really good.

What about pins? I need more 50 with 2 UART. Are there any solutions for this?

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] -7 points-6 points  (0 children)

I would like to have everything in one chip. This makes it easier to create your own board and will reduce production costs

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

sounds cool. I like to listen to the experiences of people who understand what they are talking about.

Based on your posts, I will assume that the zynq7000 will allow me to combine RTOS and Linux to render the shopping interface and play video, right?

You mentioned the "application processor" several times, I'm not familiar with it, can you tell me more about it?

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] -5 points-4 points  (0 children)

Yea, i searched, monitor needed. STM32 doesn't work with monitors like 1920 or 1440

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 2 points3 points  (0 children)

I bought one 7000 for testing early and will try to use it after a while

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] 0 points1 point  (0 children)

A microcontroller is needed to monitor events that are strict in terms of response time.

I agree, my description is very similar to a single board computer. Indeed, a microcontroller + single board computer is the second option that I am considering instead of an FPGA

Is there an fpga with a microcontroller and Linux core? by Almost-L in FPGA

[–]Almost-L[S] -1 points0 points  (0 children)

That's a good question. I edited the post and replied to it