Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

todo for 0.0.10 #66

Open
DeqingSun opened this issue Mar 31, 2022 · 1 comment
Open

todo for 0.0.10 #66

DeqingSun opened this issue Mar 31, 2022 · 1 comment

Comments

@DeqingSun
Copy link
Owner

DeqingSun commented Mar 31, 2022

Test and merge #56, need to change register for CH559 and CH549

Test and merge #50

Test and merge keyboard and mouse complex https://github.com/betaEncoder/ch55xduino/tree/ch55xduino/ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB

Add verbose control in wrapper scripts to avoid scaring users. Seems the condition after # if OBJ is a .o file we copy back is different across platforms, may need further check.

if [[ "${OBJ}" == *.o ]] 
work on mac
if [[ ${OBJ%.o} != $OBJ ]]
work both on mac and windows

Fine tune delay microseconds.

Test and update tool for CH375 driver and 2.5.0 bootloader.
Tool working in #65

Add name in c files and examples.

Add more interrupt handler as weak files.


0.0.11

Check if Type system / _Generic fixes is fixed in SDCC.

fix USBSerial_print_ib(P), need 2 parameters


0.0.13

Arduino 1.8.13 uses sed in /usr/bin/sed, while terminal and 2.0.0-rc7 uses /usr/local/bin/sed ("need space ")

update upload tool #76

update sdcc #72


0.0.16

Add RPI support

Update upload tool for config bytes option

Change to Large stack auto model

check

Send Detect: Fail
An error occurred while uploading the sketch

Add options to the upload tool

@DeqingSun
Copy link
Owner Author

DeqingSun commented Apr 17, 2023

Using Math Routines in Interrupt Service Routines (ISRs)

Using Math Routines in Interrupt Service Routines (ISRs)

Function Description Makefile belongings
_mulint.c 16-bit multiplication SOURCES_INT
_divsint.c signed 16-bit division (calls _divuint) SOURCES_INT
_divuint.c unsigned 16-bit division SOURCES_INT
_modsint.c signed 16-bit modulus (calls _moduint) SOURCES_INT
_moduint.c unsigned 16-bit modulus SOURCES_INT
_mullong.c 32-bit multiplication SOURCES_LONG
_divslong.c signed 32 division (calls _divulong)
_divulong.c unsigned 32 division SOURCES_LONG
_modslong.c signed 32-bit modulus (calls _modulong)
_modulong.c unsigned 32-bit modulus

https://sdcc.sourceforge.net/doc/sdccman.pdf

3.8.1.4 Common interrupt pitfall: use of non-reentrant functions

3.12 Support routines for integer multiplicative operators

lib13407.zip

lib13407_mix_regular_autostack.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant