Saturday, June 20, 2026

STM32 Development Log 2: Build fail

 If build fails again with the error:

 

make: *** No rule to make target 'G:/03_NAL/2024_RC_amb/10_controls/STM32Cube/Repository/STM32Cube_FW_H7_V1.12.0/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c', needed by 'Drivers/STM32H7xx_HAL_Driver/stm32h7xx_hal.o'. Stop.

make: *** Waiting for unfinished jobs....

"make -j4 all" terminated with exit code 2. Build might be incomplete.


16:48:08 Build Failed. 2 errors, 0 warnings. (took 34s.189ms)


 Probably becaluse it is still looking for repository. In properties, delete the linked resources looking for old repository files:

 


Friday, June 19, 2026

STM32 Development Log 1: Internet required 4 times= CubeIDE + CubeMX + Firmware H7 download + STLink upgrage

  1.  For STM32 cube IDE version 2.1.1, the stm32cubeMX has to be downloaded separately
  2.  stm32cubeMX is required to open ioc file.
  3. With  stm32cubeMX and ioc file of the board, the stm32halxx.c and stm32halxx.h files have to be generated.
  4. STM32 cube IDE version 2.1.1 will also ask to upgrade the firmware of STLINKV2 . This requires internet. 

Importing project folder from older stm32cube into stm32 2.1.1

  1. File>Import>General>Existing projects into workspace>Next>""G:\03_NAL\2024_RC_amb\10_controls\controlPrograms\20260327_baseBoardTestCodes\BASE BOARD TEST CODES\Switches_LED Demo"" . 
  2. Ensure the project is ticked in the list below 
  3. Ensure "Copy projects into workspace" is ticked. Otherwise the original copy will be edited when i make changes in the ide.
  4. In the project explorer, right click and refresh, then project>clean, then build project. 
  5. Error: 16:15:55 **** Build of configuration Debug for project Switches_LED Demo ****
    make -j4 all
    make: *** No rule to make target 'G:/03_NAL/2024_RC_amb/10_controls/controlPrograms/STM32Cube/Repository/STM32Cube_FW_H7_V1.12.0/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c', needed by 'Drivers/STM32H7xx_HAL_Driver/stm32h7xx_hal.o'.  Stop.
    "make -j4 all" terminated with exit code 2. Build might be incomplete.
  6. The driver c and h files are not in the Drivers  directory at all. 
  7. Double click the ioc file in the project explorer. It will launch the stm32cubeMx software separately.  Enable:Copy only the necessary library files Generate peripheral initialization as a pair of '.c/.h' files per peripheral (optional)

  8.  
  9. Then download the required H7 package. 584 MB, only the firmware packages.  
  10.  After generating code, the folder is populated with driver c and h files.

Tuesday, June 9, 2026

My husband's wife

  1.  Finished in 2 days
  2. Reveals major relationships, roles and details later in the story to keep you in the dark as long as possible. So that i will keep reading to know what happens.
  3. Does not present facts upfront and makes you do detective work like Bleirot. 
  4. Some sentences on the observations of the society are good. 
  5. Relies too much on coincidence. But a good entertainer to spend time in a journey. I wasted productive time though. 

Tuesday, May 5, 2026

Learnings May 5 2026

  • We want to take out heat energy at a high temperature of 300°C from the heat source for efficiency reasons. Water needs to be pressurized to 100 bar to keep it from boiling at this temperature. So we use molten lead or molten sodium that will stay liquid at this temperature without boiling. 
  • The gap between Langley's Aerodrome failure in the lake during launch and Wright brothers' successful flight in 1903 is only 9 days.