Skip to content

Commit

Permalink
Issue 118 - Warp variant buffered write (#123)
Browse files Browse the repository at this point in the history
* Remove redundant parameter for revC

* Fix syntax errors and AMG I2C address (open)

* change some config parameters to primary values

* Update config.h

* update config.h: test bmx055, bme680, mma8451, adxl362

* resolve issues for bmx(mag and acc) and L3G

* Update setup.conf

* add extra codes for AT45DB-enable/add writing function of AT45DB in warpPrint()

* add at45db codes

* clean AT45DB and boot.c and get temporary read and write from the main memory

* some changes at AT45DB

* check point

* checkpoing

* super ugly but works?

* checkpoing

* primary cleaning the codes

* update

* latest changes

* changes to glaux

* latest changes

* latest changes on IS25xP

* checkpoint

* latest changes

* revise the function names

* latest update : have checked the AT45DB R/W add menu in 'z' to write to flash or not

* last update from hamid

* check updates

* added buffered write

* Added append functions to all sensors

* Updated printAllSensors to write raw bytes of measurements

* checkpoint

* works in VLPR, and can work across multipe resets. However, does not work if the battery dies.

* formatted code to an extent

* Reverted hard coded paths to original

* Revered ARMGCC_DIR to original in setup.conf

* Fixed most auto formats with boot.c

* checkpoint

* CSVSTREAM works correctly. Also added way of dealing with full flash.

* Reverted style of devADXL36c

* reverted styling (mostly) of other device files

* Add connect.jlink.commands file to run make connect-warp

* Fixed tabs in AMG8834.c copyright notice

* Added indentation consistency between declarations across spaces in devBMX055.h

* Minor bug

* Minor bug fix in sensor code

* Fixed WarpStatus declaration bug, where it was not declared on top of function

* Moved repeated code to function in devAT45DB.c

* Delete Glaux.srec

---------

Co-authored-by: Hamid Toshani <[email protected]>
Co-authored-by: Phillip Stanley-Marbell <[email protected]>
  • Loading branch information
3 people authored Jul 13, 2023
1 parent b46ccef commit e513082
Show file tree
Hide file tree
Showing 40 changed files with 5,331 additions and 2,316 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,8 @@ load-warp:
load-glaux:
$(JLINKPATH) -device MKL03Z32XXX4 -if SWD -speed 10000 -CommanderScript tools/scripts/glaux.jlink.commands

connect-warp:
$(JLINKPATH) -device MKL03Z32XXX4 -if SWD -speed 10000 -CommanderScript tools/scripts/connect.jlink.commands

clean:
rm -rf build/ksdk1.1/work
3 changes: 2 additions & 1 deletion setup.conf
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
JLINKPATH = <full path to JLink binary>
ARMGCC_DIR = /usr/
ARMGCC_DIR = /usr/

7 changes: 7 additions & 0 deletions src/boot/ksdk1.1.0/Warp-firmware.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"folders": [
{
"path": "../../.."
}
]
}
Loading

0 comments on commit e513082

Please sign in to comment.