Difference between revisions of "Notes"

From Wiki at Neela Nurseries
Jump to: navigation, search
m
(adding copy of Oresat toolchain.mk make file.:w)
Line 6: Line 6:
 
Topics noted:
 
Topics noted:
  
 +
gdbstl.cmd:
 +
 +
  target extended localhost:4242
 +
 +
toolchain.mk
 +
<pre>
 +
APP_HEXFILE = $(BUILDDIR)/$(PROJECT).hex
 +
GDB_ELF = $(BUILDDIR)/$(PROJECT).elf
 +
OOCD_CFG = oocd.cfg
 +
GDB_OOCD_CFG = gdboocd.cmd
 +
GDB_STL_CFG = gdbstl.cmd
 +
SERIAL_RAW != echo -e "$(SERIAL)"
 +
 +
write: $(APP_HEXFILE) write_ocd
 +
 +
write_ocd:
 +
# openocd -s $(BOARDDIR) -f $(OOCD_CFG) -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"
 +
openocd -s $(BOARDDIR) -f $(OOCD_CFG) -d3 -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"
 +
 +
write_stl:
 +
st-flash --serial=$(SERIAL_RAW) --reset --format ihex write $(APP_HEXFILE)
 +
 +
gdb: $(GDB_ELF) gdb_ocd
 +
 +
gdb_ocd:
 +
$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(BOARDDIR) -ex "target remote | openocd -f oocd.cfg -c 'hla_serial $(SERIAL); gdb_port pipe'" -x $(GDB_OOCD_CFG)
 +
 +
gdb_stl:
 +
$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(TOOLCHAIN) -x ./$(GDB_STL_CFG)
 +
 +
serial:
 +
picocom -b 115200 /dev/serial/by-id/usb-STMicroelectronics_STLINK-V3_$(SERIAL_RAW)-if02
 +
 +
</pre>
 +
 +
 +
---
 
2021 mid-June ordered STM32 dev boards:
 
2021 mid-June ordered STM32 dev boards:
 
   2 NUCLEO-F401RE 3 $13.55 $40.65
 
   2 NUCLEO-F401RE 3 $13.55 $40.65
 
   3 NUCLEO-L432KC 3 $10.54 $31.62
 
   3 NUCLEO-L432KC 3 $10.54 $31.62
  
 +
---
 
Python and barcode scanning,
 
Python and barcode scanning,
 
<ul>
 
<ul>

Revision as of 07:49, 17 June 2021

Neela Nurseries notes jump point started 2019-09-16


Topics noted:

gdbstl.cmd:

  target extended localhost:4242

toolchain.mk

APP_HEXFILE = $(BUILDDIR)/$(PROJECT).hex
GDB_ELF = $(BUILDDIR)/$(PROJECT).elf
OOCD_CFG = oocd.cfg
GDB_OOCD_CFG = gdboocd.cmd
GDB_STL_CFG = gdbstl.cmd
SERIAL_RAW != echo -e "$(SERIAL)"

write: $(APP_HEXFILE) write_ocd

write_ocd:
#	openocd -s $(BOARDDIR) -f $(OOCD_CFG) -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"
	openocd -s $(BOARDDIR) -f $(OOCD_CFG) -d3 -c "hla_serial $(SERIAL); program $(APP_HEXFILE) verify reset exit"

write_stl:
	st-flash --serial=$(SERIAL_RAW) --reset --format ihex write $(APP_HEXFILE)

gdb: $(GDB_ELF) gdb_ocd

gdb_ocd:
	$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(BOARDDIR) -ex "target remote | openocd -f oocd.cfg -c 'hla_serial $(SERIAL); gdb_port pipe'" -x $(GDB_OOCD_CFG)

gdb_stl:
	$(TRGT)gdb -q $(shell pwd)/$(GDB_ELF) -cd $(TOOLCHAIN) -x ./$(GDB_STL_CFG)

serial:
	picocom -b 115200 /dev/serial/by-id/usb-STMicroelectronics_STLINK-V3_$(SERIAL_RAW)-if02


--- 2021 mid-June ordered STM32 dev boards:

 2	NUCLEO-F401RE	3	$13.55	$40.65
 3	NUCLEO-L432KC	3	$10.54	$31.62

--- Python and barcode scanning,


  • Unix cut command example:
   $ grep -n zzz *cal-419* | grep 'NO2 averaged A-to-D' | cut -d" " -f 9
  $ grep -n zzz *cal-421* | grep 'NO2 averaged' >> z--cal-4-2-1--no2-averaged-a-to-d-counts-to-plot.txt



^ QCustomPlot references

Notes and links relating to QCustomPlot sofware, second link here is to the starting or main documentation page for QCustomPlot classes and their relation to Qt classes and code framework:

Code snippet from basic plotting tutorial:

// add title layout element:
customPlot->plotLayout()->insertRow(0);
customPlot->plotLayout()->addElement(0, 0, new QCPTextElement(customPlot, "Way too many graphs in one plot", QFont("sans", 12, QFont::Bold)));


2019-09-23 . . .


Plot building at community garden:


^ Local ecosystems and geology


2019-12-19 Thursday

https://www.stevesupergardens.com/shop/aloe-littlefawn-new-hybrid/



^ plant descriptions to move to NN page

Entry:

    French lavender starts in four-inch starter pots, for sale by Milwaukie area gardener. Selling for three dollars ($3) a start.

    A Mediterranean native, French lavendar (lavendula stoechas) once established is extremely drought tolerant. Under normal conditions in Portland area, no need to water or fertilize this plant after its first year in the ground.

    Likes full sun, and open space with good air circulation. Attracts bumble bees, honeybees, and orchard mason bees.

    This plant grows for several years, it is perennial. Older plants may need be replaced from time to time, if a larger branch or branches should break. Slow to moderate growth rate. Not always able to fill in a void if a branch breaks near the plant's base.

    Cash-only sales and PayPal accepted. If you have questions about these plants feel free to write us and ask.



^ Harry Potter and AllClassical dot Org

11:59 am - Sunday, November 3rd, 2019

Harry Potter and the Half-Blood Prince: Fawkes the Phoenix

Williams, John

Los Angeles Philharmonic

Gustavo Dudamel

DG 002993902
Purchase

11:54 am - Sunday, November 3rd, 2019

Harry Potter and the Sorcerer's Stone (Original Score): Har

Williams, John

Los Angeles Philharmonic

Gustavo Dudamel

DG 002993902
Purchase


^ movie and pop culture



2020-07-08

Excerpt from https://www.history-a2z.com/abandoned-places/13/?xcmg=1 . . .

Fishing Hut On A lake In Germany Deep within the mountains of the Berchtesgaden National Park sits a deserted old fishing hut resting on the waters of the Obersee Lake. By the time it was rediscovered the hut had been completely emptied with no signs as to who the previous owners were or when it was built. Nestled in such beautiful scenery, you can imagine the joy it must be to sit in total peace and quiet and fish from the surrounding waters.

Computer Security

Random