tenbaht / sduino

An Arduino-like programming API for the STM8
http://tenbaht.github.io/sduino/
GNU Lesser General Public License v2.1
351 stars 218 forks source link

Request: board support for stm8s003f3p6 #78

Closed aghfars closed 4 years ago

aghfars commented 5 years ago

please add support for stm8s003f3p6 on arduino ide

mcer12 commented 5 years ago

stm8s003f3p6 is already supported, have you tried it?

aghfars commented 5 years ago

image this pic from my board in board manger. no it isn't here. where can i found it?

mcer12 commented 5 years ago

use stm8s103

aghfars commented 5 years ago

i need to program stm8s003 not stm8s103 you mean i use stm8s103 to prgram stm8s003 ?

mcer12 commented 5 years ago

Yes

Dne st 4. 9. 2019 17:18 uživatel aghfars notifications@github.com napsal:

i need to program stm8s003 not stm8s103 you mean i use stm8s103 to prgram stm8s003 ?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/tenbaht/sduino/issues/78?email_source=notifications&email_token=AIAMMAI54TRJWQH5POUJDPDQH7GVZA5CNFSM4ITAGQOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5354MA#issuecomment-527949360, or mute the thread https://github.com/notifications/unsubscribe-auth/AIAMMAKDN64SKSAMMKAUTFDQH7GVZANCNFSM4ITAGQOA .

aghfars commented 5 years ago

yes its worked. I am not sure but i think it have problem with eeprom because its not same.!!!!!! and how to set output to push/pull mode?

tenbaht commented 4 years ago

The '003 and the '103 are almost identical. The only difference I am aware of is the size of the EEPROM (128 bytes vs. 640 bytes). Just set the board manager for STM8S103 and start compiling. (and don't try to use EEPROM locations > 127 or > 0x7f). Since this question keeps popping up I added this to the project website: https://tenbaht.github.io/sduino/hardware/stm8s003/