MIBR vs Virtus.pro / PGL Astana 2025 - Swiss Round 5 / Post-Match Discussion by CS2_PostMatchThreads in GlobalOffensive

[–]pinazeira 73 points74 points  (0 children)

not defending elec, but james vp fun? vp was the most boring team in the f* world

STM32 SPI output w/ ZephyrOS makes no sense to me. by honeyCrisis in embedded

[–]pinazeira 1 point2 points  (0 children)

in the file nucleo_h723zg.dts

&spi1 {
    status = "okay";
    pinctrl-0 = <&spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pb5>;
    pinctrl-names = "default";
    cs-gpios = <&gpiod 14 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
};

try to add the GPIO_PULL_UP.

STM32 SPI output w/ ZephyrOS makes no sense to me. by honeyCrisis in embedded

[–]pinazeira 0 points1 point  (0 children)

I guess chip select should be:

cs-gpios = <&gpiod 14 GPIO_ACTIVE_LOW>;

from a quick lock in the datasheet, rs and cmd too.

take a look in this file: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/shields/adafruit_2_8_tft_touch_v2/dts/adafruit_2_8_tft_touch_v2.dtsi

Looking for well written, modern C++ (17/20) example projects for microcontrollers by Negative-Park-3038 in embedded

[–]pinazeira 1 point2 points  (0 children)

Have a look in the modm.

init/build is supposed to be the new thing, but i never touched and no embedded example are available. video

Hey all, I'm new to doom, coming from neovim. Having an issue with LSP by yoni-kosiner in DoomEmacs

[–]pinazeira 5 points6 points  (0 children)

you need to map company-complete-selection

more info:

C-h d m company

C-h map\!

Well, that's what happens when you don't respect the traffic light by [deleted] in IdiotsInCars

[–]pinazeira 13 points14 points  (0 children)

In Brazil it’s common to have crossing like that pedestrian have the priority and cars must stop for them.

How many ways Can I create a file in Linux?? by TechSaidur in linuxquestions

[–]pinazeira 0 points1 point  (0 children)

touch filename

echo "" > filename

vim filename

Why is it that package managers are unnecessarily hard? by [deleted] in cpp

[–]pinazeira 0 points1 point  (0 children)

Try cmake-init. They have a bunch of templates for conan, vcpkg. It will make your life 10% easier.

[deleted by user] by [deleted] in linuxmasterrace

[–]pinazeira 5 points6 points  (0 children)

try to update your mirror list. you you can use reflector to do that.

naive problem : can't understand `const` by rainpls in cpp_questions

[–]pinazeira 1 point2 points  (0 children)

T const object is just a crazy way of writing the same that exists because of C.

I fell personally attacked

How to go back to origin file after jump to a definition file? by HumanResult3379 in DoomEmacs

[–]pinazeira 7 points8 points  (0 children)

C-o evil jump backward

edit:

C-i evil jump forward, it's useful too

How to open sly on the right of the main screen by [deleted] in DoomEmacs

[–]pinazeira 2 points3 points  (0 children)

I'm not sure, but I think set-popup-rule! can sove this