DMKitsch

u/DMKitsch



r/AskElectronics•

Hey guys,

Pretty much the title question. I've got some connectors I want to prevent from separating under normal use. I'm thinking of using something like that white gunk used on big components to stop them from being fatigued and causing damage.

Anybody know what to be searching for or any model numbers? Contemplating hot glue, but could do with something I can apply without a glue gun/power

Thanks!

113

r/cmake•

I've got a project with an application layer and various libraries that need to link to one of two peripheral libraries depending on the executable being built. This is so one codebase can compile for two microcontrollers

These two peripheral libraries share a common interface to the application and other libraries but otherwise are completely separate implementations

I tried having a common library name (BSP), then selectively including one or the other directories containing the implementations. I created a definition with target_compile_definitions(gd PUBLIC GD) and then using

if(DEFINED GD) 
    add_subdirectory(GD)
else()
    add_subdirectory(ST)
endif()
21

r/cmake•

Apologies if this is the wrong subreddit, I guess it could go under multiple.

I am using CMake for an arm project and have a weird requirement that the first 512K of flash is an order of magnitude faster than the other 2.5MB. Therefore I want to make sure that the interrupt routines and a couple of libraries such as mbedTLS are in this first 512K section.

The way to do this would be two linker sections, and define the individual function's section via the following (maybe non-standard) attribute

__attribute__ ((section(".flashA")))

However this isn't really viable for an entire library such as mbedTLS. Is there any way to make an entire CMake library link into a different section ot

12


r/chia•

Hey,

So I'm unconvinced I'm actually farming my plots at the moment as I can't find any instances of "eligible" in my logs. Now is this just because I haven't found anything as of yet, or is there something else going on.

These plots have been created between three different computers, all with the same mnemonic but I haven't copied over/shared any keys from the .chia directory, would this explain the issue?

I'm using the CLI and starting the farmer with "chia start farmer", which initialises the node, wallet and harvester too. Furthermore the farming status says Farming, I'm just unconvinced anything is actually happening. There doesn't seem to be anything too suspicious in the logs eith

24

r/arm•

Hey,

Basically I'm trying to profile a firmware image I've compiled (with debug symbols) to get an idea on how much ROM and RAM certain parts of the system use. The current project is compiled with cmake and the arm toolchain, with major libraries built separately and linked together at the end.

I realise there are some tools (nm etc) that can extract the sizes of all the symbols from the image, but is there a GUI I can use/load the data into so I can see it a bit more graphically to make sense of it a bit easier?

Thanks for any help you can offer, Dave

44

r/zfs•

Hi,

So I set up a couple of ZFS mounts for my new file server yesterday and I was over the moon with it. I've just logged in and found one of my entire ZFS mount's contents replaced with a single folder "New Folder". This may have been something careless I did but I'm unsure.

I've tried rolling back through all the snapshots zfs-autosnapshot has made without any luck, and deleted my newer ones in the process I think.

The only saving grace I have is a zfs list shows that Data/Documents is still 28GB

NAME             USED  AVAIL     REFER  MOUNTPOINT
Data             346G  1.42T      108K  /Data
Data/Backup     95.3G  1.42T     95.3G  /Data/Backup
Data/Documents  28.7G  1.
319

r/hackintosh•

I've loaded the prebuilt SSDT's that dortania recommended, and also tried making my own using ssdttime with similar results. If anyone has any suggestions on where to look next it would be greatly appreciated. It seems to vary between doing a kernel panic with hard reboot and halting on the image I've shown below.

One thing that does pop out is the 16 processors. I guess that could be due to a bad ACPI load, but there should only be 4 (or 8 with HT).

Sanity check: https://opencore.slowgeek.com/?file=laptopcoffeelakeplus06654sfbY&rs=laptopcoffeelakeplus066

EFI folder: http://s000.tinyupload.com/?file_id=07518525964965327503

config.plist: https://pastebin.com/h0iJGpiG

opencore log:

28

r/Focusrite•

Trying to get my Saffire Pro 14 hooked up. Managed to get sound output working on one boot, but not had any luck since.

I can control everything in the command center, it syncs, but there is no audio coming into the control panel. On the sound preferences, it just says "The selected device has no output controls", but this may be normal too. In the Audio Devices, I see all the outputs and inputs, but the sliders are completely greyed out and unusable.

Focusrite have come out and said they haven't tested it properly as they're depreciating the line, but I can hope someone has had more luck than I...

12


r/originalxbox•

Are there actually any hardware differences between the retail and debug Xboxes other than the 128MB of RAM? If I'm happy that my Xbox will never play retail games again, can I tsop flash a stock/custom debug bios to it, giving it the capability to be wiped remotely and rebuilt using the standard Xbox recovery utilities? It's mentioned in many places never to use the recovery utilities as it will flash a new bios to it rendering it a brick, is this true? Perhaps the stock debug bios will fail to post without the 128MB of RAM?

Any input is appreciated, D

14

r/originalxbox•

I'm currently porting the latest version of ScummVM to the original Xbox. The way it's laid out is each engine is it's own project that's compiled into a static library, to be linked together with the ScummVM project.

However as far as I can tell, Visual studio 2003 doesn't support configuration inheritance, so changing a parameter means I'm having to edit every project manually, and it's really easy to become unsynchronised with the settings. Is there a way around this that anybody can think of?

Further, the code is littered with printf commands, which I guess are currently being piped nowhere? Is there any way to view the output of these commands in my debugger session? I'm thinking wor

30

r/ps3hacks•

Hey,

I've installed rebug lite 4.86.1 CFW onto my PS3 to explore the homebrew scene but I'm still keen to play unmodified games online with PSN. To accomplish that I've installed PSNPatch and PSNinja and run them both before signing into PSN. People say it's still only a matter of time before I'm detected so is there anything else I should be doing when I go online?

I'm surprised it isn't easier to detect CFW activity and ban more people just by checking the installed version strings, or filesystem contents?

Finally I was wondering whether the installation of webman would increase the chances of being caught as there is, I assume another process running in memory that could be detected?

23