cnlohr / ch32v003fun

Open source minimal stack for the ch32 line of WCH processors, including the ch32v003, a 10¢ 48 MHz RISC-V Microcontroller - as well as many other chips within the ch32v/x line.
MIT License
964 stars 148 forks source link

Move logic for memory split up in boot process. #415

Open cnlohr opened 1 month ago

eeucalyptus commented 1 month ago

Could you elaborate this so that someone could potentially take some workload from your shoulders? ;)

cnlohr commented 6 days ago

Ah, sorry, this has to do with this line of code :

https://github.com/cnlohr/ch32v003fun/blob/master/ch32v003fun/ch32v003fun.c#L1775-L1777

In that it would probably be better for this code to be moved out of system init and into main startup.

cnlohr commented 6 days ago

What do you think?