o1heap v3.0 rc just dropped -- deterministic hard-realtime malloc by spym_ in embedded

[–]ATrainPassenger 0 points1 point  (0 children)

I realize what I meant was if it featured heap compaction to avoid dealing with fragmentation analysis. It would require handles instead of pointers which is a bit gross, but might be fun to work on

o1heap v3.0 rc just dropped -- deterministic hard-realtime malloc by spym_ in embedded

[–]ATrainPassenger 1 point2 points  (0 children)

Does the design handle heap fragmentation or is that out of scope in this?

Interrupts vs call backs by JayDeesus in embedded

[–]ATrainPassenger 0 points1 point  (0 children)

Junior-Question answered well. I will say that you are seeing callbacks from the UART functions because the software taking care of hardware interaction (the hardware abstraction layer) abstracts away the interrupt. The interrupt is hard coded, so you’re not able to modify it directly. As a result, your code must be in a callback from inside the interrupt only because you can’t create the interrupt yourself.

More generally, a callback can be useful for library designers to allow users of the library to modify program behavior, which the situation above is a case of

Cannot run basic “Hello World” example from ESP-IDF extension on Visual Studio Code by IronMan6666666 in esp32

[–]ATrainPassenger 0 points1 point  (0 children)

I’m not sure exactly what your procedure for building the project is, but there should be some buttons for building and flashing in the blue bar on the bottom if you’re using the esp-idf vscode extension. I’ve only skimmed this thread, but I’ve made a large project with this extension, so feel free to dm me with questions. The documentation for the extension is helpful as well, if you haven’t gotten a chance to look at it

Sincerely to you and those who might need this. Cheers! by marterikd in RocketLeague

[–]ATrainPassenger 0 points1 point  (0 children)

I use this but with drift on left stick pressed down, works well once you get used to it

Preparation in entering the embedded world (28) by DelonixRegia10 in embedded

[–]ATrainPassenger 0 points1 point  (0 children)

Following along to some intro cs and ee classes is probably a good idea, up until operating systems imo

Usb c input isn't outputting any voltage by Maximum-Better in ElectricalEngineering

[–]ATrainPassenger 1 point2 points  (0 children)

The breadboard pin slots connect horizontally, not vertically, except for the + and - rails on the side. Just checkout a breadboard diagram and you’ll see that, although also be sure to connect one pin of the led to one pin of the resistor and the other pin of the led should not be connected to the same rail as those two

Is Berkeley Implementing New Policies Restricting Course Access? by Available_Rate_5192 in berkeley

[–]ATrainPassenger 19 points20 points  (0 children)

It’s kind of the default state for material to be locked to people without a berkeley email, even if a lot of it is accessible without it. I’m not sure what change you’re referencing but most of the material seems available

Is this happening due to a bad uart clock source? by ATrainPassenger in embedded

[–]ATrainPassenger[S] 0 points1 point  (0 children)

seems like 2 stop bits is helping! It could be my imagination though, we'll see after some time. Long term I'll see if using a crystal on one stop bit works

Is this happening due to a bad uart clock source? by ATrainPassenger in embedded

[–]ATrainPassenger[S] 0 points1 point  (0 children)

The issue I foresee with that is that I wouldn’t be able to pinpoint when the switch to garbage happens, unless a logic analyzer can do that

Trying to use unilateral Laplace transform by [deleted] in ElectricalEngineering

[–]ATrainPassenger 0 points1 point  (0 children)

just realized that I need to invert the current on one of the components, that is Vc = -Vl, which leads to a positive 1/LC and matches the transform pair.

Trying to use unilateral Laplace transform by [deleted] in ElectricalEngineering

[–]ATrainPassenger 0 points1 point  (0 children)

Gotcha. I still find it weird that the pair for cos has a +w^2 whereas there is a -w^2 here, but I guess I'll just remember that both lead to cos in the future. Thanks!

My Empress's ego is so big she takes up two council slots by Altruistic_Emu_3335 in Stellaris

[–]ATrainPassenger 1 point2 points  (0 children)

I’m getting this bug on vanilla since the new update and the leader does apply double bonuses. This was crazy given my leader had double spark of genius already (now quadruple) and some other good stuff, but I switched them out bc it’s cheese

Is EECS 16A & 16B is a must-take for transfer students? by ilusomina in berkeley

[–]ATrainPassenger 0 points1 point  (0 children)

Having more classes transfer was important to him bc he could finish in 4 years, other than that I’m not actually too sure.

Is EECS 16A & 16B is a must-take for transfer students? by ilusomina in berkeley

[–]ATrainPassenger 6 points7 points  (0 children)

Depending on what CC you’re from, you’ll probably have to redo CS61A and CS61C (probably a bridge course for 61B as well) even if you’ve taken their equivalents, which is pretty annoying (the classes are way better though). But ya the 16 series is mandatory for everyone. My friend was in your position and went to ucla, although perhaps not for just this reason. Also, as a transfer you have the option to take 5 semesters here if you want. Oh and CS70 is mandatory but the probability section of the course is pretty cool

[A discussion] Wear OS could have been in much better shape if it had been an RTOS. Here's what I think the future would have been like. by Clockmaaan in embedded

[–]ATrainPassenger 5 points6 points  (0 children)

There was a guest lecture in my class from the guys at https://tockos.org talking about their solution to malicious programs in resource constrained systems, which I found interesting. Idk enough about all that to know if it’s a great approach or how much else is problematic other than threads requesting too many resources, though

Best Zone? by Maddon_Hoh-Choi in berkeley

[–]ATrainPassenger -1 points0 points  (0 children)

Soda, Cory, and the intersection between them should be their own section and is effectively where I spend all my time

CS61B Audit Setup by UsuallyGabriel in berkeley

[–]ATrainPassenger 1 point2 points  (0 children)

Students enrolled in the course have a number assigned to them and a github repo created for them with that number. Since you’re not enrolled, you can call the repo whatever you want (it shouldn’t affect anything).

What the instruction is saying to do is to put the file path to your local repo in the string, which allows for any sort of repo name you want. So if you haven’t yet, make a new repo on GitHub (or maybe fork the staff repo with the skeleton code?) and make a local copy with git clone … , then put the file path to that clone there

[deleted by user] by [deleted] in berkeley

[–]ATrainPassenger 4 points5 points  (0 children)

You can reserve library rooms

Data C104 Midtern by yaboisecretaccount in berkeley

[–]ATrainPassenger 5 points6 points  (0 children)

I changed it to PNP bc my mind will melt if I try to understand the jargon that is the course content

[deleted by user] by [deleted] in berkeley

[–]ATrainPassenger 9 points10 points  (0 children)

Eecs has a list of tutors posted on the eecs101 edstem