1
0
mirror of https://github.com/rene-dev/stmbl.git synced 2024-12-24 17:42:10 +00:00
Commit Graph

782 Commits

Author SHA1 Message Date
Rene Hopf
9b1cdddd02 fault on hv error 2016-06-20 02:28:36 +02:00
Rene Hopf
5073760051 a and b output in enc_cmd 2016-06-18 22:12:58 +02:00
Rene Hopf
fdae2fb4d0 sserial fault and enable pins, cleanup sserial comp 2016-06-18 22:12:14 +02:00
Rene Hopf
aecd4ad34d Merge branches 'newstuff' and 'newstuff' of github.com:rene-dev/stmbl into newstuff
* 'newstuff' of github.com:rene-dev/stmbl:
  hal foo
  hal foo

* 'newstuff' of github.com:rene-dev/stmbl:
  hal foo
  hal foo
2016-06-17 23:57:46 +02:00
Rene Hopf
cae79e825c encoder index support 2016-06-17 23:57:33 +02:00
crinq
d7aea1727e hal foo 2016-06-17 22:45:21 +02:00
crinq
3905423c70 Merge branch 'newstuff' of github.com:rene-dev/stmbl into newstuff 2016-06-17 22:43:42 +02:00
crinq
14749de56f hal foo 2016-06-17 22:43:37 +02:00
Rene Hopf
706f1c8f35 obj hv 2016-06-17 22:36:22 +02:00
Rene Hopf
e952fce6ce Merge branch 'newstuff' of github.com:rene-dev/stmbl into newstuff 2016-06-17 22:34:18 +02:00
Rene Hopf
02f5e3b735 fixed fault 2016-06-17 22:34:14 +02:00
crinq
fd5aa6de31 Merge branch 'newstuff' of github.com:rene-dev/stmbl into newstuff 2016-06-17 22:33:25 +02:00
crinq
4ad8927c5b hal extern systick 2016-06-17 22:26:12 +02:00
Rene Hopf
0ce4d454fd ac-volt -> pwm_volt 2016-06-17 22:14:30 +02:00
Rene Hopf
f3e0c5ef89 hv fault and enabled pin added to struct 2016-06-17 20:49:40 +02:00
Rene Hopf
a7bf20e1d1 sserial position feedback working 2016-06-17 00:37:30 +02:00
Rene Hopf
f20f6f4d2d sserial fault and enable working 2016-06-15 02:23:05 +02:00
Rene Hopf
227b90f241 enable, overvolt 2016-06-14 22:04:04 +02:00
Rene Hopf
c227b8f3bc force brake release 2016-06-14 21:54:32 +02:00
Rene Hopf
2009e2d6b3 vel_min 2016-06-14 21:53:29 +02:00
Rene Hopf
6d2644a710 renamed conf to getconf to fix conf command 2016-06-14 17:11:52 +02:00
Rene Hopf
5ddec3cf90 dc test 2016-06-11 13:10:26 +02:00
Rene Hopf
6f842704ed clamp acc 2016-06-09 05:30:37 +02:00
Rene Hopf
a15efddcaa disable sat 2016-06-09 01:54:11 +02:00
Rene Hopf
b703a9d52b dc servo support 2016-06-08 21:30:06 +02:00
Rene Hopf
6d711adfb4 Merge branch 'master' into newstuff
Conflicts:
	src/link.c
	src/main.c
2016-06-08 18:39:22 +02:00
crinq
ff976031cb Merge branch 'master' of github.com:rene-dev/stmbl 2016-05-24 00:14:15 +02:00
Rene Hopf
36c9a536cc fix sserial vel_ff properly 2016-05-23 23:27:26 +02:00
crinq
1adde90a8d Merge branch 'master' of github.com:rene-dev/stmbl 2016-05-22 18:13:39 +02:00
crinq
1a5531b68c time pin 2016-05-22 18:13:34 +02:00
Rene Hopf
34f26ad6cc sserial observer vel_ff 2016-05-22 18:09:11 +02:00
Rene Hopf
2c7b0ebc44 Merge branch 'master' into newstuff 2016-05-20 16:43:43 +02:00
Rene Hopf
21c7d6006b pos_cmd pointer fix 2016-05-17 19:06:33 +02:00
Rene Hopf
c1526decd7 fix indentation 2016-05-17 19:04:19 +02:00
Rene Hopf
b40d0eb118 pdm range fix 2016-05-17 19:03:44 +02:00
Rene Hopf
b649756b1b sserial pos_cmd_d fix 2016-05-17 19:03:13 +02:00
Rene Hopf
f0fb0ae3b5 probe comp 2016-05-16 08:24:09 +02:00
Rene Hopf
de22dfea6e smart serial notes 2016-05-11 02:09:22 +02:00
Rene Hopf
ab532a1222 more TODOs 2016-05-11 02:08:49 +02:00
Rene Hopf
19d93cdc64 fix smartserial 2016-05-08 13:05:12 +02:00
Rene Hopf
7ae268d97c vel_ff fix 2016-05-07 10:22:37 +02:00
Rene Hopf
beafbfc676 list pins of hal comp 2016-05-07 10:21:38 +02:00
crinq
f058e2d618 vel ff fix 2016-05-04 13:04:44 +02:00
crinq
fec2056778 observer vel ff 2016-05-04 12:59:46 +02:00
crinq
cdecb35945 hyper fix 2016-05-04 12:59:27 +02:00
Rene Hopf
62e33aa34f hal namespace, typedefs 2016-04-30 20:13:50 +02:00
Rene Hopf
c1c5493994 hal comp loops moved to hal.c 2016-04-30 18:53:39 +02:00
Rene Hopf
11c93babb2 disable waves 2016-04-30 18:52:30 +02:00
Rene Hopf
187968db91 sanyo denki protocol comments 2016-04-28 01:41:38 +02:00
crinq
8db1cfc46d siemens 1fk6 conf 2016-04-23 15:19:44 +02:00
crinq
aece405973 sim += const vel/acc 2016-04-23 05:36:59 +02:00
crinq
34434b98b8 \r -> \n 2016-04-22 13:01:01 +02:00
Rene Hopf
b43eb3a04d comp -> hal_comp 2016-02-22 00:10:32 +01:00
Rene Hopf
3d155d2e59 encs cleanup 2016-02-18 18:14:05 +01:00
Rene Hopf
1c3cd4f23b txen via dma 2016-02-18 17:58:17 +01:00
Rene Hopf
a3f9d1d146 fix sanyo af mapping 2016-02-18 17:39:23 +01:00
Rene Hopf
db523661dc removed old stuff, fixed system type 2016-02-15 15:29:23 +01:00
crinq
9c0cb73b72 fix: obvserver phase lag 2016-02-01 01:08:42 +01:00
crinq
a4eb6a8378 igbt drop compensation 2016-02-01 01:07:13 +01:00
Rene Hopf
ca0ca24618 sim default amp 2016-01-26 07:12:15 +01:00
Rene Hopf
c0f444e57d fix usb prio 2016-01-25 20:05:57 +01:00
Nicolas Reinecke
13fe7e6266 enable compensation cell 2016-01-24 18:50:02 +01:00
Nicolas Reinecke
001cd6bd43 place stm32 usb lib, remove cocox lib, add init code 2016-01-24 18:48:21 +01:00
Rene Hopf
47a35f436e Merge pull request #35 from pl4nkton/remove-printf
replace custom printf_ with buildin printf
2016-01-24 11:39:05 +01:00
Nicolas Reinecke
a8f30e2bd3 remove reimplemented string functions 2016-01-22 19:15:24 +01:00
Nicolas Reinecke
eced6354e3 remove printf_ files and include 2016-01-22 10:49:00 +01:00
Nicolas Reinecke
ea259f75ba fix syscalls? 2016-01-22 10:45:11 +01:00
Nicolas Reinecke
1968af8ae0 replace custom printf_ with buildin printf, fix printf format strings 2016-01-22 10:45:11 +01:00
sync
c34252f49a Change indent. 2016-01-19 17:24:33 +01:00
Nicolas Reinecke
7231958893 use hw crc 2016-01-06 11:36:29 +01:00
Nicolas Reinecke
60c453bb6c Revert "switch to stm32 hw crc unit for code checksum"
stm32 crc unit works different. No idea why it worked while testing this.
Python crc code needs work to make this work.

This reverts commit 8feed27593.
2016-01-05 17:19:20 +01:00
Nicolas Reinecke
8feed27593 switch to stm32 hw crc unit for code checksum 2016-01-03 17:39:41 +01:00
Nicolas Reinecke
0add245f75 fix eeprom emulation - use defines 2016-01-02 22:12:24 +01:00
Nicolas Reinecke
a657f70a2e update to latest library versions, more common structure 2016-01-02 19:24:10 +01:00
Rene Hopf
498d2a77b8 new makefiles 2015-12-30 08:14:51 +01:00
Rene Hopf
46d662b9f2 error out 2015-12-28 15:46:55 +01:00
Rene Hopf
d6a7104171 Introduce end-of-line normalization 2015-12-28 12:52:31 +01:00
crinq
564f9672fb f1 tx dma 2015-12-27 20:53:47 +01:00
crinq
8e7272aa06 f1 tx dma 2015-12-27 20:48:08 +01:00
Rene Hopf
84621c7cd4 troller 2015-12-27 19:16:51 +01:00
Rene Hopf
36d7c0c2df troller dma fix 2015-12-27 17:35:02 +01:00
Rene Hopf
cf1b688290 cpu id 2015-12-26 20:09:58 +01:00
Rene Hopf
40610ab3d5 note 2015-12-14 16:36:05 +01:00
crinq
b73242114e Merge branch 'master' of github.com:rene-dev/stmbl 2015-12-08 03:16:16 +01:00
Rene Hopf
512ba46cbe test 2015-12-03 20:53:58 +01:00
Rene Hopf
b9d84b77f6 test 2015-12-03 20:45:10 +01:00
Rene Hopf
87e78ae8c6 Merge branch 'bootloader'
* bootloader:
  boot loader checks crc
  cry script, 16 and 32 bit cry
  moved shared stuff to shared, sections in linker script
  linker script
  f1 firmware in f4
  f1 sv2 output
  step/dir idea from stackoverflow
  f1 operate adc in spec
  f1 interrupt priority
2015-12-03 11:34:38 +01:00
Rene Hopf
4f320baec8 boot loader checks crc 2015-12-03 11:24:30 +01:00
Rene Hopf
caec4d6593 only show hal error when state changes 2015-12-03 06:46:57 +01:00
Rene Hopf
6e4477d086 cry script, 16 and 32 bit cry 2015-12-02 02:34:17 +01:00
Rene Hopf
6465ea4730 moved shared stuff to shared, sections in linker script 2015-12-02 01:59:17 +01:00
Rene Hopf
27c0ad84fc f1 firmware in f4 2015-11-30 22:39:58 +01:00
Rene Hopf
f9d6362a80 step/dir idea from stackoverflow 2015-11-30 19:08:56 +01:00
crinq
b44b70b593 Merge branch 'master' of github.com:rene-dev/stmbl 2015-11-29 15:48:24 +01:00
crinq
5296075db5 dc_cur_sim lowpass 2015-11-29 15:48:18 +01:00
Rene Hopf
32bc3182e1 hal interface 2015-11-28 09:39:12 +01:00
Rene Hopf
5843780f08 timer fix 2015-11-28 09:13:44 +01:00
Rene Hopf
6b37cb113e enc,res,encm deinit 2015-11-28 08:41:51 +01:00
Rene Hopf
067db1594c enable gpis and dma clocks in setup 2015-11-28 07:32:55 +01:00
Rene Hopf
fca884b821 brake,fan,led -> io.comp 2015-11-28 07:15:10 +01:00
Rene Hopf
a5a9cdde79 comp cleanup 2015-11-28 06:55:38 +01:00
crinq
7bbd968cf5 Merge branch 'bootloader' of github.com:rene-dev/stmbl into bootloader 2015-11-27 20:34:37 +01:00
crinq
850f31bab3 term flash fix, + edge macros, encm error fix 2015-11-27 20:34:29 +01:00
Rene Hopf
ccbbf16fae boot loader version info 2015-11-27 20:16:55 +01:00
Rene Hopf
0c6b0b10cc display HSE 2015-11-27 14:32:26 +01:00
Rene Hopf
da785b6993 reordered comps 2015-11-27 14:32:13 +01:00
Rene Hopf
f049d0ecf3 fix cauto links 2015-11-27 14:13:10 +01:00
Rene Hopf
7bc79bd2e0 save name of last failed link/set 2015-11-27 14:12:40 +01:00
Rene Hopf
abdcc7acf1 include all comps 2015-11-27 14:12:04 +01:00
Rene Hopf
3d9340f5e8 comp update to new init func 2015-11-27 14:11:40 +01:00
Rene Hopf
a12dbd6d07 hal help + cons, save, load 2015-11-26 23:46:30 +01:00
Rene Hopf
294bb9cc0b link cleanup 2015-11-26 22:47:14 +01:00
Rene Hopf
89ea986475 + save/load, + update cmd/fb, link cleanup, main cleanup 2015-11-26 22:41:06 +01:00
Rene Hopf
7123c978ba eeprom emulation working 2015-11-26 17:55:02 +01:00
crinq
856fd8309e hal sort fix 2015-11-26 12:44:17 +01:00
crinq
cc8388cf64 hal sort fix 2015-11-26 12:20:14 +01:00
crinq
3625a8dc19 - term ? 2015-11-26 01:52:21 +01:00
crinq
c3538519bb + hal help 2015-11-26 01:37:41 +01:00
crinq
7ff680e61d hal cleanup, + stop unused frt thread, + term hal error, + calc_time/period, better hal_info 2015-11-26 01:14:56 +01:00
Rene Hopf
101cbcc19b replaced read_float with strtof 2015-11-25 10:45:04 +01:00
crinq
dd779afe4b printf fix 2015-11-25 03:07:57 +01:00
Rene Hopf
d2cc8da84b newlib printf + sysinfo 2015-11-25 02:46:08 +01:00
Rene Hopf
52a6576778 Merge branch 'bootloader' of github.com:rene-dev/stmbl into bootloader
# By crinq
# Via crinq
* 'bootloader' of github.com:rene-dev/stmbl:
  + hal prio, +printf pointer
  sim fix
  +branch info, +hal errors, hal fix

Conflicts:
	src/comps/term.comp
2015-11-25 02:40:52 +01:00
Rene Hopf
58c42f8032 newly syscalls 2015-11-25 02:37:52 +01:00
crinq
84275dd137 + hal prio, +printf pointer 2015-11-25 02:18:50 +01:00
Rene Hopf
cdcdaaa523 usb ifndef 2015-11-24 22:18:19 +01:00
crinq
81e4c3fe75 sim fix 2015-11-24 21:04:20 +01:00
crinq
7d829b5bb5 +branch info, +hal errors, hal fix 2015-11-24 21:03:34 +01:00
Rene Hopf
a8f794791c con pin 2015-11-24 17:04:34 +01:00
Rene Hopf
628bce8069 hal errors 2015-11-24 17:04:15 +01:00
Rene Hopf
688b6b086e add version info 2015-11-24 12:28:25 +01:00
Rene Hopf
0d0d4016e7 started boot loader for f4 2015-11-23 19:25:45 +01:00
Rene Hopf
3afb29007e enable frt only when frt functions are present, add -O1, typos 2015-11-23 14:19:10 +01:00
Rene Hopf
0ba092a65b moved resolver reference setup from setup to res comp 2015-11-23 13:59:00 +01:00
Rene Hopf
f38a220746 yaskawa 2015-11-23 12:57:18 +01:00
Rene Hopf
b1f8503dc2 yaskawa 2015-11-23 10:39:59 +01:00
Rene Hopf
83c228113b comments 2015-11-23 10:24:43 +01:00
Rene Hopf
78529e5f82 pos offset and length 2015-11-21 21:33:54 +01:00
Rene Hopf
af334adf56 yskawa fix 2015-11-20 23:56:47 +01:00
Rene Hopf
e81595c283 yaskawa tut was 2015-11-20 22:24:17 +01:00
Rene Hopf
173936db0a yaskawa comp 2015-11-17 16:14:10 +01:00
Rene Hopf
df3f39fa98 hyperface status 2015-11-14 09:34:10 +01:00
Rene Hopf
c8eb8be5dd hyper hyper! 2015-11-13 21:54:46 +01:00
Rene Hopf
738629183f power, dc cur sim 2015-11-13 02:17:33 +01:00
Rene Hopf
5cf359d756 sincos 2015-11-13 02:17:05 +01:00
Rene Hopf
10721cf6e5 mitsubishi params 2015-11-13 00:18:48 +01:00
Rene Hopf
9cd189a53a kollmorgen params, sim fix 2015-11-12 23:18:23 +01:00
Rene Hopf
b265c5a2e2 berger lahr fix, our rev fix, hv rename 2015-11-12 22:30:55 +01:00
Rene Hopf
599b0e06a2 sincos quadrant 2015-11-12 12:37:03 +01:00
crinq
96ee4559a3 siemens fix 2015-11-11 22:20:57 +01:00