Commit Graph

6 Commits

Author SHA1 Message Date
Eric Wild 2288703527 enable the final slot
The debug uart is shared with slot 7, so in order to use sim slot 7 the
pin config and the uart config needs to be changed. Going back to using
the debug uart works by defining ENABLE_DBG_UART7

Change-Id: I8f3c7c60306941159c35307a5c1e38c2a2bd2fe1
2019-11-28 13:42:16 +01:00
Eric Wild 27f6045e4a no logging, no memory pool
Change-Id: Iaf5123ab0340efec7b8e11e689f529f2e95e31ca
2019-11-28 13:42:16 +01:00
Harald Welte 06348367fa ISO7816-3 FSMs as osmo_fsm
This implements ISO 7816-3 T=0 as three finite state machines using
osmo_fsm.

Change-Id: I0145b77e6165d36d33f18ef3a452f2c37913bd73
2019-10-09 17:58:15 +02:00
Harald Welte b98478a1fe libosmo_emb: Implement _gettimeofday() on simplistic 'jiffies' counter.
We simply use the SysTick timer to count at 1KHz and fill a 64bit jiffies
conunter.  This counter is then used to fill tv_sec and tv_usec in the
gettimeofday() implementation.

NOTE: tv_sec will not indicate the seconds since the epoch (Jan 01,
1970), but rather since system startup.  For the existign users,
particularly osmo_timer, this doesn't matter.

Change-Id: I9dbbb730996bde1e7039f790d76d7243739a8419
2019-05-17 19:19:18 +02:00
Harald Welte 8a534f189b move _gettimeofday() from main.c to libosmo_emb.c
Change-Id: If7f2624a1ddf84fd436670bb8667ad88561c93ae
2019-05-17 19:19:18 +02:00
Harald Welte bdf1b35fbb integrate libosmocore logging into firmware
We do so using our own 'raw' log target to avoid the 4k-on-stack
buffer of libosmocore _output() function.

Change-Id: I7a10b5b2b50bcee0154a1fa3fc43756aec836226
2019-05-17 10:22:00 +02:00